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.13-cp313-cp313-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13

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

Uploaded CPython 3.13

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.14+ x86-64

rtbot_sql-0.1.13-cp312-cp312-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.12Windows x86-64

rtbot_sql-0.1.13-cp312-cp312-manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.12

rtbot_sql-0.1.13-cp312-cp312-manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.12

rtbot_sql-0.1.13-cp312-cp312-macosx_11_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

rtbot_sql-0.1.13-cp312-cp312-macosx_10_14_x86_64.whl (2.0 MB view details)

Uploaded CPython 3.12macOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: rtbot_sql-0.1.13-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.13-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 008bec174acca293985b1beaac2408c4ef869b495251c2acb65b1e00103c3828
MD5 4cc7adb51a2fe2bb45a2949656212979
BLAKE2b-256 e881d2b820aac8a79785428078e43cdaebe97e1f5cf158f3bc95484080226f85

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.13-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.13-cp313-cp313-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.13-cp313-cp313-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 845b1a5f1c612365c4e930353d6fe1f5954943e008a608e289785bd99cbe3335
MD5 77f1331be20d1d09e20557c2ca22d55f
BLAKE2b-256 113db13b9aded881eba15fdc4a75cd3425ce4124356997ec289048df0452114f

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.13-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.13-cp313-cp313-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.13-cp313-cp313-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5b1e98552bdef32aad69313e6fe712e33cf143f8b81963674624c2c4b50b85e3
MD5 5f991b0815ee2747c78230189a4469d4
BLAKE2b-256 5b8557e2088975a3b98c99a85183295738e9595d8268c77de95993e7601a6ed7

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.13-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.13-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.13-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8da3788114934ebbe4313a794ffdfa368dac3eab37723788935451a8f6bce5b0
MD5 58416ee8640eabbe53db72b348c2b0e0
BLAKE2b-256 0cdc6bdd199a95f00a8830befef299bd91bba830f1137ed00bed11223243ed55

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.13-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.13-cp313-cp313-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.13-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 0732d68f8d22e31798810313b8b7a5969a1214a478379d44d1b7d796e07d2448
MD5 6746e9129d3e74992746ce9f030f6e84
BLAKE2b-256 a01db408d2cb02b4ce20ab37cd81b73dc9b893d1f7cfde537173397f518d0b96

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.13-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.

File details

Details for the file rtbot_sql-0.1.13-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: rtbot_sql-0.1.13-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.12, 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.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 309a04fd5d52c410e28b94177f9c19cbbe404447c2ab860a6ec487dc8174cca3
MD5 ce238216da08c296f3dc64e7b87f2e40
BLAKE2b-256 8004b8ad4466a4ed2eac9940cc01d65671f7903fd6985b1eb6c079ba9a7a2a85

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.13-cp312-cp312-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.13-cp312-cp312-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.13-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 af9c93f30af89967424dcfd3db26a5d70ea83a614e624a206edd3798602c4549
MD5 f0461634707a18c7f21ce23cdd38d3ac
BLAKE2b-256 5c897d9f0a47a72ad46053a34cc74a04647aa30c3dd3b7d6a423e64ed23a1fdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.13-cp312-cp312-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.13-cp312-cp312-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.13-cp312-cp312-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3ea29a5354fd0ee9a1fbe8ca7e3dd0d6e16868621f21d552311c3b4968914fb8
MD5 d7cd7c39b2de988dd0f385db9c34b501
BLAKE2b-256 6479a87b3b3790dcf6a93930734d24ff4c652b86a5a2cffde362f00cdbb83c7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.13-cp312-cp312-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.13-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.13-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b7ef817ea8ff4ce22448f6fd903fc489af38bd2399c5183117a33df34e449f47
MD5 2c5cd387b09d5d433a2cfdf3e65366ca
BLAKE2b-256 8b7d2b56b5d272b76f2ee9dbf0807fdfd0e287c7709a36429585211aa9df23cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.13-cp312-cp312-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.13-cp312-cp312-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for rtbot_sql-0.1.13-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 212ba50f1b208d32a3d3bf21993f422bf619c82ecb323b69d96a7b95be71efd2
MD5 7274548eb74271f57d9624c6a3c65d9d
BLAKE2b-256 5a61d18c893f308a3b122cc86dd632da80a444fa8d38c76ebd111876b6a419f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for rtbot_sql-0.1.13-cp312-cp312-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