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(
dh.EventFilterForm(filter=dh.EventFilter(type="ALARM"), limit=100)
)
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_SECRETandTOKEN_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 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| intellistream_datahub_sdk-0.2.0.tar.gz | 310.8 kB | Without provenance | Details for intellistream_datahub_sdk-0.2.0.tar.gz |
Built distributions (wheels)
Total release size: 73.7 MB
Release files / intellistream_datahub_sdk-0.2.0.tar.gz
| Download URL | intellistream_datahub_sdk-0.2.0.tar.gz |
|---|---|
| Size | 310.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f447384b80d950494c03518b6968319a19e56f6e912423efaea0856fe2c32c2e
|
|
BLAKE2b-256 checksum How to use checksums |
1bed02b95b3ec453b04a4040b6322bb216ad500f6e57d05571395d747d006525
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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-0.2.0-cp39-abi3-win_arm64.whl
| Download URL | intellistream_datahub_sdk-0.2.0-cp39-abi3-win_arm64.whl |
|---|---|
| Size | 6.0 MB |
| Tags | CPython 3.9 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
c940eba7457d92f3723153469a17f373cab83d8722faac172ce912d1eb47c459
|
|
BLAKE2b-256 checksum How to use checksums |
74ed09823d18f62b813a3ee7fbdaf9fe62e372071c4734cd92db0b8b0b019d62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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-0.2.0-cp39-abi3-win_amd64.whl
| Download URL | intellistream_datahub_sdk-0.2.0-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 6.6 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
c9d84193f39a1c49796148f87d6926978d8b9d8fc846f70ae9714c1d2259ce00
|
|
BLAKE2b-256 checksum How to use checksums |
dcf0a01b69df326cc1d39d5c7d423f9286c9cf1a03ba441aa4dd38ae92d4775e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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-0.2.0-cp39-abi3-musllinux_1_2_x86_64.whl
| Download URL | intellistream_datahub_sdk-0.2.0-cp39-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 8.2 MB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
1a84b55e648a87ea271259b0b0320e30014138dca7f503167c6b44b3558471ea
|
|
BLAKE2b-256 checksum How to use checksums |
9b91162bdb3545c02cf09fa5efabd82d0723442ec634bece7194e8a38286f9b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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-0.2.0-cp39-abi3-musllinux_1_2_aarch64.whl
| Download URL | intellistream_datahub_sdk-0.2.0-cp39-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 8.1 MB |
| Tags | CPython 3.9 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
5b6fc82a69ab2d63ae931480e55621a3817f325e8bc1a4673efaa88a859c3167
|
|
BLAKE2b-256 checksum How to use checksums |
1368ae2e68b0bc68057bfd02f84c47a645fcfbc0e282fd871d658703a5fa6196
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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-0.2.0-cp39-abi3-manylinux_2_28_aarch64.whl
| Download URL | intellistream_datahub_sdk-0.2.0-cp39-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 7.9 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
d7379a66243458bdddc0bdf165f94663b47de1fce2e1761d07a4c678bc224559
|
|
BLAKE2b-256 checksum How to use checksums |
ba880ab32942fc56d608fad18f388b0511cb0b407e533341f9c6c9077dd7a0c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | intellistream_datahub_sdk-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 7.3 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
7e0796b701031300f82ce0613a65ed8be2b37774e3d7dc3fd3b088940b2eb18c
|
|
BLAKE2b-256 checksum How to use checksums |
14368e9dc3e391aaa0a7db33d1f4dc9ab0ce307ba021b5cdf7cb147d1f77758a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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-0.2.0-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | intellistream_datahub_sdk-0.2.0-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 8.2 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
690c73d393bbd9a080b59fcfab0c6bb9fecfb5f4f99eef12cf2d75569967e89d
|
|
BLAKE2b-256 checksum How to use checksums |
1a6b596b6f5bde9225fa7777e06bf8ebe844521b50bdf5ae12238f2fd330caca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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-0.2.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
| Download URL | intellistream_datahub_sdk-0.2.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl |
|---|---|
| Size | 7.5 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARMv7l abi3 |
|
SHA-256 checksum How to use checksums |
9a3cd3f32b7c4076d73ee57fd7c737d7abbca94dad5f681c896f16e598135318
|
|
BLAKE2b-256 checksum How to use checksums |
a32d780356cb44775b2044fd10b49495de4c25f22aa36d89051ae065672c2521
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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-0.2.0-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | intellistream_datahub_sdk-0.2.0-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 6.7 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ecf19555de119d3f7a764314e5a9f305773f5649f0d7973a463290ab1fa931fb
|
|
BLAKE2b-256 checksum How to use checksums |
350c5b2def29ce0c47a819f2d801c4ed2750b70a71e49c1368f3f1727f846626
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl
| Download URL | intellistream_datahub_sdk-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 6.8 MB |
| Tags | CPython 3.9 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
7504b30e4449f5629bb0857c7e0515b76e383924fc180a7b40f672e7cb4313a8
|
|
BLAKE2b-256 checksum How to use checksums |
3f2af12fed40255b84312e61cad21e37c8e75dd83155c61f5a09c887453cbd07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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 0.2.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.