PyUSB provides USB access on the Python language.
License
BSD LicenseFollow PyUSB
You Might Also Like
When it comes to cybersecurity, what your clients don’t know can really hurt them. And believe it or not, keep them safe starts with asking questions. With ConnectWise Identify Assessment, get access to risk assessment backed by the NIST Cybersecurity Framework to uncover risks across your client’s entire business, not just their networks. With a clearly defined, easy-to-read risk report in hand, you can start having meaningful security conversations that can get you on the path of keeping your clients protected from every angle. Choose from two assessment levels to cover every client’s need, from the Essentials to cover the basics to our Comprehensive Assessment to dive deeper to uncover additional risks. Our intuitive heat map shows you your client’s overall risk level and priority to address risks based on probability and financial impact. Each report includes remediation recommendations to help you create a revenue-generating action plan.
Rate This Project
Login To Rate This Project
User Reviews
-
Wonderful library, makes quick interfacing with wild or unknown devices a snap. Write a driver for almost anything once you know the protocol.
-
Great stuff.
-
@John Nagle: For better Windows Support use libusb-win32 which you find at sourceforge. It's OpenSource und avaible fo Win7, too.
-
Documentation isnt great, here is a fool proof steps to getting this working from a clean machine. 1 - Download Ubuntu 12.04 2 - Install 3 - Reboot into Ubuntu 4 - CRTL+ALT+T [ to bring up terminal ] $ sudo apt-get update ... [ output discarded ] ... $ sudo apt-get install python-pip Reading package lists... Done ... [ output truncated ] ... Setting up python-pip (1.0-1build1) ... $ sudo pip install pyusb Downloading/unpacking pyusb ... [ output truncated ] ... Cleaning up... $ python Python 2.7.3 (default, Aug 1 2012, 05:14:39) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import usb.core >>> usb.core.find() <usb.core.Device object at 0x7f0e698de510> Now you can have some fun
-
The documentation is misleading. It implies that this provides actual access to USB functionality from Python. It doesn't. It's just a Python front end to a platform-specific "back end" which may be available from another source. There's an old Windows back-end at "http://www.craftedge.com/products/libusb.html", but it was written for Windows XP, and can supposedly be run in "compatibility mode" on Windows Vista. Current versions of Windows, who knows? It's not open source, and it comes from someone who sells paper-cutting machines for crafters. Not too helpful.