Balena SDK for Python
Latest commit 9e753bb Nov 22, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
balena v7.0.0 Nov 22, 2018
docs Add function examples Nov 30, 2015
tests stageRelease: Add release tracking methods Nov 21, 2018
.gitignore test: Add test cases for tag models Sep 11, 2018
.travis.yml deps: Update dependencies Aug 7, 2018 docs: Update documentation Nov 21, 2018
LICENSE Update LICENSE Jun 12, 2018 Fix up documentation examples Nov 8, 2018 Add docstring for all classes and methods. Sep 4, 2015 Make work with Python2/3 Nov 8, 2018
package-lock.json v5.1.0 Sep 13, 2018
requirements.txt deps: Update dependencies Aug 7, 2018
setup.cfg Prepare to upload to PyPI Sep 4, 2015 *BREAKING*: Rename everything that references 'resin' to 'balena' Oct 30, 2018
versionist.conf.js *BREAKING*: Rename everything that references 'resin' to 'balena' Oct 30, 2018

Balena SDK

The official balena SDK for python.


The intention of this module is to provide developers a nice API to integrate their python applications with balena.


Install the balena SDK:

From Source:

From git:

pip install git+


We also support NodeJS SDK.

Basic Usage

>>> from balena import Balena
>>> balena = Balena()
>>> credentials = {'username':<your email>, 'password':<your password>}
>>> balena.auth.login(**credentials)


We generate markdown documentation in

To generate the documentation:

python >


To run the tests, first create a .env file with your test user configuration, e.g.:


You can optionally change the target API endpoint too, e.g. api_endpoint=

Then run python -m unittest discover tests -v.


If you're having any problem, please raise an issue on GitHub and the balena team will be happy to help.



The project is licensed under the MIT license.