Skip to main content

Mireo SpaceTime database remote connector

stdb-driver is a Python module for managing a Mireo SpaceTime database.

Features

  • Both blocking and asynchronous modes of operation.
  • Listing nodes; listing, creating, and dropping tables; inserting rows; and executing range queries.
  • Range query results are convertible to Python lists, NumPy arrays, and Pandas dataframes.
  • Type stubs included — full IDE autocompletion and type checking.
  • Requires CPython 3.10+.
  • Available for Linux (glibc 2.17+ and musl 1.2+; x86-64 and arm64) and Windows (x86-64 and arm64).

Installation

pip install -U stdb-driver

Conversions to NumPy or Pandas data types require optional dependencies:

pip install -U stdb-driver[numpy]
pip install -U stdb-driver[pandas]

Install optional dependencies for all available conversions:

pip install -U stdb-driver[convert]

Install all optional dependencies using:

pip install -U stdb-driver[all]

Example

import stdb_driver

# Connect (conn_str is a ZooKeeper connection string)
session = stdb_driver.SessionConfig(<conn_str>).build()
print(session.status())  # SessionStatus.Connected

# List live nodes and table schemas in the cluster
print(session.list_nodes())
print(session.list_tables())

# Run a range query — one hyperrectangle per row, RANGE_ALL = unbounded dimension
RALL = stdb_driver.RANGE_ALL
res = session.range_query('segment', [[(1, 10000), RALL, RALL, RALL, RALL, RALL, RALL, RALL, RALL]])

# Print column names, MSQL data types, and nullability
print(res.row_type.columns)

# Iterating over rows lazily converts each to a tuple of native Python types
for row in res:
    print(row)

# Or convert the whole result at once:
rows = res.to_list()  # list of tuples of native Python types
arr = res.to_numpy()  # NumPy array (requires numpy)
df = res.to_pandas()  # Pandas dataframe (requires pandas)

# Disconnect
session.stop()
print(session.status())  # SessionStatus.SessionEnded

License

Licensed under BSD 3-Clause "New" or "Revised" License.

Credits

Authored and maintained by Mireo.

Metadata

Release files for stdb-driver 0.4.0

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

Built distributions (wheels)

Table of built distributions (wheels) for stdb-driver 0.4.0
File
stdb_driver-0.4.0-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details
stdb_driver-0.4.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
stdb_driver-0.4.0-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details
stdb_driver-0.4.0-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details
stdb_driver-0.4.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
stdb_driver-0.4.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details

Total release size: 8.3 MB

Release files / stdb_driver-0.4.0-cp310-abi3-win_arm64.whl

Download URL stdb_driver-0.4.0-cp310-abi3-win_arm64.whl
Size 1.3 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
e70fd8e47476763b9e7cfd2f567a17679fbcc467fedbcabf19e0613c285e9686
BLAKE2b-256 checksum
How to use checksums
19cffeea54dc4cd4b512b47c1d66c1fe3afd1b659d053af04b1367f31834c5ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / stdb_driver-0.4.0-cp310-abi3-win_amd64.whl

Download URL stdb_driver-0.4.0-cp310-abi3-win_amd64.whl
Size 1.5 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
39ebb3f94b5c4b15bfe655e945e496564d9ffd9608cd5069cb89be6d6baa0419
BLAKE2b-256 checksum
How to use checksums
72bb970daa9cc69299cbdd8c007d7a0c9627030f88b9d9633aa7b34cfdee293d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / stdb_driver-0.4.0-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL stdb_driver-0.4.0-cp310-abi3-musllinux_1_2_x86_64.whl
Size 1.4 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
c84112d3abd361854fad97a099564435b6aefcb2ca8591d82a3069c39240606c
BLAKE2b-256 checksum
How to use checksums
0f71cbc8f7d8fdc08c7ce9411a3cb088f87b55beecb9055588217e317fa5c723
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / stdb_driver-0.4.0-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL stdb_driver-0.4.0-cp310-abi3-musllinux_1_2_aarch64.whl
Size 1.3 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
8401d899d0d421a7a9639c901d247f4702cf33ca519d8c17f93c27530efcd1b0
BLAKE2b-256 checksum
How to use checksums
22c4fd9142f79fc83330d8b4ad4d18e7330bd7bc6ce6a9114211040ac99ca66b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / stdb_driver-0.4.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL stdb_driver-0.4.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
aed5f2233dc98feb3f3766644072d472f98bd2ac6d64950cbe481432d6968dde
BLAKE2b-256 checksum
How to use checksums
4e9adf2cbb7ba08dc02f7eed3e710e16bd9f22802869a0096ae5d606d20f20bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / stdb_driver-0.4.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL stdb_driver-0.4.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.3 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
39e8928bec39e2acf72531efd20d1cf4f385df54d7ec1b031741389c398ef972
BLAKE2b-256 checksum
How to use checksums
981491bb746c2b5143b248441ea38bf5742923e04fe02af8546235c87567ce1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for stdb-driver 0.4.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.

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