python-libusb1 icon indicating copy to clipboard operation
python-libusb1 copied to clipboard

Python ctype-based wrapper around libusb1

Results 19 python-libusb1 issues
Sort by recently updated
recently updated
newest added

I cannot find a direct answer or documentation on this issue but When doing USB bulk transfers (see this link) [bulk transfers](https://www.beyondlogic.org/usbnutshell/usb4.shtml#Bulk) the buffer to be read or written is...

Hello all, I would like to get your opinion about how ``python-libusb1`` compares with ``pyusb``. The license is obviously different but how about stability, ease of use? Thank you!

It seems to me libusb_set_option() is missing here. https://libusb.sourceforge.io/api-1.0/group__libusb__lib.html#gaf6ce5db28dac96b1680877a123da4fa8 https://libusb.sourceforge.io/api-1.0/group__libusb__lib.html#ga07d4ec54cf575d672ba94c72b3c0de7c For the enum libusb_option, probably LIBUSB_OPTION_USE_USBDK is a bit special. Use the UsbDk backend for a specific context, if available....

C API

Hello, I am building an app using Kivy. When running the app in android using ```buildozer android run logcat``` I get the error: ``` .../.buildozer/android/platform/build-arm64-v8a/build/python-installs/myapp/usb1/libusb1.py", line 157, in _loadLibrary .../.buildozer/android/platform/build-arm64-v8a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Lib/ctypes/__init__.py",...

android

**Status**: Ready for review **Issue**: Fixes #57 If merged, this PR adds initial support for `mypy`. * Type stubs, `.pyi` files have been added for the package interface `__init__.py` and...

I've got a WIP implementation of [mypy](http://mypy-lang.org/) type stubs for this package in https://github.com/adbpy/transports/commit/43a26a801bfd7582a9da964e9806191ff6b8a3aa. I haven't finished them yet but I'm opening this issue to get the conversation going. Is...

This PR adds a `setFlags()` method to USBTransfer to set the `libusb_transfer.flags`

It seems like, looking at the libusb async API docs, this function is the best way to solve the problem of "handle events only until a specific transfer is done."...

**Describe the bug** The cryptographic signature of the `libusb1` module on PyPI has gone missing (404 Not Found) **To Reproduce** Steps to reproduce the behavior (following the instructions [found here](https://stackoverflow.com/a/63568630)):...

Otherwise the file:line points to within python-libusb1 itself, which is quite useless.