Metadata-Version: 2.4
Name: generalforecast
Version: 0.1.12
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Dist: cryptography>=46
Requires-Dist: httpx==0.28.1
Requires-Dist: huggingface-hub>=2.2.0
Requires-Dist: jax>=0.11.0
Requires-Dist: jaxtyping>=0.2.38
Requires-Dist: numpy>=2.5.3
Requires-Dist: pandas>=2.2
Requires-Dist: pyarrow>=24
Requires-Dist: pyyaml>=6.0.2
Requires-Dist: safetensors>=0.8.0
Requires-Dist: scikit-learn>=1.9.1
Requires-Dist: jax[cuda13]>=0.11.0 ; extra == 'cuda'
Requires-Dist: polars>=1.30,<2 ; extra == 'polars'
Provides-Extra: cuda
Provides-Extra: polars
License-File: LICENSE
Summary: gf: predictors on tabular and time series foundation models, local or hosted
Author-email: General Forecast <tejas@generalforecast.com>
License-Expression: Apache-2.0
Requires-Python: >=3.12
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://generalforecast.com
Project-URL: Repository, https://github.com/generalforecast/gf

# General Forecast

Predictors on tabular and time series foundation models. One manifest, `gf.yaml`, runs the same predictor on your machine and hosted.

- Website: https://generalforecast.com
- Docs: https://docs.generalforecast.com/

```sh
uv pip install generalforecast
```

Predict or forecast with an `sklearn`-compatible interface.

```python
import generalforecast as gf

clf = gf.Classifier(model="general-forecast/tabicl-v2-classifier")
clf.fit(X_context, y_context)
clf.predict_proba(X_queries)

fc = gf.Forecaster(model="general-forecast/chronos-2", horizon=7)
fc.fit(history)  # columns: date, sku, units
fc.forecast()  # quantiles 0.1, 0.5, 0.9 per sku per step
```

For deployments on large, live datasets, please take a look at the [docs](https://docs.generalforecast.com/).

## Contributing

We welcome and value any contributions and collaborations. For more
specific questions, please contact hello@generalforecast.com.

## License

Licensed under the [Apache License 2.0](LICENSE).

If you use General Forecast, please cite our work:
```bibtex
@misc{generalforecast2026,
    title={General Forecast: A unified high-throughput inference engine for structured data foundation models},
    author={Tejas Prabhune and Ayushi Batwara},
    year={2026},
    publisher={GitHub},
    howpublished={\url{https://github.com/generalforecast/gf}}
}
```

