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 master it can be helpful to use a virtualenv:
$ python3 -m venv ve && source ve/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.
Release files for python-libmaas 0.6.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-libmaas-0.6.8.tar.gz | 109.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_libmaas-0.6.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 249.2 kB
Release files / python-libmaas-0.6.8.tar.gz
| Download URL | python-libmaas-0.6.8.tar.gz |
|---|---|
| Size | 109.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a6a02add6b48705373449b8cd4c9de86ed666539930ba3936793002d7056826
|
|
BLAKE2b-256 checksum How to use checksums |
010b2f3522042ed02a307d702f97dbed03aa9d68158a935af2688c5f9db413c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / python_libmaas-0.6.8-py3-none-any.whl
| Download URL | python_libmaas-0.6.8-py3-none-any.whl |
|---|---|
| Size | 140.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
152bd66e77c19efe90d0d78b50c88fa37511ad0b75d4d293e5fc79fab6bf794c
|
|
BLAKE2b-256 checksum How to use checksums |
dc1472ff5c780ba6588086d6b97aaee0674df29a20d46f3bb72826f178153e83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|