OSS Python toolkit for TOYO battery cycler data (charge/discharge, dQ/dV, cycle stats). Installable from PyPI into Origin's embedded Python.
Project description
toyo-battery
OSS Python toolkit for TOYO battery cycler data.
Reads output from TOYO System battery charge/discharge testers, computes cycle capacity, Coulombic efficiency, dQ/dV curves, and summary statistics. Pure Python, installable from PyPI — including into OriginLab's embedded Python.
Status: 0.0.1 — pre-alpha scaffold. Core logic is being ported from the private
TOYO_originscripts. Public API is unstable.
Installation
# Core only
pip install toyo-battery
# With Matplotlib plotting
pip install "toyo-battery[plot]"
# Everything except Origin
pip install "toyo-battery[all]"
CLI
With the [cli] extra (pip install "toyo-battery[cli]") the toyo-battery
command offers batch operations over one or more cell directories:
toyo-battery process cell_A cell_B --out ./csvs # chdis/cap/dqdv CSVs
toyo-battery plot cell_A cell_B --out ./pngs # chdis/cycle/dqdv PNGs
toyo-battery stats cell_A cell_B --cycles 10,50 --out stats.csv
Installing into Origin's embedded Python
Open Origin, go to Connectivity → Python Packages, then in the Origin Python console:
import subprocess
import sys
subprocess.check_call([sys.executable, "-m", "pip", "install", "toyo-battery"])
The toyo_battery.origin submodule uses originpro (shipped with Origin)
and is only importable inside Origin's Python environment.
Quick start
from toyo_battery import Cell
cell = Cell.from_dir("path/to/cell_dir")
cell.cap_df.to_csv("cycle.csv")
License
MIT — see LICENSE.
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 toyo_battery-0.0.1.tar.gz.
File metadata
- Download URL: toyo_battery-0.0.1.tar.gz
- Upload date:
- Size: 78.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3285ec28a6dfc4a0429f94ee675fc5ed41c268e9154cb4de19849fc3806e533a
|
|
| MD5 |
fa956b656333ca857d52f55c3cb3bdc8
|
|
| BLAKE2b-256 |
2178b5d10ba56403ed879bb4a9c7a2a04de32d7c4c0a96f2df07c8be07708965
|
Provenance
The following attestation bundles were made for toyo_battery-0.0.1.tar.gz:
Publisher:
publish.yml on tomooki/toyo-battery
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
toyo_battery-0.0.1.tar.gz -
Subject digest:
3285ec28a6dfc4a0429f94ee675fc5ed41c268e9154cb4de19849fc3806e533a - Sigstore transparency entry: 1356033031
- Sigstore integration time:
-
Permalink:
tomooki/toyo-battery@01df59fbcccf19f849cfbf6ae86de7ffe80ed634 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/tomooki
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@01df59fbcccf19f849cfbf6ae86de7ffe80ed634 -
Trigger Event:
push
-
Statement type:
File details
Details for the file toyo_battery-0.0.1-py3-none-any.whl.
File metadata
- Download URL: toyo_battery-0.0.1-py3-none-any.whl
- Upload date:
- Size: 57.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbeb8c2d3c630c4fad56ac16a9ae2b3c67caf5187e11e73fc060a3af507ce17e
|
|
| MD5 |
7ca9da8158de0022122d1e3c641429c9
|
|
| BLAKE2b-256 |
871f15f7d017039f7f1ce2c3109afd17c640294fb8a90a0bec82ded018adf190
|
Provenance
The following attestation bundles were made for toyo_battery-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on tomooki/toyo-battery
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
toyo_battery-0.0.1-py3-none-any.whl -
Subject digest:
dbeb8c2d3c630c4fad56ac16a9ae2b3c67caf5187e11e73fc060a3af507ce17e - Sigstore transparency entry: 1356033051
- Sigstore integration time:
-
Permalink:
tomooki/toyo-battery@01df59fbcccf19f849cfbf6ae86de7ffe80ed634 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/tomooki
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@01df59fbcccf19f849cfbf6ae86de7ffe80ed634 -
Trigger Event:
push
-
Statement type: