pyusb

USB access for Python

  • 所有者: pyusb/pyusb
  • 平台:
  • 许可证: BSD 3-Clause "New" or "Revised" License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

=======================================
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/pyusb/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 (https://pyusb.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 <http://libusb-win32.sourceforge.net>_
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 <https://github.com/pyusb/pyusb>_, I had a hard time tracking
their names to put them in the acknowledgments file.

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

主要指标

概览
名称与所有者pyusb/pyusb
主编程语言Python
编程语言Shell (语言数: 2)
平台
许可证BSD 3-Clause "New" or "Revised" License
所有者活动
创建于2011-09-02 18:36:18
推送于2025-03-03 05:24:03
最后一次提交2025-02-05 09:56:35
发布数14
最新版本名称v1.3.1 (发布于 2025-01-08 20:44:20)
第一版名称1.0.0a2 (发布于 2011-11-12 18:08:20)
用户参与
星数2.2k
关注者数89
派生数668
提交数542
已启用问题?
问题数330
打开的问题数24
拉请求数76
打开的拉请求数4
关闭的拉请求数36
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?