A special thank you to @DrSimonClark for leading the development of this package and contributing the majority of the implementation. His work has been instrumental in moving BDF from specification to practical tooling.
We’ll be sharing example workflows and minimal reference datasets shortly to make onboarding easier.
This release marks an important milestone for the Battery Data Alliance as we continue building out the BDF ecosystem and move from specification to usable tooling.
Superseded. 0.2.0 is released and on PyPI: pip install batterydf. See the 0.2.0 announcement. The TestPyPI instructions below are left for the record and no longer apply.
It’s a breaking release, done once, before adoption makes breaking expensive. read()/scan() return (polars frame, metadata), load() is gone. Files that lie about time units now raise instead of silently loading wrong. New parsers: Arbin .res, BioLogic .mpr with EIS, Arbin MITS xlsx, Neware .ndax. Import is lazy now, so the CLI starts fast. Full notes: battery-data-format/CHANGELOG.md at main · battery-data-alliance/battery-data-format · GitHub. If you test it against your own exports and hit anything surprising, open an issue.
Superseded. 0.2.0 is released and on PyPI: pip install batterydf. See the 0.2.0 announcement. The TestPyPI instructions below are left for the record and no longer apply.
0.2.0rc2 replaces rc1 on TestPyPI. Unlike rc1, this one is a tagged release (v0.2.0rc2) and it’s what final 0.2.0 will be built from.
New since rc1: read() and scan() return a typed Metadata model (BattINFO-shaped test, cell, channel, equipment, protocol, and dataset records) instead of a dict, metadata sidecars round-trip through save and read with writer-version stamps, streaming saves for lazy frames, and the canonical reference datasets are published with a DOI (https://doi.org/10.5281/zenodo.22230066).
Final 0.2.0 goes to PyPI once we’re happy with the rc, so now is the time: run bdf validate on your own exports, read() then save() a file and look at the .metadata.json it writes. Anything surprising: Sign in to GitHub · GitHub
pip install batterydf
pip install "batterydf[all]" # every vendor format and plotting backend
No flags and no index URLs. This replaces the TestPyPI instructions earlier in this thread, which I have marked as superseded. Python 3.11 or newer.
This is the break-once release. read() and scan() return a (polars frame, metadata) tuple, load() is gone, and save() is rebuilt on polars. A file whose elapsed time disagrees with its own timestamps now raises instead of loading wrong. Metadata is typed, BattINFO-shaped, and round-trips through a .metadata.json sidecar. New parsers for Arbin .res, BioLogic .mpr including EIS, Arbin MITS xlsx and Neware .ndax. Ontology 1.3.0.
Python 3.10 is no longer supported. It is end of life and carries an unpatched Pillow vulnerability reachable through matplotlib and bokeh.