Skip to main content

Python bindings to the OpenStack Manila API

https://governance.openstack.org/tc/badges/python-manilaclient.svg

This is a client for the OpenStack Manila API. There’s a Python API (the manilaclient module), and a command-line script (manila). Each implements 100% of the OpenStack Manila API.

See the OpenStack CLI guide for information on how to use the manila command-line tool. You may also want to look at the OpenStack API documentation.

Bugs for the project can be filed on Launchpad. The code is hosted on OpenDev, and is mirrored to GitHub. Patches must be submitted using Gerrit, not Github pull requests.

This code is a fork of Cinderclient of Grizzly release and then it was developed separately. Cinderclient code is a fork of Jacobian’s python-cloudservers If you need API support for the Rackspace API solely or the BSD license, you should use that repository. python-manilaclient is licensed under the Apache License like the rest of OpenStack.

Command-line API

Installing this package gets you a shell command, manila, that you can use to interact with the OpenStack Manila API.

You’ll need to provide your OpenStack username and password. You can do this with the --os-username, --os-password and --os-project-name params, but it’s easier to just set them as environment variables:

export OS_USERNAME=foouser
export OS_PASSWORD=barpass
export OS_PROJECT_NAME=fooproject

You will also need to define the authentication url either with param --os-auth-url or as an environment variable:

export OS_AUTH_URL=http://example.com:5000/v3/

Since Keystone can return multiple regions in the Service Catalog, you can specify the one you want with --os-region-name (or export OS_REGION_NAME). It defaults to the first in the list returned.

You’ll find complete documentation on the shell by running manila help, see manila help COMMAND for help on a specific command.

Python API

There’s also a complete Python API, but it has not yet been documented.

Quick-start using keystone:

# use v3 auth with http://example.com:5000/v3/
>>> from manilaclient.v2 import client
>>> nt = client.Client("2", USER, PASS, PROJECT, AUTH_URL, service_type="share")
>>> nt.shares.list()
[...]

Metadata

Release files for python-manilaclient 6.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-manilaclient 6.4.0
File Size Uploaded Provenance Actions
python_manilaclient-6.4.0.tar.gz 311.7 kB Without provenance Details for python_manilaclient-6.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-manilaclient 6.4.0
File Interpreter ABI Platform Actions
python_manilaclient-6.4.0-py3-none-any.whl Python 3 none any Details for python_manilaclient-6.4.0-py3-none-any.whl

Total release size: 728.2 kB

Release files / python_manilaclient-6.4.0.tar.gz

Download URL python_manilaclient-6.4.0.tar.gz
Size 311.7 kB
Tags Source
SHA-256 checksum
How to use checksums
20d13c802f68dab33c04b204a4b8864908b4b6eb6794cc6ee5b92385e6156943
BLAKE2b-256 checksum
How to use checksums
88e43255e451e799ac437bc164f941ad434a06534d6542082d2ec414c9e8ff25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / python_manilaclient-6.4.0-py3-none-any.whl

Download URL python_manilaclient-6.4.0-py3-none-any.whl
Size 416.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32128fc361f09172fb52517e6f8b3ed2ba42eda78b9b934a65839227b9b49c6b
BLAKE2b-256 checksum
How to use checksums
3a0cc794f49f4873f8c1550df5609246cde7ad19934e845f41e003858ad62fd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for python-manilaclient 6.4.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

6.4.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page