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](https://travis-ci.org/maas/python-libmaas.svg?branch=master)](https://travis-ci.org/maas/python-libmaas)
[![codecov.io](https://codecov.io/github/maas/python-libmaas/coverage.svg?branch=master)](https://codecov.io/github/maas/python-libmaas?branch=master)


## Installation

All the dependencies are declared in `setup.py` so this can be installed
with [pip](https://pip.pypa.io/). 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](https://pypi-hypernode.com/) 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][docs] 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][CCLA] 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.


[MAAS]: https://maas.io/
[docs]: http://maas.github.io/python-libmaas/

[CCLA]: https://www.ubuntu.com/legal/contributors
[AGPLv3]: https://www.gnu.org/licenses/agpl-3.0.html

[IPython]: https://ipython.org/

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.1.tar.gz (88.6 kB view details)

Uploaded Source

Built Distribution

python_libmaas-0.6.1-py3-none-any.whl (119.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for python-libmaas-0.6.1.tar.gz
Algorithm Hash digest
SHA256 a0c29fa4555643a0fed8b4beb554d46c98b51aa161bc1c2482ebfdb36f1effa0
MD5 31ca467b46ac6e4bc7b413c23d003236
BLAKE2b-256 7837e02078a16b34978ca4b9a75987d4e90674b4fae28cf9815d2ded23447b05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_libmaas-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6edf7f413f6776b5ae47b4e1e2002e9e010e154a49b466927be0eb3f528f8c55
MD5 18ec8eb68a986c9a64a2c0f53171ddc6
BLAKE2b-256 7f7f069ba67be0f805baa063b10b08be1db14f7ed0ec1fa281575fa4d99ba3b5

See more details on using hashes here.

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