655719d6c9
The discover package is part of Python 2.7, so we don't need to explicitely require it. It's by the way annoying for distribution package maintainers, as the file has to be patched. Keystone team has decided to drop python 2.6 support[1], so, it's safe to remove it from test-requirements.txt. [1] http://eavesdrop.openstack.org/meetings/keystone/2015/keystone.2015-11-24-17.59.html Related-Bug: #1519449 Co-Authored-By: Thomas Goirand <thomas@goirand.fr> Change-Id: I5bb258a4b305c0084be50bc22fe7a0e6a4f65aad |
||
---|---|---|
doc | ||
examples/pki | ||
keystoneclient | ||
python-keystoneclient/locale | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
bandit.yaml | ||
openstack-common.conf | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Python bindings to the OpenStack Identity API (Keystone)
This is a client for the OpenStack Identity API, implemented by the
Keystone team; it contains a Python API (the keystoneclient
module) for OpenStack's Identity Service. For command line interface
support, use OpenStackClient.
- PyPi - package installation
- Online Documentation
- Launchpad project - release management
- Blueprints - feature specifications
- Bugs - issue tracking
- Source
- Specs
- How to Contribute
Contents:
Python API
By way of a quick-start:
# use v2.0 auth with http://example.com:5000/v2.0
>>> from keystoneclient.v2_0 import client
>>> keystone = client.Client(username=USERNAME, password=PASSWORD, tenant_name=TENANT, auth_url=AUTH_URL)
>>> keystone.tenants.list()
>>> tenant = keystone.tenants.create(tenant_name="test", description="My new tenant!", enabled=True)
>>> tenant.delete()