precog-api
Precog REST Execution API: Google TimesFM-3 zero-shot forecasting as a synchronous, typed HTTP service.
This is the Python distribution of the Precog API. Containers and Helm remain the preferred production deployment path; install this package for development, labs and Python-native environments. The distribution contains no model weights.
Install
pip install precog-api # base install: fake engine only, no torch
pip install "precog-api[engine]" # real TimesFM-3 engine (weights download at runtime)
The base install is lightweight and runs the deterministic fake engine, which is enough to exercise the REST contract.
Run
PRECOG_ENGINE=fake precog-api # http://localhost:8000
precog-api # real engine (requires the [engine] extra)
Configuration uses the PRECOG_ prefix (PRECOG_ENGINE, PRECOG_DEVICE,
PRECOG_MAX_*, PRECOG_API_KEY, ...). See the repository documentation.
License
Application code is MIT. The TimesFM-3 model weights are distributed under the TimesFM Non-Commercial License v1.0 and are not part of this distribution.
Metadata
Release files for precog-api 1.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| precog_api-1.3.2.tar.gz | 20.7 kB | With provenance | Details for precog_api-1.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| precog_api-1.3.2-py3-none-any.whl | Python 3 | none | any | Details for precog_api-1.3.2-py3-none-any.whl |
Total release size: 39.1 kB
Release files / precog_api-1.3.2.tar.gz
| Download URL | precog_api-1.3.2.tar.gz |
|---|---|
| Size | 20.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f60e679cb1501ff6bd1d84e5465d614a0e83a923b17d5d6a6ec2cafec38dfe56
|
|
BLAKE2b-256 checksum How to use checksums |
39be6750dff5c437efe57f6ad5c4d1cae6949671f6fc5eb9e21689357f8df5e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.
Transparency logRelease files / precog_api-1.3.2-py3-none-any.whl
| Download URL | precog_api-1.3.2-py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc35fcc5e357d1f3b0bb321b4eef492ac5e30308342489b3811fa1834c469c7f
|
|
BLAKE2b-256 checksum How to use checksums |
37623c7c7eeb50404f2ea930a46ba73d24a3c096a619d76300dffbee31d252a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.
Transparency logSecurity for precog-api 1.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for precog_api-1.3.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.