Python API for Neware Battery Testing System
Project description
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.
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 aurora_neware-0.2.3.tar.gz.
File metadata
- Download URL: aurora_neware-0.2.3.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81c1234d13dc6ed2d7323d5403bb80ef31962fdb44133712e7efad5b74ba0d81
|
|
| MD5 |
82ef2546baa8f2fc1c719465273a8ad9
|
|
| BLAKE2b-256 |
0ac75d5f4de3ee691bbca5b8ef816b373eab8c02099221d067bbe6c168824d3e
|
File details
Details for the file aurora_neware-0.2.3-py3-none-any.whl.
File metadata
- Download URL: aurora_neware-0.2.3-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a30b46010d8b40547a3eac84d3f0b8ff7941bd555f42e36d9da4198f041c514
|
|
| MD5 |
f56916eed6cf21532cc07effde8e8bc9
|
|
| BLAKE2b-256 |
6afe7ce5bd8ea35b744b8ab81097a4d09345d804866eeb5f17c2b7bf4e516c05
|