AdjutantClient is a command-line and python client for Adjutant.
Getting Started
Adjutant Client can be installed from PyPI using pip:
pip install python-openstackclient python-adjutantclient
The command line client is installed as a plugin for the OpenStack client.
Python API
You can use the API with a keystone session:
>>> from keystoneauth1 import session >>> from keystoneauth1.identity import v3 >>> from adjutantclient.client import Client >>> auth = v3.Password(auth_url='http://keystone.host/v3', username='user', password='password', project_name='demo', user_domain_name='default', project_domain_name='default')>>> sess = session.Session(auth=auth) >>> adjutant = Client('1', session=sess)
If you use a clouds.yaml file os_client_config can also be used:
>>> import os_client_config
>>> sess = os_client_config.make_rest_client('admin-logic')
>>> adjutant = Client('1', session=sess)
A few of the endpoints (users.password_forgot(), token.submit(), signup, token.get()) don’t require authentication. In this case you can instead just pass an endpoint override to the adjutant client constructor.
>>> from adjutantclient.client import Client
>>> adjutant = Client('1', endpoint='http://adjutant.host/v1')
Release files for python-adjutantclient 1.6.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 | |
|---|---|---|---|
| python_adjutantclient-1.6.0.tar.gz | 28.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_adjutantclient-1.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 68.9 kB
Release files / python_adjutantclient-1.6.0.tar.gz
| Download URL | python_adjutantclient-1.6.0.tar.gz |
|---|---|
| Size | 28.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbf3a5e6d4ad0c14233db639e5e3aa542e9b1759fdd9af9ef0bafd880a55089a
|
|
BLAKE2b-256 checksum How to use checksums |
2d7cb75df660a36951f36eb4e44f72ee8e7f091c23070f01574589d004017a76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / python_adjutantclient-1.6.0-py3-none-any.whl
| Download URL | python_adjutantclient-1.6.0-py3-none-any.whl |
|---|---|
| Size | 40.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
515159e24ff16caef81c8d5b23a95c4fb2a8cfe5e15e3cd9e9860bb5a59a6311
|
|
BLAKE2b-256 checksum How to use checksums |
031d08ad48602f48de6c10912757681781df9cf4936e2ad14b59dbb3ee5d9ec6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|