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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openplait-1.0.0.tar.gz.
File metadata
- Download URL: openplait-1.0.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e09142e1d907c89aef8acaf77fc5c0ca45957d81397d658c09b0349be6a51b45
|
|
| MD5 |
fe59ebcdb36163dfa5a8b875ce291052
|
|
| BLAKE2b-256 |
bf532b7a267f64d3be5ca9911a8e861fbbdfd881280fa691cfc35c5ede732a1f
|
File details
Details for the file openplait-1.0.0-py3-none-any.whl.
File metadata
- Download URL: openplait-1.0.0-py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32587cd06dd79d6f7818e44d889fe67d3c0f1f93c9d9a7374ac2917a3af9f4f1
|
|
| MD5 |
d1b637bfc663f827151e42a94a398f5f
|
|
| BLAKE2b-256 |
20174faef063ae76ab48001c936e9c21f6200f7d5e13918bc4ba444f23b56d01
|