Skip to main content

sqlalchemy-openobserve

A SQLAlchemy dialect and DBAPI driver for OpenObserve, built so that Apache Superset can connect to it.

Status: pre-alpha. Nothing here works yet. Do not install it.

What this will be

OpenObserve is queried with SQL over an HTTP API. This package exposes it to SQLAlchemy so tools built on SQLAlchemy can read from it. It is read-only.

The Superset side (the DB engine spec) will live in the Apache Superset repository, not here.

Planned connection string

openobserve://{email}:{password}@{host}:{port}/{organization}
  • The username is your OpenObserve email. Write its @ as %40, for example root%40example.com, and percent-encode any special characters in the password the same way.
  • HTTPS will be used by default, with ?ssl=false for a plain HTTP server such as a local one on port 5080.
  • openobserve+rest:// is the same thing with the driver named explicitly.

Requirements

Python 3.11 or newer, SQLAlchemy 2.0.52 or newer in the 2.0 series.

Development

pip install -e ".[dev]"

The checks that CI runs on every pull request:

ruff check .
ruff format --check .
mypy --strict src
pytest

A local OpenObserve

To try code against a real server, start OpenObserve in Docker and load the sample data:

docker compose up -d
python3 scripts/load_sample_data.py

This gives you a logs stream named app_logs with 3,000 rows from the last 48 hours. Running the script again adds another 3,000 rows.

URL http://localhost:5080
Organization default
Email root@example.com
Password Complexpass#123

The web UI is at the same URL. Stop the server, and delete its data, with docker compose down.

Licence

Apache-2.0. This package is an HTTP client and contains no OpenObserve server code.

Metadata

Release files for sqlalchemy-openobserve 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqlalchemy-openobserve 0.0.1
File Size Uploaded Provenance
sqlalchemy_openobserve-0.0.1.tar.gz 11.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sqlalchemy-openobserve 0.0.1
File Interpreter ABI Platform
sqlalchemy_openobserve-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 21.0 kB

Release files / sqlalchemy_openobserve-0.0.1.tar.gz

Download URL sqlalchemy_openobserve-0.0.1.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
206e9b8a62067971a9ba5e65f06ad8b476592a3179a60b8730040fb613191d2e
BLAKE2b-256 checksum
How to use checksums
05471b8c2af9e3707e65c13c6dfd4c35954aa12e2f99c751eb5ce2de1fb4a4fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / sqlalchemy_openobserve-0.0.1-py3-none-any.whl

Download URL sqlalchemy_openobserve-0.0.1-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
323746954bb7759897c5db1a85eff7221487a5c16a4ed1504a52900c6e00a348
BLAKE2b-256 checksum
How to use checksums
97d9787f961fab4e65c0b435c88990735afbd298a72827abde7c71b93e856a4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Security for sqlalchemy-openobserve 0.0.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sqlalchemy_openobserve-0.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

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

0.0.1 This release

2 release files Full 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