Python Hardware

Open-source Python projects categorized as Hardware

Top 23 Python Hardware Projects

  • scapy

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

    Project mention: 🛜 What is ARP Spoofing? | dev.to | 2023-04-19

    I've coded my small ARP spoofer in Go because I love the language, though it can very well be coded in other languages, for example Python with Scapy.

  • keyboard

    Hook and simulate global keyboard events on Windows and Linux.

    Project mention: Run when key is pressed | /r/learnpython | 2023-05-10

    check out the docs here https://github.com/boppreh/keyboard

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • pySerial

    Python serial port access library

    Project mention: HELP! How to use website to control USB connected Arduino | /r/learnprogramming | 2023-02-13

    Code your REST endpoint to use something like pySerial to send the message to your device

  • WireViz

    Easily document cables and wiring harnesses.

    Project mention: Wiring harness CAD software? | /r/ElectricalEngineering | 2023-01-12

    Like WireViz?

  • pyusb

    Easy USB access for Python

    Project mention: What should I do now | /r/learnprogramming | 2022-10-30
  • glasgow

    Scots Army Knife for electronics

  • PyUserInput

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

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • sparrow-wifi

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

    Project mention: Is there a simple answer? | /r/RTLSDR | 2022-11-22

    Digging into this rabbit hole I found Sparrow-wifi has a spectrum display but it seems to want a separate Ubertooth or HackRF receiver.

  • luna

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

  • mouse

    Hook and simulate global mouse events in pure Python

    Project mention: Seeking Python Library for Mouse Automation without Native Mouse Interaction | /r/learnpython | 2023-05-29
  • BrachioGraph

    BrachioGraph is an ultra-cheap (total cost of materials: €14) plotter that can be built with minimal skills.

    Project mention: Getting arty with a Pi | dev.to | 2023-04-22

    This is absolutely not my invention! I came across it in the most recent issue of The MagPi magazine, and immediately wanted to build one. The BrachioGraph was created and documented by Daniele Procida, all of the code is on GitHub, and it has been around for a number of years, since originally being introduced at a PyCon in 2019.

  • trezor-agent

    Hardware-based SSH/PGP agent

    Project mention: Mnemonikey | Determinstic PGP key recovery using phrases | v0.0.1 prerelease published | /r/GnuPG | 2023-06-07
  • 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.

  • Pyverilog

    Python-based Hardware Design Processing Toolkit for Verilog HDL

  • PipelineC

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

    Project mention: What are your private FPGA projects and why? | /r/FPGA | 2023-05-31

    https://github.com/JulianKemmerer/PipelineC :)

  • pinout

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

    Project mention: What is it you wish you knew about open source before you started your open source project? | /r/Entrepreneur | 2022-08-05
  • OURS-project

    Step-by-step instructions to build a smartphone that is open-source, upgradeable, repairable, and Big Tech free.

    Project mention: Ours Smartphone | news.ycombinator.com | 2023-05-06
  • EuroPi

    EuroPi: A reprogrammable Eurorack module based on the Raspberry Pi Pico

    Project mention: Easiest/cheapest way to get multiple (9-12) analog cv outputs (0-5V volt) from a single microcontroller/arduino | /r/synthdiy | 2023-04-03

    There is no super cheap way to get a lot of analog outputs from an MCU. Filtered PWM is your best bet for cost effectiveness (I recommend looking at the EuroPi from allen synthesis : https://github.com/Allen-Synthesis/EuroPi). Otherwise if PWM doesn't work for you, you'll need to look into DAC chips. The MCP4728 is a good spot to start, it's 12-bit and has 4 channels: https://www.adafruit.com/product/4470. Since it's I2C controlled you can have multiple of them on one bus. Maybe looking into a 16 channel PWM driver for a lot of outputs: https://www.adafruit.com/product/815. Hope this helps!

  • nngen

    NNgen: A Fully-Customizable Hardware Synthesis Compiler for Deep Neural Network

  • r_e_c_u_r

    an open diy py/pi based video sampler

    Project mention: VJ software for Raspberry Pi 3 | /r/vjing | 2022-11-12

    RECUR

  • lib-python

    Blynk IoT library for Python and Micropython

  • belay

    Belay is a python library that enables the rapid development of projects that interact with hardware via a micropython-compatible board.

    Project mention: microPython in VSCode ? | /r/raspberrypipico | 2022-10-15

    An alternative approach which I also frequently use, especially for trying out partial scripts is to use Jupyter notebooks. There’s a few different nice tools, all available to install with pip: There jupyter_micropython_kernel, mpremote (then: from mpremote import pyboard) or belay. All good options with slightly different use cases in my experience.

  • eurorack-blocks

    Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust

    Project mention: I have an idea for a eurorack module, but no engineering or coding experience. Where do I start? | /r/modular | 2023-01-01

    You can also use eurorack-blocks for all that. Key points for you:

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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 2023-06-07.

Python Hardware related posts

Index

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

Project Stars
1 scapy 8,839
2 keyboard 3,419
3 pySerial 2,885
4 WireViz 2,833
5 pyusb 1,880
6 glasgow 1,649
7 PyUserInput 1,065
8 sparrow-wifi 932
9 luna 804
10 mouse 763
11 BrachioGraph 633
12 trezor-agent 538
13 w1thermsensor 486
14 Pyverilog 473
15 PipelineC 446
16 pinout 344
17 OURS-project 311
18 EuroPi 293
19 nngen 260
20 r_e_c_u_r 227
21 lib-python 220
22 belay 203
23 eurorack-blocks 193
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com