Metadata-Version: 2.4
Name: sqlite-predict
Version: 0.0.1a1
Summary: Prediction as a SQL primitive for SQLite: forecast, detect_anomalies, predict, with replayable receipts.
License: MIT OR Apache-2.0
Project-URL: Homepage, https://github.com/PureStorage-OpenConnect/sqlite-predict
Project-URL: Source, https://github.com/PureStorage-OpenConnect/sqlite-predict
Keywords: sqlite,forecasting,anomaly-detection,machine-learning,time-series
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: C
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Database
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# 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.

```python
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](https://github.com/PureStorage-OpenConnect/sqlite-predict)
for the full SQL surface, models, and benchmarks.
