Skip to main content

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')

Metadata

Release files for python-adjutantclient 1.1.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-adjutantclient 1.1.0
File Size Uploaded Provenance Actions
python-adjutantclient-1.1.0.tar.gz 26.4 kB Without provenance Details for python-adjutantclient-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-adjutantclient 1.1.0
File Interpreter ABI Platform Actions
python_adjutantclient-1.1.0-py3-none-any.whl Python 3 none any Details for python_adjutantclient-1.1.0-py3-none-any.whl

Total release size: 66.7 kB

Release files / python-adjutantclient-1.1.0.tar.gz

Download URL python-adjutantclient-1.1.0.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b927ae57e8d03b533481a8b264b140edb8e48d3207dcb7c31ee196c881127d8c
BLAKE2b-256 checksum
How to use checksums
aca871d1ffa752e9e7a50a5832fd75d0c6207cea32e15b8918063449ed4c7367
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Release files / python_adjutantclient-1.1.0-py3-none-any.whl

Download URL python_adjutantclient-1.1.0-py3-none-any.whl
Size 40.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
117e7c43521f2451eb687a16e3a5489264ef97f2fa3d9b56fd8aea9505f074c1
BLAKE2b-256 checksum
How to use checksums
8ebe8c74c6ea5eedd3090131a6ce38313956383440276bfe3476ea51f395852f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Security for python-adjutantclient 1.1.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.

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