timefire
Timefire's resolved forecast record as DataFrames. Read-only.
import timefire as tf
day = tf.book("2026-08-27") # one graded book
print(tf.verify("2026-08-27").status) # verified
What you get
| Call | Returns | Source |
|---|---|---|
tf.batches() |
one row per graded book: its verdict (cap-weighted vs SPY) first, then the equal-weighted portfolio vs RSP | files |
tf.books() |
every prediction from every graded book | files |
tf.book("2026-08-27") |
one book; .attrs has its hash, content address, signature and public verification key |
files + API |
tf.nav() |
the paper portfolio day by day, cap-weighted (the API's strategy=long_only_cap, the line Timefire leads with), next to SPY; tf.nav(weighting="equal") is the equal-weighted line (strategy=long_only) next to RSP |
files |
tf.stats() |
counts, hit rates and the verdict tally (cap-weighted vs SPY) over graded books, the API's resolved-only fields: hit rates from 2026-04-14 under the published rule, the 69 backtest books apart | files |
tf.manifest() |
the export index with sizes and SHA-256 fingerprints | files |
tf.ticker("AAPL") |
one ticker's graded observations | API |
tf.calibration() |
return deciles, rank buckets, side hit rates | API |
tf.verify("2026-08-27") |
local hash and Ed25519 check against the pinned key | API |
tf.verify_record(record, "2026-08-27") |
the same check on a verify record you fetched yourself; pass the date you asked for | none |
tf.verify_portfolio("2026-08-27") |
one of the book's two portfolios ("cap" vs SPY, the default; "equal" vs RSP), every number rechecked against the signed book |
API |
tf.verify_portfolio_record(...) |
the same check on responses you fetched yourself | none |
The data calls return graded books only; a book is graded ten trading days after it was sealed. verify() also answers for a book that is still sealed, with the sealed status below, and never sees its contents. What each column means: https://timefire.ai/developers/columns. How verification works: https://timefire.ai/developers/verification.
verify() returns one of verified, sealed, failed, legacy-unverifiable. Books before 2026-04-28 predate exact-signed-bytes custody, so a mismatch there is reported as legacy-unverifiable, and only when you asked for a pre-cutoff date. Since timefire#995 those books serve their originally signed bytes and verify; treat legacy-unverifiable as a failure.
verify_portfolio() returns verified, unsigned-weights (all checks pass, but the weights are an earlier book's market-cap weights, which its signed payload does not carry), incomplete (nothing failed, but a check could not be made), pending or failed, with a checks list. It is a check-for-check port of @timefire/client's verifyPortfolio.
Changelog
- 0.1.1: cap-weighted against SPY is the default series;
weighting="equal"selects the equal-weighted line against RSP.stats()reports the 69 backtest books apart.verify()checks the date inside the signed bytes.verify_portfolio()checks a book's cap-weighted or equal-weighted portfolio against the signed book. - 0.1.0: first release.
Metadata
Release files for timefire 0.1.1
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 |
|---|---|---|---|---|
| timefire-0.1.1.tar.gz | 404.2 kB | With provenance | Details for timefire-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| timefire-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for timefire-0.1.1-py3-none-any.whl |
Total release size: 427.7 kB
Release files / timefire-0.1.1.tar.gz
| Download URL | timefire-0.1.1.tar.gz |
|---|---|
| Size | 404.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71d6b6baf44a911428a4d80b6e8aed77e01626a90d55fecc2e9e0506090a859f
|
|
BLAKE2b-256 checksum How to use checksums |
7cea0554550970686ccbae4fc2de0462fff0c4e7df1220be92289cf397c7b29b
|
| 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 Oct 31, 2026.
Transparency logRelease files / timefire-0.1.1-py3-none-any.whl
| Download URL | timefire-0.1.1-py3-none-any.whl |
|---|---|
| Size | 23.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ae4f0da70306fde3172c471caa98f302ea935957e37a8ed79438195e7db2a87
|
|
BLAKE2b-256 checksum How to use checksums |
b33cf13e91baa87921bbab4b3d885c77b00fda22466a5deb1ff1115c8d9892dd
|
| 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 Oct 31, 2026.
Transparency logSecurity for timefire 0.1.1
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 timefire-0.1.1.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 Oct 31, 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.