Central Dogma client in Python
Project description
Central Dogma client in Python
Python client library for Central Dogma
🚧 WIP - Initial development is in progress 🚧
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.0.2.tar.gz
(18.5 kB
view hashes)
Built Distribution
Close
Hashes for centraldogma-python-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ddf9a93202a9867ba991c12f34061407010a6199ef3e4078c03efce3db540f0 |
|
MD5 | c81465d80ca9780e5deed656c1fbbe3e |
|
BLAKE2b-256 | cc97ed6bc604c42ed7eff492a493bf261bd2b8d2e07a820ed95d47ae0f63813d |
Close
Hashes for centraldogma_python-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd4d4f9f2824e0d81eca47b58fb43f9081fcdcce79ebf8f9dd0f8d789c258526 |
|
MD5 | 826d4debf297f62cecd78265547bf522 |
|
BLAKE2b-256 | b4832710fbd8786c95a9608ec4a91e91d67294937ab7749d8496f1a245cc68a7 |