{"library":"python-manilaclient","title":"OpenStack Manila Client (python-manilaclient)","description":"Python client library for the OpenStack Shared File Systems API (Manila). Current version 6.0.0, requires Python >=3.10. Release follows OpenStack cycle.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install python-manilaclient"],"cli":{"name":"manila","version":"sh: 1: manila: not found"}},"imports":["from manilaclient import client","from manilaclient import exceptions","from manilaclient import shell"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os\nfrom manilaclient import client\n\n# Use version 2 (default) or 1\nversion = '2'\nos_username = os.environ.get('OS_USERNAME', '')\nos_password = os.environ.get('OS_PASSWORD', '')\nos_tenant_name = os.environ.get('OS_TENANT_NAME', '')\nos_auth_url = os.environ.get('OS_AUTH_URL', '')\n\n# Authenticate and create client\nmanila_client = client.Client(version, os_username, os_password, os_tenant_name, os_auth_url)\n\n# List shares\nshares = manila_client.shares.list()\nprint(shares)","lang":"python","description":"Authenticate and list shares.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}