Skip to content

OpenSemanticWorld-Packages/opensemantic.batteries-python

Repository files navigation

PyPI-Server Coveralls

opensemantic.batteries

Library with Python models derived from the page package world.opensemantic.batteries.

Auto-generated Pydantic models (v1 and v2) for battery-domain schemas: battery cells, modules and packs, cell formats and chemistries, electrode and electrolyte materials, electrochemical and mechanical tests, test procedures, and battery testing devices.

Builds on opensemantic.core, opensemantic.base and opensemantic.lab.

Installation

pip install opensemantic.batteries             # models only
pip install opensemantic.batteries[controller] # + controller extras (via opensemantic.lab)
pip install opensemantic.batteries[view]       # + dashboard view extras (via opensemantic.lab)

Usage

import opensemantic.batteries as batteries        # Pydantic v2 models
import opensemantic.batteries.v1 as batteries_v1  # Pydantic v1 models

Note

The models in src/opensemantic/batteries/_model.py and src/opensemantic/batteries/v1/_model.py are generated by the osw-python-package-generator from the world.opensemantic.batteries schema package. Do not edit them manually.

About

Python models derived from the page package world.opensemantic.batteries

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages