Skip to main content

intellistream-datahub-sdk

Python bindings for the IntelliStream DataHub SDK — a client for the DataHub REST API, implemented in Rust and exposed to Python with PyO3.

pip install intellistream-datahub-sdk
from datetime import datetime, timezone

import intellistream_datahub_sdk as dh

client = dh.DataHubClient.from_envfile(".env")

# Create a time series, then ingest a datapoint into it.
client.timeseries.create([dh.TimeSeries(external_id="sensor_1", name="Sensor 1")])
client.timeseries.insert_from_lists(
    timestamps=[datetime.now(timezone.utc)],
    values=[21.5],
    ts="sensor_1",
)

# Find the alarms.
alarms = client.events.filter(type="ALARM", limit=100)

# The same criteria, kept as an object, so one definition can be filtered and searched with.
ALARMS = dh.EventFilter(type="ALARM")
recent = client.events.filter(filter=ALARMS, limit=100, sort_by="eventTime", sort_order="desc")
matches = client.events.search("bearing", filter=ALARMS)

Every filter() takes either the criteria as keywords or a prepared filter= object — passing both is a TypeError. limit, sort_by, sort_order and cursor are always arguments of the call rather than fields of the filter, so a stored filter carries no paging state into its next use.

Both a synchronous and an asynchronous client are available — DataHubClient and AsyncDataHubClient. The async one exposes the same services with awaitable methods.

Anywhere an entity is identified you may pass its external id, its numeric id, an IdCollection, or the entity itself.

What it covers

Service Highlights
timeseries time-series CRUD, datapoint ingestion and retrieval
events event CRUD, filter/search, and the type/sub-type/status/source vocabularies
resources hierarchical assets, plus relationship edges between them
files upload, download, directory listing, move/rename, trash and restore
datasets dataset CRUD and search
labels label CRUD
subscriptions subscription CRUD and WebSocket listening
functions function registration and lookup
units unit lookup

Configuration

The client reads its configuration from a .env file or the environment:

  • BASE_URL — the backend root, e.g. https://datahub.example.com
  • either TOKEN — a bearer token used as-is
  • or CLIENT_ID, CLIENT_SECRET and TOKEN_URI — an OAuth2 client-credentials exchange

Type hints

The package ships py.typed and a full .pyi stub, so mypy and IDE completion work out of the box.

License

Apache License 2.0 — see LICENSE.

Source: https://github.com/IntelliStream-DataHub/dataplatform-rust-sdk

Metadata

Release files for intellistream-datahub-sdk 1.0.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 intellistream-datahub-sdk 1.0.0
File Size Uploaded Provenance Actions
intellistream_datahub_sdk-1.0.0.tar.gz 426.8 kB Without provenance Details for intellistream_datahub_sdk-1.0.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for intellistream-datahub-sdk 1.0.0
File Actions
intellistream_datahub_sdk-1.0.0-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details for intellistream_datahub_sdk-1.0.0-cp39-abi3-win_arm64.whl
intellistream_datahub_sdk-1.0.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for intellistream_datahub_sdk-1.0.0-cp39-abi3-win_amd64.whl
intellistream_datahub_sdk-1.0.0-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details for intellistream_datahub_sdk-1.0.0-cp39-abi3-musllinux_1_2_x86_64.whl
intellistream_datahub_sdk-1.0.0-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details for intellistream_datahub_sdk-1.0.0-cp39-abi3-musllinux_1_2_aarch64.whl
intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details for intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_28_aarch64.whl
intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-32 Details for intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl CPython 3.9 abi3 Linux glibc 2.17+ ARMv7l Details for intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
intellistream_datahub_sdk-1.0.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for intellistream_datahub_sdk-1.0.0-cp39-abi3-macosx_11_0_arm64.whl
intellistream_datahub_sdk-1.0.0-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for intellistream_datahub_sdk-1.0.0-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 90.5 MB

Release files / intellistream_datahub_sdk-1.0.0.tar.gz

Download URL intellistream_datahub_sdk-1.0.0.tar.gz
Size 426.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0a02f72f39c569b89ada365668cccec43e7e13b331c07e2ea4ccbf7468b00f80
BLAKE2b-256 checksum
How to use checksums
5e63dcb833286e5763ef0f8fd2ba5d82256242de905aa361f87119d2a3959c7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / intellistream_datahub_sdk-1.0.0-cp39-abi3-win_arm64.whl

