Python library for communication with the InvenTree parts management system using the integrated REST API.
This library provides a class-based interface for interacting with the database. Each database table is represented as a class object which provides features analogous to the REST CRUD endpoints (Create, Retrieve, Update, Destroy).
The InvenTree python library can be easily installed using PIP:
pip install inventree
If you need to rely on system certificates from the OS certificate store instead of the bundled certificates, use
pip install inventree[system-certs]
This allows pip and Python applications to verify TLS/SSL connections to servers whose certificates are trusted by your system, and can be helpful if you're using a custom certificate authority (CA) for your InvenTree instance's cert.
Refer to the InvenTree documentation