Skip to main content

tsdf

Badges
Packages and Releases Latest release PyPI Static Badge
Build Status Build and test
DOI DOI
License GitHub license
Fairness fair-software.eu OpenSSF Best Practices

A package (documentation) to load TSDF data (specification) into Python.

Overview

The tsdf package is a comprehensively documented reference implementation of the Time Series Data Format (TSDF) standard [1]. TSDF simplifies data storage and exchange of multi-channel digital sensor data, thereby promoting interpretability and reproducibility of scientific results. Sensor measurements and timestamps are stored as raw tabular binary array files. To ensure unambiguous reconstruction, binary array files are accompanied by human-readable JavaScript Object Notation (JSON) metadata files, which contain a set of mandatory fields limited to essential sensor measurement information.

The tsdf Python package implements functions for reading and writing TSDF files. It guarantees formatting and metadata consistency. It enforces usage of the essential metadata such as study identification, time frame, data channel descriptions and data attributes corresponding to the binary data.

Installation

Using pip

The package is available in PyPi and requires Python 3.11 or higher. It can be installed using:

$ pip install tsdf

Usage

See our extended tutorials.

Development

Running tests

poetry install
poetry run pytest

Building the documentation

We use Sphinx to build the documentation. Use this command to build the documentation locally:

poetry run make html --directory docs

Contributing

We welcome contributions! Please see our Contributing Guidelines for more details on coding standards, how to get started, and the submission process.

Code of Conduct

To ensure a welcoming and respectful community, all contributors and participants are expected to adhere to our Code of Conduct. By participating in this project, you agree to abide by its terms.

License

This package was created by Pablo Rodríguez, Peter Kok and Vedran Kasalica. It is licensed under the terms of the Apache License 2.0 license.

Credits

  • The TSDF data format was created by Kasper Claes, Valentina Ticcinelli, Reham Badawy, Yordan P. Raykov, Luc J.W. Evers, Max A. Little.
  • This package was created with cookiecutter and the py-pkgs-cookiecutter template.

Metadata

Release files for tsdf 0.6.2

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

Source distribution (sdist)

Source distribution for tsdf 0.6.2
File Size Uploaded
tsdf-0.6.2.tar.gz 18.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tsdf 0.6.2
File Interpreter ABI Platform
tsdf-0.6.2-py3-none-any.whl Python 3 none any Details

Total release size: 39.3 kB

Release files / tsdf-0.6.2.tar.gz

Download URL tsdf-0.6.2.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c1fae8be84ea09ed056cdd412431ca0c1e78978275e927a73a323df55d70020f
BLAKE2b-256 checksum
How to use checksums
4a5cf5db17ef7671764d3134a7852221511a8523e27f9d259e3aeb19dacbdaff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 5, 2026.

Transparency log

Release files / tsdf-0.6.2-py3-none-any.whl

Download URL tsdf-0.6.2-py3-none-any.whl
Size 21.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b367b8fa9699f92338bcf8f287f8119427a219d3ffebb462c99e49d7985ac6bb
BLAKE2b-256 checksum
How to use checksums
85b0e2912ef43e9bc6bd21b66bf3f22fcd53c214ff0b5cbb1ef05d7d2b7e6ea8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 5, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.2 This release

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

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