keyboard
Hook and simulate global keyboard events on Windows and Linux. (by boppreh)
scapy
Scapy: the Python-based interactive packet manipulation program & library. Supports Python 2 & Python 3. (by secdev)
Our great sponsors
keyboard | scapy | |
---|---|---|
28 | 26 | |
3,660 | 9,947 | |
- | 2.1% | |
0.0 | 9.3 | |
14 days ago | 4 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
keyboard
Posts with mentions or reviews of keyboard.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-21.
-
Cross-platform hotkeys and hotstrings?
If you needed a cross-platform solution today, I would recommend looking into Python and some of its related ecosystem, such as the keyboard package, which provides cross-platform hotkey support and keyboard automation, including 'word listeners' and its companion module mouse.
-
Help please
Operating System: windows 7 Python Version: 3.8.8 Keyboard: Logitech k200 IDE: pycharm community edition Module: keyboard module latest version Module Link: https://github.com/boppreh/keyboard Pip Version: Latest
-
AHK is NOT user friendly
It's basically two lines of code in Python with the keyboard module:
-
Detecting Key Press in SSH Session
Pynput does not work because there is no X connection (i.e., no display connected to the RPi). The keyboard module also does not work because, based on what I found, since the key inputs are sent through SSH (vs. a keyboard directly connected to the RPi), the keys pressed on my main computer are sent as text, not key presses (see here).
-
Python bot draws a picture using /setblock (Took 2.5 hours to draw a 256x256 image; GitHub in bio)
Did you use a library? It shouldn't need a delay. I used the keyboard module
-
Keyboard over SSH
AFAICT from taking a quick look at the source code of that module (especially this part), it does seem to access the input device nodes directly. If you want to provide input remotely, then that is not that helpful.
-
I am a proficient Python coder whose learning has plateaued. Any really useful libraries I should look into learning? Taking recommendations.
And here are some libraries that might pique your interest although they don't strictly answer your question: - tqdm for adding a progress bar on for loops (it comes with useful information like iteration per second and estimated time needed to finish) - alive_progress adds a progress bar like tqdm, but it works even with generators and while loops which I don't think tqdm does. -timebudget, with just a decorator as soon as a function is completed it prints the time taken to execute it - send2trash for sending files to the trash bin instead of permanently deleting them - keyboard for sending keyboard inputs or check if a key is pressed - mouse same as keyboard but with mouse buttons - textract for extracting text from many types of file with a single interface. It supports documents, powerpoint presentations, csv, excels, images, gifs, audio, and many more
-
What is a problem/minor pet peeve you have with Linux that you wish would get fixed?
https://github.com/boppreh/keyboard/issues/420#issuecomment-770271002
Yep, but that doesn't stop the library from throwing an exception if you're not running as root.
scapy
Posts with mentions or reviews of scapy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-15.
-
Seven Python Projects to Elevate Your Coding Skills
Example Network Scanner Scapy
-
Python Networking: TCP and UDP
In the last installment we looked at IP headers. One thing you might have seen missing is the port numbers. That's pretty important for making an internet connection. Well it turns out that IP tends to encapsulate other protocols (which is why it has protocol as part of the header). In this article we'll be looking at two popular protocols for internet traffic: TCP and UDP. Before we begin though install scapy which we'll be using to make things easier, and dnslib that will be used during the UDP section:
- What are the most underrated python libraries?
-
Is it possible to send raw data over an IP network, not encapsulated in TCP or UDP?
Scapy: https://github.com/secdev/scapy
-
Spending spring days crafting packets at NahamCon 2022
scapy for packet manipulation
-
This Week in Python
scapy – the Python-based interactive network packet manipulation program & library
- How do I properly contribute to someone's repo?
-
Pros and Cons of Rust for Cybersecurity
But, due to the young ecosystem, Rust isn't often the best choice for the 2nd category. There are exceptions: while working on a ROP exploitation CLI tool, I was surprised to find the top 3 fastest x86-64 disassemblers are all written in Rust. But other languages just have more mature security ecosystems. Python in particular has some amazing libraries like scapy and bindings for yara.
-
Awesome Penetration Testing
scapy - Python-based interactive packet manipulation program and library.
-
What's the "best" coding language to know/learn?
You can also manipulate them in higher languages or scripting such as Python. Check out Scapy as a good example of constructing packets from scratch. Python is powerful and also worth learning.
What are some alternatives?
When comparing keyboard and scapy you can also consider the following projects:
pyshark - Python wrapper for tshark, allowing python packet parsing using wireshark dissectors
pySerial - Python serial port access library
impacket - Impacket is a collection of Python classes for working with network protocols. [Moved to: https://github.com/SecureAuthCorp/impacket]
PyUserInput - A module for cross-platform control of the mouse and keyboard in python that is simple to install and use.
RustScan - 🤖 The Modern Port Scanner 🤖
elmocut - Eye candy ARP spoofer for Windows
wifi
NetStalker - A network tool to control the bandwidth over your local network.
Astro Pi - Team Jakopičevca - Programs for Astro Pi - Mission Space Lab - Team Jakopičevca
nfstream - NFStream: a Flexible Network Data Analysis Framework.