Skip to main content

Dalmatiner Python Client

Project description

.. _readme:


.. code-block:: none

pip install --upgrade ddbpy

A client that sends metrics into Dalmatiner DB over the binary protocol and wraps the http front end for queries.

Docs for the binary protocol:

Docs for the http api:

This client aims for correctness and simplicity first. Therefore it will remain pure python and synchronous. If you need an asynchronous client then please fork and modify and we'll be happy to link back from this page below.

Other known libraries:



* metric sending works
* bucket and metric listing works via the binary protocol (this needs to be removed)
* query via the http api has not been added yet

Pull requests welcome.

`example usage`_

.. code-block:: none

import time
from ddbpy.client import Send

dfe = ('', 5555)

bucket = 'test'

with Send(dfe) as send:
while True:
ts = int(time.time())
value = "123.456"
metric = "float"
send.send_payload(metric, ts, value)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ddbpy, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size ddbpy-0.0.4.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page