Skip to content

walac/pyusb

This branch is 161 commits behind pyusb/pyusb:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3ec29ca · Nov 10, 2017
Aug 2, 2017
Jan 29, 2014
Jun 14, 2015
Aug 26, 2015
Oct 12, 2017
May 26, 2017
Feb 15, 2015
Oct 9, 2017
Sep 23, 2014
Nov 10, 2017
Oct 12, 2017
Sep 9, 2012
Jun 14, 2015
Nov 10, 2017
Jul 10, 2014

Repository files navigation

PyUSB 1.0 - Easy USB access from Python

Introduction

The PyUSB module provides for Python easy access to the host machine's Universal Serial Bus (USB) system.

Until 0.4 version, PyUSB used to be a thin wrapper over libusb. With 1.0 version, things changed considerably. Now PyUSB is an API rich, backend neutral Python USB module easy to use.

As with most Python modules, PyUSB's documentation is based on Python doc strings and can therefore be manipulated by tools such as pydoc.

You can also find a tutorial at: https://github.com/walac/pyusb/blob/master/docs/tutorial.rst.

PyUSB is being developed and tested on Linux and Windows, but it should work fine on any platform running Python >= 2.4, ctypes and at least one of the builtin backends.

PyUSB supports libusb 0.1, libusb 1.0 and OpenUSB, but the user does not need to worry about that, unless in some corner cases.

If you have any question about PyUSB, you can use the PyUSB mailing list hosted in the SourceForge. In the PyUSB website (http://walac.github.io/pyusb) you can find instructions on how to subscribe to the mailing list.

Installing

PyUSB is installed through pip <https://pypi.python.org/pypi/pyusb>:

pip install pyusb

Remember that you need libusb (1.0 or 0.1) or OpenUSB running on your system. For Windows users, libusb 0.1 is provided through libusb-win32 package. Check the libusb website for updates (http://www.libusb.info).

Reporting bugs/Submitting patches

Some people have been sending patches and reporting bugs directly at my email. Please, do it through github, I had a hardtime tracking their names to put them in the acknowledgments file. ;-)

PS: this README file was based on the great Josh Lifton's one... ^_^

Packages

No packages published

Languages

  • Python 99.7%
  • Shell 0.3%