Download URL intellistream_datahub_sdk-1.0.0-cp39-abi3-win_arm64.whl
Size 7.4 MB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
db2cd197bd42c6165eeb8c68bd5097b0410032f69317870f0e70196d24b403e9
BLAKE2b-256 checksum
How to use checksums
0a7809b72625d26c6d984742c6215f766bb4233f7846fb680fe155ecbd4d456e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / intellistream_datahub_sdk-1.0.0-cp39-abi3-win_amd64.whl

Download URL intellistream_datahub_sdk-1.0.0-cp39-abi3-win_amd64.whl
Size 8.2 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
72be3b4e9d623ba3cddc6e009ffcc733103b3c4972713be9c25286b36be85ac5
BLAKE2b-256 checksum
How to use checksums
6a54bc16e2efda9dce56f0f98ac4d008aca167cd79341f8ffcd74a043a545e14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / intellistream_datahub_sdk-1.0.0-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL intellistream_datahub_sdk-1.0.0-cp39-abi3-musllinux_1_2_x86_64.whl
Size 10.0 MB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
3268784a03fae8e3352e5681465aa3d66af2ccbe73189b882a99330b984c83af
BLAKE2b-256 checksum
How to use checksums
eec8ece466afe6126e6d43eb493c610618067d62a089c71f4579eaab9f12ffc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / intellistream_datahub_sdk-1.0.0-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL intellistream_datahub_sdk-1.0.0-cp39-abi3-musllinux_1_2_aarch64.whl
Size 9.9 MB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
eb3dfb9277c551b48ef70d5ff4c43ebed7be60b6dd601838651855e95d0d3408
BLAKE2b-256 checksum
How to use checksums
2840781c804364eaf66203f681ff917339072da9c25a1e7302aaae95148c03ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_28_aarch64.whl
Size 9.7 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
23c42c6acc9d351f6caf61598dedd89a50e063ae1e8e36ddb696e398f764ccff
BLAKE2b-256 checksum
How to use checksums
5a6a02d762659f563e721a7fb0caf5da78bf2cf55d546fb5c05fc5f4c7c95974
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 9.0 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
9bb42a6fc6d2bf4d6e95ac9a01ec9f0d9d34cacaf8da68dc4d356a06032cb25a
BLAKE2b-256 checksum
How to use checksums
6669f8ff6c28307d6cb16e2be7cc8d0f79809ef3d9b6a328bc0d5b363ef45d9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl

Download URL intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Size 10.1 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-32 abi3
SHA-256 checksum
How to use checksums
3c50e4fb8c2cc8b0dad965f998bdb103e359d2faf01ccdb214ab938c02ad2fbe
BLAKE2b-256 checksum
How to use checksums
24f92dc3381bfd50f4c85879c5bdf802e155df7439ae217e6d67461280695dde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL intellistream_datahub_sdk-1.0.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 9.2 MB
Tags CPython 3.9 Linux glibc 2.17+ ARMv7l abi3
SHA-256 checksum
How to use checksums
de1ea1ae34e4a0db0a38edf3019de72aa304c8a7c7d3a811365951b51ee876cf
BLAKE2b-256 checksum
How to use checksums
4f8ff89ecb1ef0b172d77c6f8e2a814387aa2b078eaea21ac0f4553551d17f91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / intellistream_datahub_sdk-1.0.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL intellistream_datahub_sdk-1.0.0-cp39-abi3-macosx_11_0_arm64.whl
Size 8.2 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
89dc111b6ec1b6b84fd9d77dc81c9eb56ac675017608792810b32135afca0bbb
BLAKE2b-256 checksum
How to use checksums
1f905703d8babbb1f16c51bf2f75443810737457bee22034e6e3eda35eb379d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / intellistream_datahub_sdk-1.0.0-cp39-abi3-macosx_10_12_x86_64.whl

Download URL intellistream_datahub_sdk-1.0.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 8.3 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
eab27a23c8475157fddc39eae6b2dfea39ca0b82afd03c0db31f7fa06a65e775
BLAKE2b-256 checksum
How to use checksums
be2920d85a0df650e4a1d966d4aeb80e6b92e6e899cbbeec5f970c8959894401
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for intellistream-datahub-sdk 1.0.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.

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

11 release files 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