Python API client (snap/3.0/CLI)

The python-libmaas client library is an asyncio-based client library whose purpose is to allow developers, integrators and administrators to better interact with MAAS. This software is in development and does not yet support all MAAS endpoints (nor all operations). It currently supports MAAS versions 2.1 and 2.2-beta3.

Two questions you may have:

  1. What should I know about library endpoints?
  2. How can I install and use python-libmaas?

Library endpoints

At this time, the client library supports these eight endpoints:

  1. account
  2. boot-sources, boot-resources
  3. machines, devices, region controllers, rack controllers
  4. events
  5. configuration
  6. tags
  7. version
  8. zones

Three resources will help you better understand the above terms and how they are used:

  1. Concepts and terms
  2. MAAS CLI
  3. API documentation

Installation and usage of python-libmaas

For installation and initial steps, see these external links:

  1. https://github.com/maas/python-libmaas
  2. http://maas.github.io/python-libmaas/index.html

For examples, see these external links:

  1. http://maas.github.io/python-libmaas/client/index.html
  2. http://maas.github.io/python-libmaas/client/nodes/index.html

For pypi information, see this external link:

https://pypi.python.org/pypi/python-libmaas

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.