Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/canonical/python-libmaas
Unofficial python client library for MAAS
https://github.com/canonical/python-libmaas
asyncio maas python python3 ubuntu
Last synced: 13 days ago
JSON representation
Unofficial python client library for MAAS
- Host: GitHub
- URL: https://github.com/canonical/python-libmaas
- Owner: canonical
- License: other
- Created: 2015-09-22T19:22:42.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-25T23:07:07.000Z (8 months ago)
- Last Synced: 2024-04-26T03:22:04.529Z (8 months ago)
- Topics: asyncio, maas, python, python3, ubuntu
- Language: Python
- Homepage: https://maas.io
- Size: 4.35 MB
- Stars: 59
- Watchers: 18
- Forks: 66
- Open Issues: 22
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - canonical/python-libmaas - Unofficial python client library for MAAS (Python)
README
# python-libmaas
Python client API library made especially for [MAAS][].
[![CI tests](https://github.com/canonical/python-libmaas/workflows/CI%20tests/badge.svg)](https://github.com/canonical/python-libmaas/actions?query=workflow%3A%22CI+tests%22)
[![codecov.io](https://codecov.io/github/canonical/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 master it can be helpful to use a virtualenv:
$ python3 -m venv ve && source ve/bin/activate
$ pip install git+https://github.com/canonical/python-libmaas.git
$ maas --helpReleases are periodically made to [PyPI](https://pypi.python.org/) 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 [email protected]:maas/python-libmaas.git
$ cd python-libmaas
$ make develop
$ make testInstalling [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/