Code Monkey home page Code Monkey logo

pyusb's Introduction

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 the 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 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 1.0, libusb 0.1 and OpenUSB, but the user does not need to worry about that, unless in some corner cases.

If you have any question about PyUSB, consult the FAQ at docs/faq.rst or the PyUSB mailing list hosted in the SourceForge. In the PyUSB website you can find instructions on how to subscribe to the mailing list.

Installing

PyUSB is installed through pip:

pip install pyusb

Remember that you need libusb (1.0 or 0.1) or OpenUSB running on your system. For Windows users, libusb 1.0 DLLs are provided in the releases (see 7z archives). Check the libusb website for updates (http://www.libusb.info).

pyusb's People

Contributors

walac avatar jonasmalacofilho avatar ap-- avatar simplicityguy avatar tormodvolden avatar jcflack avatar andreysv avatar alanjas avatar dywisor avatar clach04 avatar norberg avatar pabigot avatar jaseg avatar endolith avatar pprabhu avatar mattheard avatar jnrowe avatar davidhalter avatar braiden avatar myorbit avatar nicoelayda avatar querela avatar rnixx avatar stefanod avatar thijstriemstra avatar swinman avatar yawara avatar jard285 avatar jpieper avatar kuma35 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.