Tafel
A command-line tool for extracting Tafel slopes from MPT files.
This tool is currently in an experimental stage.
Supported files
- xy files: assumes simple xy format. See here for an example.
- csv files: assumes LSV experiments conducted using Hokuto. See here for an example.
- mpt files: assumes LSV experiments conducted using BioLogic EC-Lab. See here for an example.
Installation
Requirements: Python 3.11 or above
pip install tafel
How to use
Simple xy files
tafel -f dataset/HER.csv
Bio-logic files
tafel -f path/to/file/file.mpt --reference-potential 0.210 --ph 13 --electrolyte-resistance 0.05
Hokuto files
tafel -f path/to/file/file.xyz --reference-potential 0.210 --ph 13 --electrolyte-resistance 0.05
For Developers
Getting Started
To set up the development environment, run:
pdm install
Code Quality Check
To check the code quality, run:
pdm run check
To test CLI, run
pdm run python src/tafel/app/cli.py -f dataset/HER.csv
Release a New PyPI Package
To release a new version, update the pyproject.toml file with the new version number and publish a new release from here.
Metadata
Release files for tafel 2025.5.6
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 |
|---|---|---|---|---|
| tafel-2025.5.6.tar.gz | 99.3 kB | Without provenance | Details for tafel-2025.5.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tafel-2025.5.6-py3-none-any.whl | Python 3 | none | any | Details for tafel-2025.5.6-py3-none-any.whl |
Total release size: 108.2 kB
Release files / tafel-2025.5.6.tar.gz
| Download URL | tafel-2025.5.6.tar.gz |
|---|---|
| Size | 99.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc938e5cede96efccb5fcf4863f3fb938b4a68f272dc61988be03389e8579f94
|
|
BLAKE2b-256 checksum How to use checksums |
806c0c62dda5e739433620f0100d5c3ad04a6a91748b32dfb2896e7b9720e47c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.24.1 CPython/3.13.3 Linux/6.11.0-1012-azure
|
Release files / tafel-2025.5.6-py3-none-any.whl
| Download URL | tafel-2025.5.6-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f73a4d99111c9b74835d9b76df1af7bf37fa9221d56a1ba4d8fa6864407b990b
|
|
BLAKE2b-256 checksum How to use checksums |
753d40812a622a25e7677d3c610b1d85f6ba98710eca8c43a4b25f3fc6d26d4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.24.1 CPython/3.13.3 Linux/6.11.0-1012-azure
|
Security for tafel 2025.5.6
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.