A library to handle official service types for OpenStack and their historical aliases.
Go to file
Federico Ressi a372532fd9 Close descriptor after reading file.
This change has been motivated by below ResourceWarning Python3
is emitting when using this library:

  ResourceWarning: unclosed file <_io.TextIOWrapper name='.../site-packages/os_service_types/data/service-types.json' mode='r' encoding='UTF-8'>
    return json.load(open(os.path.join(DATA_DIR, filename), 'r'))

Change-Id: Id86cdedab44bf4096185ced2ed6b9379a71bc3e1
2018-08-28 08:22:44 +02:00
doc/source Implement fetching and accessor methods 2017-07-19 13:18:14 +09:00
os_service_types Close descriptor after reading file. 2018-08-28 08:22:44 +02:00
releasenotes Add missing release notes 2018-08-07 07:57:15 -05:00
.coveragerc Add cookiecutter boilerplate 2017-07-14 13:43:28 -04:00
.gitignore Switch to stestr 2018-07-24 09:18:54 -05:00
.gitreview Added .gitreview 2017-07-07 09:49:43 +00:00
.mailmap Add cookiecutter boilerplate 2017-07-14 13:43:28 -04:00
.stestr.conf Switch to stestr 2018-07-24 09:18:54 -05:00
.zuul.yaml add python 3.6 unit test job 2018-08-21 16:23:55 +00:00
CONTRIBUTING.rst Add cookiecutter boilerplate 2017-07-14 13:43:28 -04:00
HACKING.rst Add cookiecutter boilerplate 2017-07-14 13:43:28 -04:00
LICENSE Add cookiecutter boilerplate 2017-07-14 13:43:28 -04:00
README.rst Add release note link in README 2018-06-27 16:39:58 +00:00
requirements.txt Add cookiecutter boilerplate 2017-07-14 13:43:28 -04:00
setup.cfg Add cookiecutter boilerplate 2017-07-14 13:43:28 -04:00
setup.py Add cookiecutter boilerplate 2017-07-14 13:43:28 -04:00
test-requirements.txt Switch to stestr 2018-07-24 09:18:54 -05:00
tox.ini Switch to stestr 2018-07-24 09:18:54 -05:00

README.rst

os-service-types

Python library for consuming OpenStack sevice-types-authority data

The OpenStack Service Types Authority contains information about official OpenStack services and their historical service-type aliases.

The data is in JSON and the latest data should always be used. This simple library exists to allow for easy consumption of the data, along with a built-in version of the data to use in case network access is for some reason not possible and local caching of the fetched data.