Skip to main content

oblidog-client

Python client for the Oblidog integration API.

Use the handwritten OblidogClient facade in application code. The oblidog_client.generated namespace is OpenAPI-generated transport code and is an implementation detail, not the recommended SDK API.

Installation

pip install oblidog-client

Usage

import datetime

from oblidog_client import OblidogClient

with OblidogClient(base_url="https://oblidog.example.com", api_key="fdg_live_...") as client:
    with client.integrations.run() as run:
        client.category_data.create(
            observed_at=datetime.datetime.now(datetime.UTC),
            data={"meter_reading_kwh": 1234.5},
        )
        run.finish_success(changes_detected=True)

The integration API key selects its integration and category. Use client.integrations.run() around synchronization work: it reads context and starts a run before the block, then reports a sanitized failure if the block raises.

Documentation

The full documentation is published at oblidog.github.io/oblidog-client-python. It includes a quickstart, public API reference, and supported API boundary; it intentionally excludes generated endpoints and transport classes.

Development

This project uses uv for dependency and environment management. The low-level client is generated from the Oblidog Ledger integration OpenAPI contract; generated code should not be edited manually.

Use Commitizen to create Conventional Commit messages interactively, or to validate one non-interactively:

uv run cz commit
uv run cz check -m "feat: add a new capability"

Run the same distribution verification used by CI locally:

./scripts/verify-package.sh

The command builds the wheel and source distribution, validates their metadata and contents, installs the wheel into a clean environment, and checks the installed public API. It does not publish any artifacts.

Release maintainers should follow the Trusted Publishing setup and release procedure.

Download files

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

Source Distribution

oblidog_client-0.1.1.tar.gz (110.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oblidog_client-0.1.1-py3-none-any.whl (68.6 kB view details)

Uploaded Python 3

File details

Details for the file oblidog_client-0.1.1.tar.gz.

File metadata

  • Download URL: oblidog_client-0.1.1.tar.gz
  • Upload date:
  • Size: 110.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for oblidog_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9921280e8df2db27918cc41c94f91b41279e8384b4f0c3359f0492dac7497dca
MD5 311c66198111e266051df4a1c3eee6c0
BLAKE2b-256 9bad82383240fb315952870ccf158e88ac35d376424908e94f920e57cf40fd59

See more details on using hashes here.

Provenance

The following attestation bundles were made for oblidog_client-0.1.1.tar.gz:

Publisher: release.yml on oblidog/oblidog-client-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oblidog_client-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: oblidog_client-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 68.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for oblidog_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf024e695c324acc76df6628e2af3347169cf96dd575609b9a8fd26effcfe7d0
MD5 5ab6d2cfd5bf0dcefe7c2ad50ad7e2bd
BLAKE2b-256 48c33fdd805733a962a74bb05877c07aed19705322b2b271f595445464e54093

See more details on using hashes here.

Provenance

The following attestation bundles were made for oblidog_client-0.1.1-py3-none-any.whl:

Publisher: release.yml on oblidog/oblidog-client-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.2

2 files

This release

0.1.1 This release

2 files

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