OpenPlait (Python)
Python port of OpenPlait — a datasource-independent query and dataframe layer for analytics and observability applications.
Status: 1.0.0. Ships core, adapter_sdk, runtime, and adapters for
ClickHouse, Tempo, Loki, Prometheus, and Jaeger (native execute first;
TypeScript remains the semantic-compile reference).
Install
pip install openplait
# or from this repo:
poetry install
Requires Python 3.9+.
Quick start
from openplait.adapters import LokiAdapter, LokiConfig
from openplait.runtime import DatasourceRegistry, OpenPlaitRuntime
from openplait.runtime.registry import RuntimeDatasourceRegistration
config = LokiConfig(url="http://localhost:3100")
registry = DatasourceRegistry().register(
RuntimeDatasourceRegistration(
name="logs",
kind="LokiDatasource",
adapter=LokiAdapter(config),
config=config,
)
)
runtime = OpenPlaitRuntime(registry)
Layout
| Module | Role |
|---|---|
openplait.core |
openplait.io/v1alpha1 models, parse/validate |
openplait.adapter_sdk |
Adapter protocol, errors, HTTP helpers |
openplait.runtime |
Datasource registry + runtime orchestration |
openplait.adapters.clickhouse |
Native SQL via ClickHouse HTTP |
openplait.adapters.tempo |
Native TraceQL search |
openplait.adapters.loki |
Native LogQL query_range |
openplait.adapters.prometheus |
Native PromQL query_range |
openplait.adapters.jaeger |
Semantic Jaeger Query HTTP search |
Release
Push a py-*.*.* tag that matches [tool.poetry].version to publish.
See ../PUBLISHING.md.
License
Apache-2.0
Metadata
Release files for openplait 1.0.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 |
|---|---|---|---|---|
| openplait-1.0.0.tar.gz | 13.4 kB | Without provenance | Details for openplait-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openplait-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for openplait-1.0.0-py3-none-any.whl |
Total release size: 39.0 kB
Release files / openplait-1.0.0.tar.gz
| Download URL | openplait-1.0.0.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e09142e1d907c89aef8acaf77fc5c0ca45957d81397d658c09b0349be6a51b45
|
|
BLAKE2b-256 checksum How to use checksums |
bf532b7a267f64d3be5ca9911a8e861fbbdfd881280fa691cfc35c5ede732a1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / openplait-1.0.0-py3-none-any.whl
| Download URL | openplait-1.0.0-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32587cd06dd79d6f7818e44d889fe67d3c0f1f93c9d9a7374ac2917a3af9f4f1
|
|
BLAKE2b-256 checksum How to use checksums |
20174faef063ae76ab48001c936e9c21f6200f7d5e13918bc4ba444f23b56d01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for openplait 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.