Python Hardware

Open-source Python projects categorized as Hardware | Edit details

Top 23 Python Hardware Projects

  • GitHub repo scapy

    Scapy: the Python-based interactive packet manipulation program & library. Supports Python 2 & Python 3.

    Project mention: Scapy | | 2021-11-19

    Scapy is a powerful, interactive Python2/3 packet-manipulation program that can forge or decode packets for a wide array of protocols, send & capture them, match requests with replies and more. Easily handles tasks like scanning, tracerouting, probing, unit tests, attacks and network discovery so it can replace hping, most of nmap, arpspoof, arp-sk, arping, tcpdump, tshark, p0f, etc. Also performs specific tasks most other tools can’t handle, like sending invalid frames, injecting your own 802.11 frames and combining technics. Our thanks for this suggestion go to lazyjk.

  • GitHub repo keyboard

    Hook and simulate global keyboard events on Windows and Linux.

    Project mention: Help please | | 2022-01-18

    Operating System: windows 7 Python Version: 3.8.8 Keyboard: Logitech k200 IDE: pycharm community edition Module: keyboard module latest version Module Link: Pip Version: Latest

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo pySerial

    Python serial port access library

    Project mention: Is it possible to install `pip` or pyserial on LibreELEC 10? | | 2021-10-26

    # Download pyserial to ~/ cd ~/ wget -O pyserial-3.4.tar.gz # Create a temp dir to do the work in export tmp_dir=~/install_temp/ mkdir $tmp_dir cd $tmp_dir # Extract and install pyserial tar -xvf ~/pyserial*.tar.gz cd pyserial* python install --user # Clean-up cd ~/ rm $tmp_dir/ -Rf

  • GitHub repo WireViz

    Easily document cables and wiring harnesses

    Project mention: Are there any good CAD packages for designing cable assemblies and interconnects? I'm struggling with designing and documenting a bunch of interconnects. | | 2021-05-11

    WireViz may interest you

  • GitHub repo pyusb

    USB access for Python

    Project mention: 5% of 666 Python repos had comma typo bugs (inc V8, TensorFlow and PyTorch) | | 2022-01-07
  • GitHub repo glasgow

    Scots Army Knife for electronics

    Project mention: SuperH | | 2021-12-07

    This post is so timely!

    Does anybody in this thread have details about the H-UDI proprietary SH4 JTAG extensions? Context here:

  • GitHub repo PyUserInput

    A module for cross-platform control of the mouse and keyboard in python that is simple to install and use.

    Project mention: Python keylogger in 5 minutes | | 2021-02-23


  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo sparrow-wifi

    Next-Gen GUI-based WiFi and Bluetooth Analyzer for Linux

    Project mention: Noisy Neighborhood - Finding sources of interference? | | 2021-08-21
  • GitHub repo luna

    a USB multitool + Amaranth HDL framework for monitoring, hacking, and developing USB devices

    Project mention: QuickLogic Opens Up FPGA Design | | 2021-03-06

    Check out and

  • GitHub repo mouse

    Hook and simulate global mouse events in pure Python

    Project mention: I am a proficient Python coder whose learning has plateaued. Any really useful libraries I should look into learning? Taking recommendations. | | 2021-04-16

    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

  • GitHub repo w1thermsensor

    A Python package and CLI tool to work with w1 temperature sensors like DS1822, DS18S20 & DS18B20 on the Raspberry Pi, Beagle Bone and other devices.

    Project mention: Need help wiring temp sensor | | 2021-11-22
  • GitHub repo trezor-agent

    Hardware-based SSH/PGP agent

    Project mention: TIL: Trezor-T works under WSL-2 (Linux on Windows) using usbipd-win | | 2022-01-12

    I'd been working with the trezor-gpg and trezor-ssh features recently, but found them difficult to configure in Windows. When I saw the WSL-2 article on usbipd, found everything worked great.

  • GitHub repo Pyverilog

    Python-based Hardware Design Processing Toolkit for Verilog HDL

    Project mention: How to compare HDL simulation/implementation results to Matlab? | | 2021-06-01


  • GitHub repo pinout

    An open source Python package that generates hardware pinout diagrams as SVG images.

    Project mention: J0ono0/pinout: generate hardware pinout diagrams | | 2021-06-29
  • GitHub repo PipelineC

    A C-like hardware description language (HDL) adding high level synthesis(HLS)-like automatic pipelining as a language construct/compiler feature.

    Project mention: Cross module reference (XMR)? | | 2022-01-20
  • GitHub repo r_e_c_u_r

    an open diy py/pi based video sampler

    Project mention: Looking for some glitch software | | 2021-05-15

    ACID is a simple but fun video synth I just learned about and downloaded. I also use r_e_c_u_r on a raspberry pi to process video.

  • GitHub repo lib-python

    Blynk IoT library for Python and Micropython

    Project mention: I can't figure out how to get Bluetooth to work. | | 2022-01-19

    Try starting here:

  • GitHub repo dyode

    A low-cost, DIY data diode for ICS

    Project mention: Dyode: A low-cost, DIY data diode for ICS | | 2021-08-19
  • GitHub repo skillbridge

    A seamless python to Cadence Virtuoso Skill interface

  • GitHub repo pyTeliumManager

    Python library to manipulate Ingenico mobile payment device like iCT220 or iWL220 equipped with Telium Manager. RS232/USB.

  • GitHub repo nfl-led-scoreboard

    NFL LED scoreboard! This project can display live scores of your favourite football teams!

    Project mention: [OC] Live updating LED fantasy football scoreboard for Sleeper, ESPN, and Yahoo! | | 2021-09-07

    Also made one for just general NFL games as well!

  • GitHub repo 8Q

    General Purpose 8 Qubit Optical Quantum Computer

    Project mention: What's the general consensus here on home-built Quantum Processors? | | 2021-11-27

    There's a few guides on making simple Quantum Processors, the most well known is 8 Qubit design under GPLv3. It uses KLM Protocol and does not have entanglement, and estimated to cost $5-10k in materials to build.

  • GitHub repo Gas detection

    Gas detection for Raspberry Pi using ADS1x15 and MQ-2 sensors

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-20.

Python Hardware related posts


What are some of the best open-source Hardware projects in Python? This list will help you:

Project Stars
1 scapy 7,014
2 keyboard 2,726
3 pySerial 2,475
4 WireViz 2,414
5 pyusb 1,538
6 glasgow 1,508
7 PyUserInput 997
8 sparrow-wifi 674
9 luna 593
10 mouse 565
11 w1thermsensor 469
12 trezor-agent 460
13 Pyverilog 344
14 pinout 284
15 PipelineC 213
16 r_e_c_u_r 189
17 lib-python 184
18 dyode 114
19 skillbridge 63
20 pyTeliumManager 63
21 nfl-led-scoreboard 49
22 8Q 47
23 Gas detection 14
Find remote jobs at our new job board There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.