Skip to main content

Real-time SQL computation engine for streaming numerical data

Project description

RtBot SQL

Real-time SQL computation engine for streaming numerical data. Write SQL to define streaming pipelines — RtBot compiles them into high-performance C++ programs that process data incrementally, one message at a time.

Quick start

from rtbot_sql import RtBotSql

sql = RtBotSql()
sql.execute("CREATE STREAM sensors (temperature DOUBLE, pressure DOUBLE)")
sql.execute("""
  CREATE MATERIALIZED VIEW alerts AS
    SELECT temperature, pressure,
           MOVING_AVERAGE(temperature, 50) AS avg_temp,
           MOVING_STD(temperature, 50) AS std_temp
    FROM sensors
    WHERE ABS(temperature - MOVING_AVERAGE(temperature, 50)) > 2 * MOVING_STD(temperature, 50)
""")

import pandas as pd
df = pd.read_csv("sensor_history.csv")
sql.insert_dataframe("sensors", df)
results = sql.execute("SELECT * FROM alerts")

Features

  • One language, all stages — the SQL you write in a notebook is the same SQL that runs in production
  • Incremental execution — each new data point updates pipeline state in constant time
  • Deterministic — same input always produces the same output, regardless of timing
  • High performance — native C++ engine with Python bindings via pybind11

Documentation

License

Proprietary. See rtbot.dev for licensing options.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

rtbot_sql-0.1.14-cp314-cp314-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.14Windows x86-64

rtbot_sql-0.1.14-cp314-cp314-manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.14

rtbot_sql-0.1.14-cp314-cp314-manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.14

rtbot_sql-0.1.14-cp314-cp314-macosx_11_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

rtbot_sql-0.1.14-cp314-cp314-macosx_10_14_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.14macOS 10.14+ x86-64

rtbot_sql-0.1.14-cp313-cp313-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.13Windows x86-64

rtbot_sql-0.1.14-cp313-cp313-manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.13

rtbot_sql-0.1.14-cp313-cp313-manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.13

rtbot_sql-0.1.14-cp313-cp313-macosx_11_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

rtbot_sql-0.1.14-cp313-cp313-macosx_10_14_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.13macOS 10.14+ x86-64

File details

Details for the file rtbot_sql-0.1.14-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: rtbot_sql-0.1.14-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rtbot_sql-0.1.14-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 6376db238896bc4cea656f576b750615acf063e9981b448ccd2f28cb90f5d519
MD5 2e1ecd846cf610d468ffed2a205a1fe9
BLAKE2b-256 b3bc162666c7ab6e0c21680c8954221395fe691c3f317ec6d84a3b2c25f9a05f

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.14-cp314-cp314-win_amd64.whl:

Publisher: release.yaml on rtbot-dev/rtbot-sql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtbot_sql-0.1.14-cp314-cp314-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.14-cp314-cp314-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f4df7a2635f1ad4ac9c3b39a629ff64ee74cf1934cf811bc779c9a30109769e2
MD5 af57bc3af0756de26b9216712c74556e
BLAKE2b-256 be222b342644c8800e484782303855c0649e68de31cf53a50230a0cb6c8e9bf8

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.14-cp314-cp314-manylinux2014_x86_64.whl:

Publisher: release.yaml on rtbot-dev/rtbot-sql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtbot_sql-0.1.14-cp314-cp314-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.14-cp314-cp314-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 52fdc373d36d18f95fd0a0fec271b8057a953faf1dc4433adb456f9c27f0eb0d
MD5 80947a6e5a796952c037d17f2ecd25cd
BLAKE2b-256 ba0cab5c30956f0a95cffcb8a06b98f6682b7f2da5d1ce7c897444ecb452004c

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.14-cp314-cp314-manylinux2014_aarch64.whl:

Publisher: release.yaml on rtbot-dev/rtbot-sql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtbot_sql-0.1.14-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.14-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c67b9b695b5451aa48c0c27c091ffbfbc69a606d28c8049913f4a842e3fa66b
MD5 1208c44179f2aa8e9462a765377222df
BLAKE2b-256 753f5a52cf7b68876078b521d9cad1e80e940720df06e8e9b11dd703fae5a002

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.14-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: release.yaml on rtbot-dev/rtbot-sql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtbot_sql-0.1.14-cp314-cp314-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.14-cp314-cp314-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 10e38ffd319354b061b7a850e695615c8ba4ac6df628b197686ff4f8e261155c
MD5 d653c624b972ce6200ec64ac706089e5
BLAKE2b-256 b87c092ea666ada7213a34c1e292af0eda7c8d9a659310bc1c2492c206daa9c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.14-cp314-cp314-macosx_10_14_x86_64.whl:

Publisher: release.yaml on rtbot-dev/rtbot-sql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtbot_sql-0.1.14-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: rtbot_sql-0.1.14-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rtbot_sql-0.1.14-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 569ad7981a214f21e75f8943002949d19caccd2cbb6dd0ebbef976ae328ed4e2
MD5 4835829f28b9c310f764ce1fbab590ea
BLAKE2b-256 0674b7444eb3b91955abe57cb778071a3b662736d19e2e78631c0af2c30629aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.14-cp313-cp313-win_amd64.whl:

Publisher: release.yaml on rtbot-dev/rtbot-sql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtbot_sql-0.1.14-cp313-cp313-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.14-cp313-cp313-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9a483620b5cba6e61cb8edcde55d0b211983a85dcfb389239206b50ccb84259b
MD5 998b6dc14313df08531a6c73ceea0075
BLAKE2b-256 3a029841601dc557264e3045f3fc44dfd79a18415ce5ba5070799d46dc70698d

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.14-cp313-cp313-manylinux2014_x86_64.whl:

Publisher: release.yaml on rtbot-dev/rtbot-sql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtbot_sql-0.1.14-cp313-cp313-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.14-cp313-cp313-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 23baf7262d4f20d4ba60b9b164a31837c7afc9d69236d3eab2dd5af469ddef14
MD5 353d1637dd853eae6fd01287f2d992cc
BLAKE2b-256 2b6abebbf0ae66407c612694b1cfbd28a6e1ecb89fa2fa8be405089069a7c27b

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.14-cp313-cp313-manylinux2014_aarch64.whl:

Publisher: release.yaml on rtbot-dev/rtbot-sql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtbot_sql-0.1.14-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.14-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f2d95fadab216835b96098a012595c2aaa9866756bfb6d6bbb86917e9363275e
MD5 6c9eff9816d6da6b4f8467ef92baaf84
BLAKE2b-256 13fa2ca96b8e8df505e733337e4c433e202b77e63d7c5d5ff52c94153d2ced1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.14-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: release.yaml on rtbot-dev/rtbot-sql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rtbot_sql-0.1.14-cp313-cp313-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.14-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f12cc8f8257488ae421bc0eb390da97f411b11749120989ae0ddc3a4467e96a1
MD5 c69aa3c8a54a0157be4149751d6bce6e
BLAKE2b-256 a13a93eba798ba424ca5ca5df78c15b84561fc6e4b4527d0d26147589e7f405a

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.14-cp313-cp313-macosx_10_14_x86_64.whl:

Publisher: release.yaml on rtbot-dev/rtbot-sql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page