Skip to main content

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.

Release files for precog-api 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for precog-api 1.0.0
File Size Uploaded
precog_api-1.0.0.tar.gz 20.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for precog-api 1.0.0
File Interpreter ABI Platform
precog_api-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.1 kB

Release files / precog_api-1.0.0.tar.gz

Download URL precog_api-1.0.0.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c919d026bb3dbb42f435dc10c654a2b0a740e5280f5adee5d173efb9ae55f47d
BLAKE2b-256 checksum
How to use checksums
b03f20482f06d8a324b76cffb52b1c002bbbd9919f569930b6e0b96eb64dea93
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 log

Release files / precog_api-1.0.0-py3-none-any.whl

Download URL precog_api-1.0.0-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9cb18f1faa696209a538dcc07e7d7c11d4581bc9b35fd677846e0deef39a0bc
BLAKE2b-256 checksum
How to use checksums
0afa43b2bb0f4dff57ed2ae45b48c5a6cc9a41c8144e77bc22867422877e6c28
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 log

Release history Release notifications | RSS feed

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

This release

1.0.0 This release

2 release 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