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.0.tar.gz (272.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.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (96.3 kB view details)

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

sqlite_predict-0.2.0-py3-none-macosx_11_0_arm64.whl (95.5 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: sqlite_predict-0.2.0.tar.gz
  • Upload date:
  • Size: 272.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.0.tar.gz
Algorithm Hash digest
SHA256 5b6dbe73b1ccbdcd18034d455c681c2cdec0f4d8c6f3d92ca42ecb8569b76808
MD5 1c44d2cfd9f4cdf5f35a43bdc5b22448
BLAKE2b-256 1c415d0749fd408fad9a03cf2ec856337bc1c30d87f013348da533bf5cb26d87

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_predict-0.2.0.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.0-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.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2b5cf6fdf477f909ea94577b39febe44eec883eca2c8364611426d5f16c7dc41
MD5 8d7b399659cd9699beea23088e58b390
BLAKE2b-256 b49b6a4c49243e66e615631e80a06ec1d8d6b1d9b6444b21c8a72b94ff9e1222

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_predict-0.2.0-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.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sqlite_predict-0.2.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 20c8efe11439f1e586177549624359599c8fefd50f00eefc2368ab59392a6960
MD5 d78ff67ca62a360278205ef6952cb12a
BLAKE2b-256 dbc39c1e8c43ad3e815ef4755b2913dd4f05d4ba16dbb77535d3522082819958

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlite_predict-0.2.0-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

0.2.1

3 files

This release

0.2.0 This release

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