Python client library for Central Dogma
Project description
Central Dogma client in Python
Python client library for Central Dogma
Install
$ pip install centraldogma-python
Getting started
>>> from centraldogma.dogma import Dogma
>>> dogma = Dogma("https://dogma.yourdomain.com", "token")
>>> dogma.list_projects()
[]
Please see examples
folder for more detail.
Development
Tests
Unit test
$ pytest
Integration test
- Run local Central Dogma server with docker-compose
$ docker-compose up -d
- Run integration tests
$ INTEGRATION_TEST=true pytest
- Stop the server
$ docker-compose down
Lint
$ black .
Documentation
To build sphinx at local
$ pip install sphinx sphinx_rtd_theme
$ cd docs && make html
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
centraldogma-python-0.2.0.tar.gz
(19.1 kB
view hashes)
Built Distribution
Close
Hashes for centraldogma-python-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e64d2e50370e8c72b563fd25c880060fbbe8bba2c1796e05c8edc6af3ca7720f |
|
MD5 | 3af71df6dec06545c3c87db3ed59b7f7 |
|
BLAKE2b-256 | 2e3718d1cf62045667ae32e482e3d5e7f3877a7e37799bc4b6c4e4f19ba56d78 |
Close
Hashes for centraldogma_python-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 907991fcffb2900ceda4ba237b88085e22845b38fc3e9ab63f251c7014530028 |
|
MD5 | 9e1fd714bce6732f478555d58ea8ff85 |
|
BLAKE2b-256 | d9e05031bd27f8f062a197b2727630a35b2cc909572c953cc6517a04fcb49c93 |