SDC Client
Project description
FIWARE SDC Python Client
================================
This is a client for Saggita SDC API. This API client has been developed in Python_. This client uses
the OpenStack Keystone service for authorization and service endpoint management.
Environment
-----------
**Prerequisites**
- `Python 2.7`__ or newer
- pip_ 6.0 or newer
- Additional libs that are required before installing dependencies: Python Development Tools (python-devel),
zlib-devel, bzip2-devel, openssl-devel, ncurses-devel, sqlite-devel, gcc
- SDC_
- `OpenStack Keystone service`_ v2 (so far, only Keystone v2 is supported for this client)
__ `Python - Downloads`_
**Installation**
All dependencies has been defined in ``requirements.txt``.
To install the last version of this client, download it from the GIT SDC repository (*master* branch)
and install it, using following command:
::
pip install -e " git+https://github.com/telefonicaid/fiware-sdc.git@master#egg=python-sdcclient&subdirectory=python-sdcclient"
Developed operations
---------------------
Following operations are already implemented:
**ProductAndRelease API Resource**
- Get All ProductAndRelease from SDC catalog
Python API
----------
An example of use of this client is:
::
from sdcclient.client import SDCClient
sdc_client = SDCClient(user, password, tenant_id, auth_url, region_name)
productandrelease_client = sdc_client.getProductAndReleaseResourceClient()
allproductreleases = productandrelease_client.get_productandrelease()
assertTrue(response.ok, "ERROR getting productandreleases {}. Response: {}".format(str(allproductreleases.content)))
.. REFERENCES
.. _Python: http://www.python.org/
.. _Python - Downloads: https://www.python.org/downloads/
.. _pip: https://pypi.python.org/pypi/pip
.. _SDC: https://github.com/telefonicaid/fiware-sdc
.. _`OpenStack Keystone service`: http://docs.openstack.org/developer/keystone/
================================
This is a client for Saggita SDC API. This API client has been developed in Python_. This client uses
the OpenStack Keystone service for authorization and service endpoint management.
Environment
-----------
**Prerequisites**
- `Python 2.7`__ or newer
- pip_ 6.0 or newer
- Additional libs that are required before installing dependencies: Python Development Tools (python-devel),
zlib-devel, bzip2-devel, openssl-devel, ncurses-devel, sqlite-devel, gcc
- SDC_
- `OpenStack Keystone service`_ v2 (so far, only Keystone v2 is supported for this client)
__ `Python - Downloads`_
**Installation**
All dependencies has been defined in ``requirements.txt``.
To install the last version of this client, download it from the GIT SDC repository (*master* branch)
and install it, using following command:
::
pip install -e " git+https://github.com/telefonicaid/fiware-sdc.git@master#egg=python-sdcclient&subdirectory=python-sdcclient"
Developed operations
---------------------
Following operations are already implemented:
**ProductAndRelease API Resource**
- Get All ProductAndRelease from SDC catalog
Python API
----------
An example of use of this client is:
::
from sdcclient.client import SDCClient
sdc_client = SDCClient(user, password, tenant_id, auth_url, region_name)
productandrelease_client = sdc_client.getProductAndReleaseResourceClient()
allproductreleases = productandrelease_client.get_productandrelease()
assertTrue(response.ok, "ERROR getting productandreleases {}. Response: {}".format(str(allproductreleases.content)))
.. REFERENCES
.. _Python: http://www.python.org/
.. _Python - Downloads: https://www.python.org/downloads/
.. _pip: https://pypi.python.org/pypi/pip
.. _SDC: https://github.com/telefonicaid/fiware-sdc
.. _`OpenStack Keystone service`: http://docs.openstack.org/developer/keystone/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file python-sdcclient-0.0.10.tar.gz
.
File metadata
- Download URL: python-sdcclient-0.0.10.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8ea1194fd99426ea8cfa4fda1594964eae3cb89a5b3ae6072a4075544b8908c |
|
MD5 | e13ee20929216bb16aab581386657b92 |
|
BLAKE2b-256 | 3cb4fc666ef9566c34ae1b9decbf73f035419573ecbfc0dc7608f50da0281ff8 |