The updatehub agent SDK for Python provides a set of classes to enable programs written in Python to interact with the updatehub agent.
You can read the up-to-date reference using pydoc
.
examples/state_change_listener.py: A simple state change listener that blocks updates from being downloaded.
The project uses setuptools, so it should be straightforward to install it on your environment:
python setup.py install
For now only code lint is being checked. Install tox (pip install tox
) and run
it to check for any errors.
- Python 3.5
- Python 3.6
- Python 3.7
- Python 3.8