Skip to main content

Prediction as a SQL primitive for SQLite: forecast, detect_anomalies, predict, with replayable receipts.

Project description

everpure-sqlite-predict

Prediction as a SQL primitive for SQLite: forecast(), detect_anomalies(), predict(), with replayable receipts. The wheel bundles the zero-dependency loadable extension for your platform.

import sqlite3
from everpure import sqlite_predict

db = sqlite3.connect(":memory:")
sqlite_predict.load(db)

db.execute("CREATE TABLE readings(ts TEXT, value REAL)")
# ... insert rows ...
for row in db.execute(
    "SELECT * FROM forecast('SELECT ts, value FROM readings', 24)"
):
    print(row)

See the project README for the full SQL surface, models, and benchmarks.

Project details


Download files

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

Source Distribution

sqlite_predict-0.0.1a1.tar.gz (330.4 kB view details)

Uploaded Source

File details

Details for the file sqlite_predict-0.0.1a1.tar.gz.

File metadata

  • Download URL: sqlite_predict-0.0.1a1.tar.gz
  • Upload date:
  • Size: 330.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.8

File hashes

Hashes for sqlite_predict-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 8d15461a5f3c89d17824e0c4baca673316bc43f207b4935dc190ca8f86f779cb
MD5 e2a74b1c146ac3ca021d1e44503db664
BLAKE2b-256 6dc248a087daa985f38cc1770e29e86879e994a2db1989f0f1ff4f7be5934280

See more details on using hashes here.

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