Pylibftdi

Latest version: v0.21.0

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

Scan your dependencies

Page 1 of 6

0.21.0

------
* Breaking changes:
* Python 3.7+ is now required for pylibftdi.
* Driver.libusb_version() and libftdi_version() now return strings rather than bytestrings for textual version info
* Development changes:
* Type hinting has been added - thanks WhatTheFuzz!
* Moved to a `src` layout. See https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/
* Switched from `setuptools` to `poetry` for development.
* Linting and style changes (Ruff & black) have been applied throughout.
* Additional unit tests, especially covering library loading.
* Added a Dockerfile and Makefile for development and testing.
* Added GitHub Actions CI for linting and unittests.

0.20.0

------
* Removed claims of Python2 support, added warnings that Python2 support
will be removed in future releases.
NOTE: Future releases will require Python 3.6 or later.
* Fix to `ftdi_get_library_version`, broken on M1 Macs. See Github issue 2.
Thanks to wrigby for diagnosing and fixing this.

0.19.0

------
* Moved to GitHub (and git, obviously!) following deprecation of Mercurial
on bitbucket.org. No other changes beyond URL updates, docs pointing to
GitHub etc. Note that references to old bitbucket issues will stop being
helpful very soon, but there's not much I can do about this.

0.18.1

~~~~~~
* fixed - list_devices example was broken for Python3 following 0.18.0

0.18.0

~~~~~~
* fixed - memory leak in list_devices() (Bitbucket issue 34)
* changed - examples now written for (and require) Python3 (Bitbucket issue 35)
* new - more helpful platform-dependent error messages
* added - __main__.py module to support `python -im pylibftdi`
* added - `index` parameter to Device() constructor to allow indexing
into the list returned from Driver.list_devices(). Useful to access
e.g. the second device where PID differs between the first two devices
and device_index would reset to zero for each PID/VID combination.
* Removed the ftdi_osx_driver_reload/unload scripts. These complicated cross-
platform packaging and error messages / docs have been updated to include
appropriate instructions.

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.

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.