python-libmaas
A client API library specially for MAAS.
Decision gist · record as of 2026-08-14
Yes, if you are actively using MAAS and need programmatic control or CLI access to its APIs. The low install friction and absence of known vulnerabilities make it safe to deploy. However, the aging maintenance status (last release August 2022, no commits since) means you should verify that the library remains compatible with your MAAS version and modern dependency versions before relying on it for new projects. Not suitable if you cannot accept AGPLv3 licensing.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running MAAS instance with valid credentials; async/await context requires Python 3.5+.
- Low install friction with a pure-Python wheel distribution.
- Maintenance is aging—last release was in August 2022 and no commits since September 2025, though the repository remains active.
License · maintenance · safety
(agpl) — Licensed under AGPLv3, a copyleft license requiring that any derivative work or distribution also be licensed under AGPLv3. This is suitable for internal tools and open-source projects but incompatible with proprietary software that cannot be released under the same terms.
last release 2022-08-17 (1458 days) · last repo commit 2025-09-02 · 65 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 537,183 downloads/mo, #6,121 on PyPI
Alternatives
Verify before relying
pip install python-libmaas
from aiohttp import ClientSession
import asyncio
async def example():
async with ClientSession() as session:
# Use python-libmaas with aiohttp for MAAS API calls
pass
asyncio.run(example())- Whether the package works with Python versions beyond 3.9 despite the description mentioning 3.5+ support.
- Current compatibility with modern versions of aiohttp, PyYAML, and oauthlib given the aging maintenance status.
- Whether MAAS API changes since August 2022 have rendered parts of the library obsolete or incompatible.
What it is and what it does
python-libmaas is a Python client library and command-line tool for interacting with MAAS, a bare-metal infrastructure provisioning platform. It provides both a programmatic API and a CLI interface for managing physical servers, networks, and deployment workflows. The library wraps MAAS REST APIs and handles authentication via OAuth and Macaroon tokens, making it suitable for infrastructure automation and systems administration tasks.
The package depends on aiohttp for async HTTP, PyYAML for configuration, oauthlib for OAuth flows, macaroonbakery for token handling, and several UI/display libraries including colorclass, terminaltables, and argcomplete. It targets Python 3.6–3.9 and is classified as Alpha-stage software. The last release was in August 2022, and while the repository remains active, the lack of recent commits suggests limited active maintenance.
Use it for
- Automate bare-metal server provisioning and deprovisioning workflows in MAAS-managed environments.
- Build infrastructure-as-code scripts that configure networks, storage, and power management for physical hardware.
- Integrate MAAS into CI/CD pipelines to dynamically allocate and release test machines.
- Query and monitor MAAS inventory, including machine status, resource allocation, and deployment history.
- Manage user credentials and OAuth authentication for multi-tenant MAAS environments programmatically.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are actively using MAAS and need programmatic control or CLI access to its APIs.
The low install friction and absence of known vulnerabilities make it safe to deploy. However, the aging maintenance status (last release August 2022, no commits since) means you should verify that the library remains compatible with your MAAS version and modern dependency versions before relying on it for new projects. Not suitable if you cannot accept AGPLv3 licensing.
Install
python-libmaas on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Maintenance is aging—last release was in August 2022 and no commits since September 2025, though the repository remains active. Nine runtime dependencies are all established packages.
Requires a running MAAS instance with valid credentials; async/await context requires Python 3.5+.
License in practice
Licensed under AGPLv3, a copyleft license requiring that any derivative work or distribution also be licensed under AGPLv3. This is suitable for internal tools and open-source projects but incompatible with proprietary software that cannot be released under the same terms.
Quickstart
pip install python-libmaas
from aiohttp import ClientSession
import asyncio
async def example():
async with ClientSession() as session:
# Use python-libmaas with aiohttp for MAAS API calls
pass
asyncio.run(example())
Verify before relying
- Whether the package works with Python versions beyond 3.9 despite the description mentioning 3.5+ support.
- Current compatibility with modern versions of aiohttp, PyYAML, and oauthlib given the aging maintenance status.
- Whether MAAS API changes since August 2022 have rendered parts of the library obsolete or incompatible.
Package facts
| License | Not declared agpl |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 9 packagesPyYAMLaiohttpargcompletecolorclassmacaroonbakeryoauthlibpymongopytzterminaltables |
| Maintenance | Aging 1,458 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 537,183 / month, #6,121 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: GNU Affero General Public License v3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries |
Evidence: python_libmaas-0.6.8-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “maas cli tool”
- python-libmaasPython client library and CLI for MAAS, providing programmatic and…
- maas-apiA Python client library for MAAS (Metal as a Service) that exposes…
- lamin_cliProvides a command-line interface for managing database instances,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also maas-api · python-ironicclient · metal-sdk · google-cloud-compute · okta · python-sonarqube-api · stackit-iaas · config-parser · fspath · pyobjc-framework-Metal