Skip to main content

A client API library specially for MAAS.

Project description

python-libmaas

Python client API library made especially for MAAS.

Build Status codecov.io

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-libmaas-0.6.6.tar.gz (96.9 kB view details)

Uploaded Source

Built Distribution

python_libmaas-0.6.6-py3-none-any.whl (140.1 kB view details)

Uploaded Python 3

File details

Details for the file python-libmaas-0.6.6.tar.gz.

File metadata

  • Download URL: python-libmaas-0.6.6.tar.gz
  • Upload date:
  • Size: 96.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2rc1

File hashes

Hashes for python-libmaas-0.6.6.tar.gz
Algorithm Hash digest
SHA256 5da6d0f63ba0d7729f32eef3ed3b2c8fd60f2800f7d8f3da433394bd4cd36670
MD5 5d55e12a1d70b527275c3b488c420110
BLAKE2b-256 a09e00efab20ba1bc453b05a577a69945427795d8426dcf929eddce16f4d85b0

See more details on using hashes here.

Provenance

File details

Details for the file python_libmaas-0.6.6-py3-none-any.whl.

File metadata

  • Download URL: python_libmaas-0.6.6-py3-none-any.whl
  • Upload date:
  • Size: 140.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2rc1

File hashes

Hashes for python_libmaas-0.6.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bc3a93662d2fc3cd9d4a0d86455bd4891e5bac04f8ff27a0d4e484bf55618426
MD5 90ae15d1c56d8adb1503995c1ee1f972
BLAKE2b-256 bdfc0816e9f7a5fdcdb530b6924100c4aab9973298bcdb9140f2f83be27a04bd

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page