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.3.0.tar.gz
(19.2 kB
view hashes)
Built Distribution
Close
Hashes for centraldogma-python-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eba3a7ba0aebfd8fec6db13217d60987768dfe2869ecdf1387ca244494584849 |
|
MD5 | b1903a59ca9f45012ecc9560ea3318b7 |
|
BLAKE2b-256 | b7b547c30e5f97db21a120992fd81efbaf32b92a08dd3307e7c5356d586fde27 |
Close
Hashes for centraldogma_python-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e630c569ace741c01f8a3da78c136d28550f07a0531a958bc169ae11f90307c |
|
MD5 | 25c0490dc074b67610bbe96110e67c8a |
|
BLAKE2b-256 | 8a5b8f800c21d8f243f4a78e39e95c1a5e977edaae8a0c329459c45635d75992 |