A Python library that provides methods for encoding and decoding TSDF (Time Series Data Format) data, which allows you to easily create, manipulate and serialize TSDF files in your Python code.
Project description
tsdf
| Badges | |
|---|---|
| Packages and Releases | |
| Build Status | |
| DOI | |
| License | |
| Fairness |
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
cookiecutterand thepy-pkgs-cookiecuttertemplate.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tsdf-0.6.2.tar.gz.
File metadata
- Download URL: tsdf-0.6.2.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1fae8be84ea09ed056cdd412431ca0c1e78978275e927a73a323df55d70020f
|
|
| MD5 |
915ca2dd2f459507fc797b89be071b38
|
|
| BLAKE2b-256 |
4a5cf5db17ef7671764d3134a7852221511a8523e27f9d259e3aeb19dacbdaff
|
Provenance
The following attestation bundles were made for tsdf-0.6.2.tar.gz:
Publisher:
publish.yml on biomarkersParkinson/tsdf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tsdf-0.6.2.tar.gz -
Subject digest:
c1fae8be84ea09ed056cdd412431ca0c1e78978275e927a73a323df55d70020f - Sigstore transparency entry: 919475730
- Sigstore integration time:
-
Permalink:
biomarkersParkinson/tsdf@eb7e10651691ba228c7c04aad123cef4bc9f923c -
Branch / Tag:
refs/heads/release - Owner: https://github.com/biomarkersParkinson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@eb7e10651691ba228c7c04aad123cef4bc9f923c -
Trigger Event:
push
-
Statement type:
File details
Details for the file tsdf-0.6.2-py3-none-any.whl.
File metadata
- Download URL: tsdf-0.6.2-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b367b8fa9699f92338bcf8f287f8119427a219d3ffebb462c99e49d7985ac6bb
|
|
| MD5 |
f023679daca20866b9083a9a5462a443
|
|
| BLAKE2b-256 |
85b0e2912ef43e9bc6bd21b66bf3f22fcd53c214ff0b5cbb1ef05d7d2b7e6ea8
|
Provenance
The following attestation bundles were made for tsdf-0.6.2-py3-none-any.whl:
Publisher:
publish.yml on biomarkersParkinson/tsdf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tsdf-0.6.2-py3-none-any.whl -
Subject digest:
b367b8fa9699f92338bcf8f287f8119427a219d3ffebb462c99e49d7985ac6bb - Sigstore transparency entry: 919475746
- Sigstore integration time:
-
Permalink:
biomarkersParkinson/tsdf@eb7e10651691ba228c7c04aad123cef4bc9f923c -
Branch / Tag:
refs/heads/release - Owner: https://github.com/biomarkersParkinson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@eb7e10651691ba228c7c04aad123cef4bc9f923c -
Trigger Event:
push
-
Statement type: