Skip to main content

sqlite-predict

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

import sqlite3
import sqlite_predict

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

db.execute("CREATE TABLE readings(ts TEXT, value REAL)")
# ... insert rows ...

# forecast() is an aggregate: your query supplies the rows, and each
# group returns one JSON document
doc = db.execute("SELECT forecast(ts, value, 24) FROM readings").fetchone()[0]
print(doc)

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

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.2.1.tar.gz (273.7 kB view details)

Uploaded Source

Built Distributions

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

sqlite_predict-0.2.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (96.7 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

sqlite_predict-0.2.1-py3-none-macosx_11_0_arm64.whl (95.7 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file sqlite_predict-0.2.1.tar.gz.

File metadata

  • Download URL: sqlite_predict-0.2.1.tar.gz
  • Upload date:
  • Size: 273.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for sqlite_predict-0.2.1.tar.gz
Algorithm Hash digest
SHA256 694d6326b361b60570c1ec49bc47d6edbf9e4a836af78bd10f304ab5fdefd561
MD5 af2919c2562979533975e4c1f005ff3f
BLAKE2b-256 b2a1f484ac32aed554cb6544e675c06c6f39faf288dd30b98ff2bd4b200b7006

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_predict-0.2.1.tar.gz:

Publisher: wheels.yml on PureStorage-OpenConnect/sqlite-predict

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

File details

Details for the file sqlite_predict-0.2.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for sqlite_predict-0.2.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e6aa7c7e41c47732dca6e5eb12dd2a057b31a9073607af87d68793a834605902
MD5 2e04953ba0a1904894366ec596d7ea53
BLAKE2b-256 59768df93b595485666260a4822de74f42acb8a016e67369094fefeaf1897e57

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_predict-0.2.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on PureStorage-OpenConnect/sqlite-predict

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

File details

Details for the file sqlite_predict-0.2.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sqlite_predict-0.2.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 183507521706d10f627611fa21a4e9f835ea77c2653c03e5d0bbc45864d22795
MD5 2a0bd277450bff7e7cf787f19a646aed
BLAKE2b-256 f95537eeaa692883360a2be1efbe49d74170dfab9a5b54d0e932713006f547a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_predict-0.2.1-py3-none-macosx_11_0_arm64.whl:

Publisher: wheels.yml on PureStorage-OpenConnect/sqlite-predict

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

Release history Release notifications | RSS feed

This release

0.2.1 This release

3 files

0.2.0

3 files

0.1.0

3 files

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