Skip to main content

Technosport (tks-package)

Boîte à outils Python pour la lecture, le traitement et l'analyse de données biomécaniques et physiologiques, développée au sein du Technosport / ISM (Aix-Marseille Université).


Installation

# Depuis PyPI (une fois publié) :
pip install tks-package

# Ou directement depuis GitHub :
pip install git+https://github.com/Technosport/TKS-package.git

Pour les outils optionnels de développement et tests :

pip install "tks-package[dev] @ git+https://github.com/Technosport/TKS-package.git"

Démarrage rapide

import tks

# 1. Lecture de données (C3D, Delsys, QTM, Noraxon, Metalyzer, VO2 Master...)
data_c3d = tks.read_c3d("marche.c3d")
forces = data_c3d["Plateforms"]["PF_1"]["Force"]

# 2. Synchronisation de signaux
sig_synced, sig_ref, delta = tks.sync_two_signals(sig1, sig2, plot=True)

# 3. Analyse non-linéaire (Lyapunov & Floquet)
from tks.analysis import traitement_lyapunov_floquet
res = traitement_lyapunov_floquet(inlyap=data_kin, infloq=data_cycles, acq_freq=100.0)

# 4. Conversion Garmin FIT
from tks.converters import fit_to_df
df_fit = fit_to_df("activite.fit")

# 5. Thème graphique officiel ISM / Technosport pour figures Plotly
from tks.theme import setup_ism_theme
setup_ism_theme(target="powerpoint", logos=True)

💡 Note de compatibilité : Les anciens imports import TKS_package restent supportés pour assurer la rétrocompatibilité avec vos scripts existants.


Équipements & Formats pris en charge

Équipement / Logiciel Formats supportés Fonction principale
Delsys (EMGWorks, Trigno Discover) .delsys, .hpf, .shpf tks.read_delsys
Metalyzer (Cortex / Metasoft) .xml (CPET) tks.read_xml_from_metasoft
Noraxon (MR3 / MR4) .dat (OpenData), .csv tks.read_noraxon_OpenData_from_MR4, tks.read_noraxon_csv_from_MR4
OpenSim .sto tks.load_sto
RunScribe Dossier d'export, Run_Metrics.csv tks.read_runscribe
Visual3D .c3d, .json, .txt ASCII tks.read_c3d, tks.read_json_from_v3d, tks.read_ascii_from_v3d
VO2 Master Dossier d'export, DataAverage.csv, .xlsx tks.read_VO2master
Qualisys (QTM) .tsv (2D, 3D, analogique, plateformes de force) tks.read_qtm_tsv
Moticon .txt tks.read_moticon_txt_to_dict
x-IMU3 Dossier d'export / fichiers tks.read_ximu3
Garmin FIT .fit tks.converters.fit_to_df, tks.converters.fit_to_csv

Modules du package

  • tks.readers : Import vers DataFrame / dict pour tous les formats de capteurs.
  • tks.analyzer : Fréquences d'échantillonnage, rééchantillonnage, synchronisation, détection de pics, métriques semelles Moticon.
  • tks.analysis : Analyse dynamique non-linéaire et stabilité (Lyapunov, Floquet, AMI, GFNN, reconstruction d'espace des phases).
  • tks.converters : Conversion de fichiers FIT vers CSV et Excel.
  • tks.theme : Charte graphique officielle ISM & Technosport pour figures scientifiques Plotly.
  • tks.utils : Gestion de fichiers, calculs de repères 3D locaux, export multi-formats de figures.

Pipelines et scripts Visual3D (.v3s) disponibles sur le dépôt dédié : Technosport/Visual3D-Pipelines.

Metadata

Release files for tks-package 0.2.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 tks-package 0.2.0
File Size Uploaded
tks_package-0.2.0.tar.gz 10.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for tks-package 0.2.0
File Interpreter ABI Platform
tks_package-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.6 MB

Release files / tks_package-0.2.0.tar.gz

Download URL tks_package-0.2.0.tar.gz
Size 10.8 MB
Tags Source
SHA-256 checksum
How to use checksums
8a9ca1ef6c2d63949c83560fb61e32841a82311be5f792f0a18ed030ffa7a8ae
BLAKE2b-256 checksum
How to use checksums
fc6b18898aa082a7c044ec3a4b14177a2367952cfd2248afacaf618ba6e5b4eb
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 8, 2026.

Transparency log

Release files / tks_package-0.2.0-py3-none-any.whl

Download URL tks_package-0.2.0-py3-none-any.whl
Size 10.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
726bb4d6129daec32358253c69efd6d50bb4104f2e7deb84245fd2b6ddc5b624
BLAKE2b-256 checksum
How to use checksums
74ad018e676bc366d2743f66aae258b1b0692954f42ff21a3fdfd4226f63b0f2
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 8, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.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