Skip to main content

dalmatiner-python-client

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: https://docs.dalmatiner.io/en/latest/proto.html

Docs for the http api: https://docs.dalmatiner.io/en/latest/http_api.html

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:

Erlang: https://github.com/dalmatinerdb/ddb_client

status

  • 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

import time
from ddbpy.client import Send

dfe = ('127.0.0.1', 5555)

bucket = 'test'

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

Metadata

Release files for ddbpy3 0.0.1

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

Source distribution (sdist)

Source distribution for ddbpy3 0.0.1
File Size Uploaded Provenance Actions
ddbpy3-0.0.1.tar.gz 4.4 kB Without provenance Details for ddbpy3-0.0.1.tar.gz

Release files / ddbpy3-0.0.1.tar.gz

Download URL ddbpy3-0.0.1.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ab546223601a61a1817ff22e8a3ecec5754ee6dabd1f6ddfb856886f9bff3fd4
BLAKE2b-256 checksum
How to use checksums
e369df364adee62b06337e10b3f614a9090b97b5d507c5bfe3b7290b30df9a43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ddbpy3 0.0.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

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