Skip to main content

timeseries-table-format (Python)

Build local, append-only time-series tables from Parquet files. The Python API tracks coverage, rejects overlapping appends, and queries tables with DataFusion SQL. Query results are returned as pyarrow.Table objects.

Early MVP: APIs and on-disk layouts may change before v1.0.

What it provides

  • Timestamp, Int64, or UInt64 ordered indexes
  • Per-entity index-interval uniqueness within and across appends
  • Local table roots with managed metadata and table-relative Parquet segment paths
  • Dry-run and apply vacuum modes for expired unreferenced table-managed files
  • DataFusion SQL over managed tables and standalone Parquet data
  • Materialized and streaming Arrow result APIs

The current release supports local filesystems only. It does not yet support object storage, small-file compaction, schema evolution, row updates, merges, or time-travel queries.

Install

pip install timeseries-table-format

The package requires Python 3.10 or later and installs pyarrow automatically. See Installation for supported platforms, Python implementations, and source-build guidance.

Verify the installation

import timeseries_table_format as ttf

result = ttf.Session().sql("SELECT 1 AS value")
assert result.column("value").to_pylist() == [1]

Create, append, and query a table

Assuming prices.parquet contains a Timestamp column named ts and a string column named symbol:

import pyarrow as pa
import pyarrow.parquet as pq
import timeseries_table_format as ttf

table = ttf.TimeSeriesTable.create(
    table_root="prices",
    index_column="ts",
    index_type="timestamp",
    index_granularity="1h",
    entity_columns=["symbol"],
)
parquet_file = pq.ParquetFile("prices.parquet")
report = table.append(
    pa.RecordBatchReader.from_batches(
        parquet_file.schema_arrow,
        parquet_file.iter_batches(),
    )
)
version = report.committed_version

session = ttf.Session()
session.register_tstable("prices", "prices")
result = session.sql("SELECT * FROM prices ORDER BY symbol, ts")

For a complete runnable example, follow Create, append, and query your first table.

Documentation

Contributing

See Develop the Python package for local setup, tests, quality checks, documentation builds, benchmarks, and release guidance.

License

MIT. See the repository license.

Metadata

Release files for timeseries-table-format 0.7.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 timeseries-table-format 0.7.0
File Size Uploaded
timeseries_table_format-0.7.0.tar.gz 509.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for timeseries-table-format 0.7.0
File
timeseries_table_format-0.7.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
timeseries_table_format-0.7.0-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details
timeseries_table_format-0.7.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
timeseries_table_format-0.7.0-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 183.7 MB

Release files / timeseries_table_format-0.7.0.tar.gz

Download URL timeseries_table_format-0.7.0.tar.gz
Size 509.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bc8aa21195179b08aefc82206ccf5e9d3e67419e7bff785ec9b01bf5d5d27b7b
BLAKE2b-256 checksum
How to use checksums
c057a778f466bedc619eb31b90f9c7ef9617007932f7ec8af7ddd24bd6a27d13
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 3, 2026.

Transparency log

Release files / timeseries_table_format-0.7.0-cp310-abi3-win_amd64.whl

Download URL timeseries_table_format-0.7.0-cp310-abi3-win_amd64.whl
Size 43.8 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c844de5333e54a3314f080da26d419ae72919c7f2b7203cf5d7c9579838b4fd7
BLAKE2b-256 checksum
How to use checksums
20cbcbe0b8535f5b090ce1092025ff0b62f99ff8fab29c7a876f69c4c69a0d17
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 3, 2026.

Transparency log

Release files / timeseries_table_format-0.7.0-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL timeseries_table_format-0.7.0-cp310-abi3-manylinux_2_28_x86_64.whl
Size 49.1 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
148ca4b5cbac84b4fd37a350ae361167479c0055dfb209a22b1abb290800183c
BLAKE2b-256 checksum
How to use checksums
cfdecc6c26341697844daa288e1e71a2fdc6f9c305648c2db144d161ef7b45bb
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 3, 2026.

Transparency log

Release files / timeseries_table_format-0.7.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL timeseries_table_format-0.7.0-cp310-abi3-macosx_11_0_arm64.whl
Size 44.4 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f39c0caf9f6ef6241fbb29788a88cf9c489aa395713e1cd2ea3b6484efd7db5e
BLAKE2b-256 checksum
How to use checksums
354af97df1e8f78185e229694c443d0a6f04b4abc5aee86a7477f097577e44bd
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 3, 2026.

Transparency log

Release files / timeseries_table_format-0.7.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL timeseries_table_format-0.7.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 45.9 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
ef1c1741c5827902b10c95c9eacbcf8703c85e0c5f35b4a16f9f13854c99aaec
BLAKE2b-256 checksum
How to use checksums
01299b4d7b56ba741668e335e23c9c7f83e4cc599f098884f615a10691be8fc5
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 3, 2026.

Transparency log

Release history Release notifications | RSS feed

0.9.0

5 release files

0.8.0

5 release files

This release

0.7.0 This release

5 release files

0.6.1

5 release files

0.6.0

5 release files

0.5.0

5 release files

0.4.0

5 release files

0.3.0

5 release files

0.1.3

16 release files

0.1.2

16 release files

0.1.1

7 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