python-keystoneclient


Namepython-keystoneclient JSON
Version 5.4.0 PyPI version JSON
download
home_pagehttps://docs.openstack.org/python-keystoneclient/latest/
SummaryClient Library for OpenStack Identity
upload_time2024-03-01 13:54:10
maintainer
docs_urlNone
authorOpenStack
requires_python>=3.8
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ========================
Team and repository tags
========================

.. image:: https://governance.openstack.org/tc/badges/python-keystoneclient.svg
    :target: https://governance.openstack.org/tc/reference/tags/index.html

.. Change things from this point on

Python bindings to the OpenStack Identity API (Keystone)
========================================================

.. image:: https://img.shields.io/pypi/v/python-keystoneclient.svg
    :target: https://pypi.org/project/python-keystoneclient/
    :alt: Latest Version

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`_
* `Release Notes`_

.. _PyPi: https://pypi.org/project/python-keystoneclient
.. _Online Documentation: https://docs.openstack.org/python-keystoneclient/latest/
.. _Launchpad project: https://launchpad.net/python-keystoneclient
.. _Blueprints: https://blueprints.launchpad.net/python-keystoneclient
.. _Bugs: https://bugs.launchpad.net/python-keystoneclient
.. _Source: https://opendev.org/openstack/python-keystoneclient
.. _OpenStackClient: https://pypi.org/project/python-openstackclient
.. _How to Contribute: https://docs.openstack.org/infra/manual/developers.html
.. _Specs: https://specs.openstack.org/openstack/keystone-specs/
.. _Release Notes: https://docs.openstack.org/releasenotes/python-keystoneclient

.. contents:: Contents:
   :local:

Python API
----------

By way of a quick-start::

    >>> from keystoneauth1.identity import v3
    >>> from keystoneauth1 import session
    >>> from keystoneclient.v3 import client
    >>> auth = v3.Password(auth_url="http://example.com:5000/v3", username="admin",
    ...                     password="password", project_name="admin",
    ...                     user_domain_id="default", project_domain_id="default")
    >>> sess = session.Session(auth=auth)
    >>> keystone = client.Client(session=sess)
    >>> keystone.projects.list()
        [...]
    >>> project = keystone.projects.create(name="test", description="My new Project!", domain="default", enabled=True)
    >>> project.delete()




            

Raw data

            {
    "_id": null,
    "home_page": "https://docs.openstack.org/python-keystoneclient/latest/",
    "name": "python-keystoneclient",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "OpenStack",
    "author_email": "openstack-discuss@lists.openstack.org",
    "download_url": "https://files.pythonhosted.org/packages/10/67/16b204d96216c57606b352388283fb743e09d85560860ca666baf4876210/python-keystoneclient-5.4.0.tar.gz",
    "platform": null,
    "description": "========================\nTeam and repository tags\n========================\n\n.. image:: https://governance.openstack.org/tc/badges/python-keystoneclient.svg\n    :target: https://governance.openstack.org/tc/reference/tags/index.html\n\n.. Change things from this point on\n\nPython bindings to the OpenStack Identity API (Keystone)\n========================================================\n\n.. image:: https://img.shields.io/pypi/v/python-keystoneclient.svg\n    :target: https://pypi.org/project/python-keystoneclient/\n    :alt: Latest Version\n\nThis is a client for the OpenStack Identity API, implemented by the Keystone\nteam; it contains a Python API (the ``keystoneclient`` module) for\nOpenStack's Identity Service. For command line interface support, use\n`OpenStackClient`_.\n\n* `PyPi`_ - package installation\n* `Online Documentation`_\n* `Launchpad project`_ - release management\n* `Blueprints`_ - feature specifications\n* `Bugs`_ - issue tracking\n* `Source`_\n* `Specs`_\n* `How to Contribute`_\n* `Release Notes`_\n\n.. _PyPi: https://pypi.org/project/python-keystoneclient\n.. _Online Documentation: https://docs.openstack.org/python-keystoneclient/latest/\n.. _Launchpad project: https://launchpad.net/python-keystoneclient\n.. _Blueprints: https://blueprints.launchpad.net/python-keystoneclient\n.. _Bugs: https://bugs.launchpad.net/python-keystoneclient\n.. _Source: https://opendev.org/openstack/python-keystoneclient\n.. _OpenStackClient: https://pypi.org/project/python-openstackclient\n.. _How to Contribute: https://docs.openstack.org/infra/manual/developers.html\n.. _Specs: https://specs.openstack.org/openstack/keystone-specs/\n.. _Release Notes: https://docs.openstack.org/releasenotes/python-keystoneclient\n\n.. contents:: Contents:\n   :local:\n\nPython API\n----------\n\nBy way of a quick-start::\n\n    >>> from keystoneauth1.identity import v3\n    >>> from keystoneauth1 import session\n    >>> from keystoneclient.v3 import client\n    >>> auth = v3.Password(auth_url=\"http://example.com:5000/v3\", username=\"admin\",\n    ...                     password=\"password\", project_name=\"admin\",\n    ...                     user_domain_id=\"default\", project_domain_id=\"default\")\n    >>> sess = session.Session(auth=auth)\n    >>> keystone = client.Client(session=sess)\n    >>> keystone.projects.list()\n        [...]\n    >>> project = keystone.projects.create(name=\"test\", description=\"My new Project!\", domain=\"default\", enabled=True)\n    >>> project.delete()\n\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Client Library for OpenStack Identity",
    "version": "5.4.0",
    "project_urls": {
        "Homepage": "https://docs.openstack.org/python-keystoneclient/latest/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "22d4ed2d06aff0a9e8405d3774617f93c45e1a6775dee71303c8835c7deab7b5",
                "md5": "43659a6af9d640e4db94e5ae46ef1b86",
                "sha256": "9918043849032f387a0000104c553aac5ace02918a6b7afcdb99690164029867"
            },
            "downloads": -1,
            "filename": "python_keystoneclient-5.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "43659a6af9d640e4db94e5ae46ef1b86",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 397212,
            "upload_time": "2024-03-01T13:54:07",
            "upload_time_iso_8601": "2024-03-01T13:54:07.750848Z",
            "url": "https://files.pythonhosted.org/packages/22/d4/ed2d06aff0a9e8405d3774617f93c45e1a6775dee71303c8835c7deab7b5/python_keystoneclient-5.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "106716b204d96216c57606b352388283fb743e09d85560860ca666baf4876210",
                "md5": "979afb64a510d34186fe606fd9df19d1",
                "sha256": "b2b4bdbe9daf7b0b353b8807672eeed01f87dd03b4f8b42d0d061b09b8931f41"
            },
            "downloads": -1,
            "filename": "python-keystoneclient-5.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "979afb64a510d34186fe606fd9df19d1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 324151,
            "upload_time": "2024-03-01T13:54:10",
            "upload_time_iso_8601": "2024-03-01T13:54:10.292226Z",
            "url": "https://files.pythonhosted.org/packages/10/67/16b204d96216c57606b352388283fb743e09d85560860ca666baf4876210/python-keystoneclient-5.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-01 13:54:10",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "python-keystoneclient"
}
        
Elapsed time: 0.22375s