Skip to main content

Python API for Neware Battery Testing System

Project description

aurora-biologic logo


PyPI version License Python Versions Checks Coverage

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.

IntelLiGent logo IntelLiGent logo     Battery 2030+ logo Battery 2030+ logo     EU flag     Swiss secretariat

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aurora_neware-0.2.3.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aurora_neware-0.2.3-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

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

Hashes for aurora_neware-0.2.3.tar.gz
Algorithm Hash digest
SHA256 81c1234d13dc6ed2d7323d5403bb80ef31962fdb44133712e7efad5b74ba0d81
MD5 82ef2546baa8f2fc1c719465273a8ad9
BLAKE2b-256 0ac75d5f4de3ee691bbca5b8ef816b373eab8c02099221d067bbe6c168824d3e

See more details on using hashes here.

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

Hashes for aurora_neware-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3a30b46010d8b40547a3eac84d3f0b8ff7941bd555f42e36d9da4198f041c514
MD5 f56916eed6cf21532cc07effde8e8bc9
BLAKE2b-256 6afe7ce5bd8ea35b744b8ab81097a4d09345d804866eeb5f17c2b7bf4e516c05

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page