A client API library specially for MAAS.
Project description
python-libmaas
Python client API library made especially for MAAS.
Installation
All the dependencies are declared in setup.py
so this can be installed
with pip. Python 3.5+ is required.
When working from trunk it can be helpful to use virtualenv
:
$ virtualenv --python=python3 amc && source amc/bin/activate
$ pip install git+https://github.com/maas/python-libmaas.git
$ maas --help
Releases are periodically made to PyPI but, at least for now, it makes more sense to work directly from trunk.
Documentation
Documentation can be generated with make docs
which publishes into the
site
directory. Recent documentation is also published to the
MAAS Client Library & CLI documentation site.
Development
It's pretty easy to start hacking on python-libmaas:
$ git clone git@github.com:maas/python-libmaas.git
$ cd python-libmaas
$ make develop
$ make test
Installing IPython is generally a good idea too:
$ bin/pip install -UI IPython
Pull requests are welcome but authors need to sign the Canonical contributor license agreement before those PRs can be merged.
History & licence
In short: AGPLv3.
python-libmaas was begun by a core MAAS developer, Gavin Panella, on his own time, but is now maintained by the core MAAS team at Canonical. It is licensed under the GNU Affero GPLv3, the same as MAAS itself.
Some of the code in here has come from MAAS, upon which Canonical Ltd has the copyright. Gavin Panella licenses his parts under the AGPLv3, and MAAS is also under the AGPLv3, so everything should be good.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python-libmaas-0.6.4.tar.gz
.
File metadata
- Download URL: python-libmaas-0.6.4.tar.gz
- Upload date:
- Size: 93.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9849996e5dd86d7e2dd16327240ae2241a607ce39edc70a8fce2851e32fa141 |
|
MD5 | cacf18f2b691efb645f6ff677da6e840 |
|
BLAKE2b-256 | 967f8298300929ae0e8e013f0b7a07582cb354f0fca6b01619b51c9017d54658 |
File details
Details for the file python_libmaas-0.6.4-py3-none-any.whl
.
File metadata
- Download URL: python_libmaas-0.6.4-py3-none-any.whl
- Upload date:
- Size: 140.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e26db3dc14cdc5c3fb90e376bd2c187d89cec952fa477e5914f74231f0e663c |
|
MD5 | 90d40a4826c609eda5cec7edab418a9e |
|
BLAKE2b-256 | 6d656110f5c19410bc0a5d584c1480171720a157e5ad66cc25cfa4778e0028ee |