A standalone Python API and command line interface (CLI) to control Neware battery cyclers.
It is designed for BTS 8.0 and WHW-200L-160CH-B systems, and should work on other cyclers using BTS 8.0.
Features
- CLI and Python API
- Connect to Neware cyclers
- Retrieve status, data, logs
- Start and stop experiments
Installation
Install on a Windows PC with BTS server and client 8.0, connected to one or more Neware cyclers with the API activated.
With Python >3.10, run:
pip install aurora-neware
[!IMPORTANT] Your BTS software must have the API activated, accessed with Help -> Mode settings.
You may need to contact Neware for an activation key.
CLI usage
See commands and arguments with:
neware --help
neware <COMMAND> --help
E.g. to check the status of all channels use:
neware status
To start a job use:
neware start "pipeline_id" "my_sample" "my_protocol.xml"
A pipeline is defined by {Device ID}-{Sub-device ID}-{Channel ID}, e.g. "100-2-3" for machine 100, sub-device 2, channel 3.
API usage
Commands are also available through Python, e.g.:
from aurora_neware import NewareAPI
with NewareAPI() as nw: # connect to the instrument
nw.start(
"pipeline_id",
"my_sample",
"my_protocol.xml",
)
Contributors
Acknowledgements
This software was developed at the Laboratory of Materials for Energy Conversion at Empa, the Swiss Federal Laboratories for Materials Science and Technology, and supported by funding from the IntelLiGent project and Battery 2030+ initiative from the European Union’s research and innovation program under grant agreement No. 101069765 and No. 101104022 and from the Swiss State Secretariat for Education, Research, and Innovation (SERI) under contract No. 22.001422 and 300313.
Metadata
Release files for aurora_neware 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aurora_neware-0.2.3.tar.gz | 21.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aurora_neware-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.1 kB
Release files / aurora_neware-0.2.3.tar.gz
| Download URL | aurora_neware-0.2.3.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81c1234d13dc6ed2d7323d5403bb80ef31962fdb44133712e7efad5b74ba0d81
|
|
BLAKE2b-256 checksum How to use checksums |
0ac75d5f4de3ee691bbca5b8ef816b373eab8c02099221d067bbe6c168824d3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|
Release files / aurora_neware-0.2.3-py3-none-any.whl
| Download URL | aurora_neware-0.2.3-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a30b46010d8b40547a3eac84d3f0b8ff7941bd555f42e36d9da4198f041c514
|
|
BLAKE2b-256 checksum How to use checksums |
6afe7ce5bd8ea35b744b8ab81097a4d09345d804866eeb5f17c2b7bf4e516c05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|