Updates for our Python Library and Knowledge Base

28 December 2023  |  Reading Time: 2 minutes

We launched our first Python library in 2013 to provide software support for our first two Raspberry Pi expansion boards, the ADC Pi, and Servo Pi. Since then, we have made over 300 changes to the Python library adding new expansion boards and demo files and improving the performance of the code. There were also a few bug fixes as well.

Today we have made another update to the library, adding support for Python Build and Installer. This replaces the setup.py script which was previously used for installing the library.

The python setup.py command has been deprecated because it relies on a setup script which is less consistent and more error-prone compared to the newer packaging tools. The Python Packaging Authority now recommends using build and installer for creating package distributions. These tools provide a more standardized and reliable way of managing Python package installations and dependencies, ensuring better compatibility and stability across different environments and platforms.

You can download the updated Python library from our GitHub repository at https://github.com/abelectronicsuk/ABElectronics_Python_Libraries

Alongside the updates to the Python library on GitHub, we have also updated our Knowledge Base article for the Python Library with a more in-depth tutorial for setting up Python, installing the Library and using it with our expansion boards.

You can find the new Knowledge Base article at https://www.abelectronics.co.uk/kb/article/23/python-library-and-demos

Join the Discussion

Have questions, ideas, or success stories to share? Join the conversation on our forums and social media platforms. Your input fuels our commitment to providing the best resources for the community.

Happy Automating,

The AB Electronics UK Team

Back to the Blog