{"id":15442568,"url":"https://github.com/manuelbl/usbx","last_synced_at":"2025-04-19T18:59:22.833Z","repository":{"id":257789520,"uuid":"860835973","full_name":"manuelbl/usbx","owner":"manuelbl","description":"Modern and user-friendly Python library for working with USB devices.","archived":false,"fork":false,"pushed_at":"2025-02-23T09:33:45.000Z","size":451,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T12:02:28.811Z","etag":null,"topics":["python","usb"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manuelbl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-21T09:46:13.000Z","updated_at":"2025-03-26T05:30:45.000Z","dependencies_parsed_at":"2024-09-21T14:10:55.156Z","dependency_job_id":"a0a29bab-3c74-4a04-a98e-928c01bcf333","html_url":"https://github.com/manuelbl/usbx","commit_stats":null,"previous_names":["manuelbl/usbx"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelbl%2Fusbx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelbl%2Fusbx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelbl%2Fusbx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelbl%2Fusbx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manuelbl","download_url":"https://codeload.github.com/manuelbl/usbx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249239297,"owners_count":21235835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","usb"],"created_at":"2024-10-01T19:28:38.307Z","updated_at":"2025-04-16T12:30:58.297Z","avatar_url":"https://github.com/manuelbl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n\n![usbx](https://github.com/manuelbl/usbx/raw/main/docs/_static/usbx-github.svg)\n\n\u003c/h1\u003e\n\n\n**usbx** is a modern, powerful and user-friendly Python library for working with USB devices.\nIt provides many useful features:\n\n- Querying information about connected devices\n- Communication with USB devices\n- Notification when devices are connected and disconnected\n- Single API for Windows, Linux and macOS\n- Good documentation\n- Thread-safe\n- No need to install further software like *libusb*\n\n**usbx** is easy to use:\n\n```pycon\n\u003e\u003e\u003e from usbx import usb\n\u003e\u003e\u003e for device in usb.get_devices():\n...     print(device)\n...\nUSD device 4295171929, vid=0x1a40, pid=0x0801, manufacturer=None, product=USB 2.0 Hub, serial=None\nUSD device 4295171974, vid=0x0b0e, pid=0x0412, manufacturer=None, product=Jabra SPEAK 410 USB, serial=783F92B9DD3Cx011200\n```\n\n\n## Installing\n\n**usbx** can be installed with [pip](https://pip.pypa.io):\n\n```shell\npython -m pip install usbx\n```\n\n\n\n## Usage\n\nThe [User Guide](https://usbx.readthedocs.io/en/stable/user-guide.html) will get you started with the library.\nAlso read [Platform-specific Considerations](https://usbx.readthedocs.io/en/stable/platform-specific.html)\nas some operating systems might need extra steps to work with USB devices.\n\nThe [API Reference](https://usbx.readthedocs.io/en/stable/reference/index.html) documentation provides API-level documentation.\n\n### Examples\n\nServeral examples demonstrate the use of the library:\n\n- [enumerate.py](examples/enumerate.py): Enumerate all connected devices including details about the interfaces and endpoints\n- [monitor.py](examples/monitor.py): Monitor USB devices being connected and disconnected\n- [epaper.py](examples/epaper.py): Display an image on e-paper display with (with IT8951 controller)\n- [stm32dfu](examples/stm32dfu): Upload firmware to an STM32 based device\n\n\n## License\n\n**usbx** is made available under the MIT License. For more details, see [The MIT License](https://opensource.org/licenses/MIT\u003e).\n\n\n## Contributing\n\nThis is an open-source project that happily accepts contributions.\nPlease see [Contributing](https://usbx.readthedocs.io/en/stable/contributing.html) for details.\n\n\n## System Requirements\n\n- Python 3.9 or higher\n- Windows (x86-64 or ARM), Linux (x86-64 or ARM), macOS (x86-64 or ARM)\n- 64-bit platform and Python interpreter\n- For Linux: *udev* (usually goes together with *systemd*)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanuelbl%2Fusbx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanuelbl%2Fusbx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanuelbl%2Fusbx/lists"}