Skip to main content

Adjutant API Client Library

Project description

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

In order to use the python api directly, you must first obtain an auth token and identify which endpoint you wish to speak to:

>>> adjutant_url = 'http://adjutant.example.org:8004/v1/'
>>> auth_token = '3bcc3d3a03f44e3d8377f9247b0ad155'

Once you have done so, you can use the API like so:

>>> from adjutantclient.client import Client
>>> adjutant = Client('1', endpoint=adjutant_url, token=auth_token)

An auth token isn’t needed for accessing signup, user.password_forgot(), token.submit() or token.get().

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-adjutantclient-0.2.2.dev1.tar.gz (23.4 kB view details)

Uploaded Source

File details

Details for the file python-adjutantclient-0.2.2.dev1.tar.gz.

File metadata

File hashes

Hashes for python-adjutantclient-0.2.2.dev1.tar.gz
Algorithm Hash digest
SHA256 5080eced276f004abeaea81b62c4cf3a0563991c7100e360a7164c631597c7e5
MD5 f2d47bc51e46300dba7e12778db27f13
BLAKE2b-256 b7a6c46790bcf52de708d5ecb3a4444d76686042cb55aae493cac9e90138d1be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page