Pylibftdi

Latest version: v0.22.0

Safety actively analyzes 638720 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

0.17.0

~~~~~~
* new - added 0x6015 USB PID to the default PID list, supporting FT230 devices
* fixed - updated ftdi_osx_driver_re/unload scripts to support Python3
* fixed - auto_detach bug on some systems (Bitbucket issue 27)
* *API CHANGE* - Moved `auto_detach`, `chunk_size` and `lazy_open` to class
attributes which can be easily overridden in subclasses, or in kwargs.
This means that any program using these as *positional* arguments needs
to change to use them as keyword parameters. Note: all but `device_id` and
`mode` may become keyword-only arguments in the future.

0.16.1.2

~~~~~~~~
* rebuilt to fix install issue on macOS

0.16.1.1

~~~~~~~~
* changed / fixed - still getting segfault in some situations with
combination of auto_detach=True and libftdi 0.x, so auto_detach
is now only supported in libftdi 1.0+ and ignored otherwise.

0.16.1

~~~~~~
* fixed - segfault opening `Device` instances when `auto_detach` used and
running on early (pre 1.0) versions of `libftdi`.

0.16.0

~~~~~~
* new/changed - Automatic driver detach. By default, calls
`libusb_set_auto_detach_kernel_driver()` on newly opened devices, to
restore kernel drivers after close. Note this only seems to have an
effect on Linux, as far as I can tell.
Disable with `Device(..., auto_detach=False)`
* new - serial_transfer example which checks that pseudo-random data send
over a serial connection is correctly transferred.
* new - `modem_status` property on SerialDevice() object, 16-bit value where
each bit represents a different value such as 'Overrun Error'. See docstring
or documentation for ftdi_poll_modem_status function in libftdi.
* fixed - reset FTDI latency timer to default (16ms) on device instantiation
* changed - Python2.6 is no longer supported.
* changed - now uses incremental codecs when doing text-based transfer.

0.15

~~~~
* new - additional `pylibftdi.Driver` methods: `libusb_version` to report
on the version of the libusb library
* new - `info` example, which displays additional info about the enviroment
pylibftdi is running in; run with `python -m pylibftdi.examples.info` or
similar.
* changed - `libftdi_search` argument to `Driver()` can now give a path name
referencing the libftdi library.
* changed - libftdi is now opened on first use, not immediately when
creating a `Driver` instance.
* changed - missing libraries now raise `pylibftdi.LibraryMissingError`.
This subclasses `FtdiError`, so should remain compatible with existing
usage, but allows this to be caught explicitly.
* fixed - finding the libftdi library on Windows has been improved/fixed;
find_library does not work consistently across Windows / Python
versions...
* More test cases covering bitbang usage

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.