nemau
Python SDK for the Nemau Cloud public API. It covers compute, networking, load balancers, block and object storage, Kubernetes, DNS, quotas, metering and IAM.
nemau requires Python 3.9 or later and has no runtime dependencies.
Getting started
Install the nemau-cloud package from PyPI. The module you import is nemau:
python3 -m pip install nemau-cloud
Or install it from a clone of this repository:
git clone https://github.com/nemau-cloud/nemau-sdk-python.git
cd nemau-sdk-python
python3 -m pip install .
Credentials
NemauClient() reads its credential and settings from the environment:
export NEMAU_ACCESS_KEY_ID=<access key id>
export NEMAU_ACCESS_KEY_SECRET=<secret access key>
export NEMAU_PROJECT_ID=<project id> # optional
NEMAU_TOKEN holds a service-account token, used when no access key is set.
NEMAU_API_URL sets the API URL, which defaults to https://api.nemau-cloud.com.
Without a project, the client acts on the project of the credential.
The same settings can be passed to the constructor:
from nemau import AccessKey, NemauClient
client = NemauClient(
credential=AccessKey(key_id, key_secret),
project=project_id,
base_url="https://api.nemau-cloud.com",
)
Example
from nemau import NemauClient
client = NemauClient()
for instance in client.compute.list_instances():
print(instance.id, instance.name, instance.status)
instance = client.compute.create_instance_and_wait(
name="web-1",
image_id="ubuntu-24.04",
vcpus=2,
ram_mb=4096,
disk_gb=40,
)
print(instance.id, instance.addresses)
Writes run in the background. create_instance returns a TaskRef,
client.wait_for(ref) waits for the task to finish, and the ..._and_wait
methods do both and return the resource.
examples/provision.py
creates a network, a subnet, a security group and an instance, then deletes them.
Running tests
python3 -m unittest discover -s tests -t .
The CI also runs ruff and mypy:
python3 -m pip install ruff==0.16.8 mypy==1.19.1
ruff check .
ruff format --check .
mypy nemau
Documentation
The guide is in the docs folder:
- Authentication
- Projects, quotas and regions
- Asynchronous writes
- Updating resources
- Errors and retries
- Models
- Compute
- Networking
- Load balancers
- Block storage
- Object storage
- Kubernetes
- DNS
- IAM
- Metering
The Nemau Cloud documentation also has a page on the SDKs.
Getting help
- Report bugs and request features in the issue tracker.
- Send other questions to contact@nemau-cloud.com.
- Report security issues privately, as described in SECURITY.md.
Contributing
See CONTRIBUTING.md.
More resources
- NOTICE
- CHANGELOG.md
- LICENSE: nemau is licensed under the Apache License 2.0.
Metadata
Release files for nemau-cloud 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nemau_cloud-0.2.0.tar.gz | 92.6 kB | With provenance | Details for nemau_cloud-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nemau_cloud-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for nemau_cloud-0.2.0-py3-none-any.whl |
Total release size: 149.8 kB
Release files / nemau_cloud-0.2.0.tar.gz
| Download URL | nemau_cloud-0.2.0.tar.gz |
|---|---|
| Size | 92.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1debbb9bd0f33fe23bc5a3dfaccd585f917ca6f4035647a0269700bbbf56b064
|
|
BLAKE2b-256 checksum How to use checksums |
ae80f7fc95e83c1d26c67959f94dd52e69ee881e8aa689bf9725de109ee41413
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.
Transparency logRelease files / nemau_cloud-0.2.0-py3-none-any.whl
| Download URL | nemau_cloud-0.2.0-py3-none-any.whl |
|---|---|
| Size | 57.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fcda20212efd27a68c2d1a7b12c03fc92b4f8932199a8be650959227b94e74e6
|
|
BLAKE2b-256 checksum How to use checksums |
011d633eb4c47e34a5c7df9718b65b5c992af00cf2a564532807c23354d676d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.
Transparency logSecurity for nemau-cloud 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for nemau_cloud-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.