Skip to main content

Central Dogma client in Python

PyPI version PyPI Supported Python Versions check Downloads

Python client library for Central Dogma.

Install

$ pip install centraldogma-python

Getting started

Only URL indicating CentralDogma server and access token are required.

>>> from centraldogma.dogma import Dogma
>>> dogma = Dogma("https://dogma.yourdomain.com", "token")
>>> dogma.list_projects()
[]

It supports client configurations.

>>> retries, max_connections = 5, 10
>>> dogma = Dogma("https://dogma.yourdomain.com", "token", retries=retries, max_connections=max_connections)

Please see examples folder for more detail.


Development

Tests

Unit test

$ pytest

Integration test

  1. Run local Central Dogma server with docker-compose

    $ docker-compose up -d
    
  2. Run integration tests

    $ INTEGRATION_TEST=true pytest
    
  3. Stop the server

    $ docker-compose down
    

Lint

Documentation

To build sphinx at local

$ pip install sphinx sphinx_rtd_theme
$ cd docs && make html

Metadata

Release files for centraldogma-python 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for centraldogma-python 0.6.0
File Size Uploaded Provenance
centraldogma_python-0.6.0.tar.gz 25.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for centraldogma-python 0.6.0
File Interpreter ABI Platform
centraldogma_python-0.6.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 59.2 kB

Release files / centraldogma_python-0.6.0.tar.gz

Download URL centraldogma_python-0.6.0.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ec13e93e855cc4cccc20fdabf33b85b243326fba105d3e4e3fa86ba9263d2b49
BLAKE2b-256 checksum
How to use checksums
b5a3c52faf70bde98905b166cf5f65d0ed1b424f82cffb636206bed95d0f4a54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / centraldogma_python-0.6.0-py2.py3-none-any.whl

Download URL centraldogma_python-0.6.0-py2.py3-none-any.whl
Size 34.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7b84e4b1b96df9e3d76785348a980fabf00be3e76af5183510ad69e1b4fe25d2
BLAKE2b-256 checksum
How to use checksums
b19d27c6413011988c6ee7d3b03f6f2a86889bb812aeeee6e48b60729ad3b7ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for centraldogma-python 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page