Skip to main content

Microcycler Python SDK

Python SDK for the Microcycler battery cycler: control cyclers, run tests, follow telemetry and alerts, download and analyse the files a test writes, and update firmware.

pip install microcycler

Python 3.9 or newer. The package is a thin Python layer over a Rust core (core/ in the repository, the same code the Microcycler dashboard and the headless uplink agent run), shipped as one prebuilt wheel per platform, so installing needs no compiler.

import asyncio
from microcycler import Cycler

async def main():
    async with Cycler("169.254.10.42") as cycler:
        t = await cycler.get_telemetry()
        print(t.state, t.voltage, t.current)

asyncio.run(main())

The documentation is in documentation/docs/sdk/ and on the documentation site:

  • Overview, Connecting, Running tests, Recipe steps: connect, build a recipe, start it, store recipes on the cycler.
  • Direct control: scripts that set the current or voltage themselves, and the microcycler-dynamic command.
  • Monitoring, Files and the SD card, Analysing the files: telemetry, alerts, downloading and analysing test files.
  • Cell twin, Firmware updates, Fleets and the uplink agent, and a generated Reference of every public class and function.

Two command-line tools are installed with the package: microcycler-dynamic (run a script against one or more cyclers) and microcycler-agent (the headless uplink agent).

The SDK is under development and its API may change between releases.

Metadata

Release files for microcycler 0.1.47

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for microcycler 0.1.47
File Actions
microcycler-0.1.47-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for microcycler-0.1.47-cp39-abi3-win_amd64.whl
microcycler-0.1.47-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details for microcycler-0.1.47-cp39-abi3-manylinux_2_28_aarch64.whl
microcycler-0.1.47-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for microcycler-0.1.47-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
microcycler-0.1.47-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for microcycler-0.1.47-cp39-abi3-macosx_11_0_arm64.whl
microcycler-0.1.47-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for microcycler-0.1.47-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 22.1 MB

Release files / microcycler-0.1.47-cp39-abi3-win_amd64.whl

Download URL microcycler-0.1.47-cp39-abi3-win_amd64.whl
Size 4.3 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
fdb016cbb58b6433530ecb5b4d218f3465642c7e1cc1c8716465782094257434
BLAKE2b-256 checksum
How to use checksums
c1298784ddd9d3af32da73a69a4b88f7c37219c2f9f288ee6da8184047cdcb54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / microcycler-0.1.47-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL microcycler-0.1.47-cp39-abi3-manylinux_2_28_aarch64.whl
Size 4.0 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
125d470a5eff35b1258631c3b7d6ecd578282b52c3859671ccf436f5f33476f0
BLAKE2b-256 checksum
How to use checksums
4276cda32f061d669b8f1e4ed8a0637a7de021f41eead7b91825fac2b1f81333
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / microcycler-0.1.47-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL microcycler-0.1.47-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 4.8 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
417b7aefae42204c83195fb663e2d94011909a69f4636cf9e37a1abb79b0083d
BLAKE2b-256 checksum
How to use checksums
73bcce841f6fa3cf675be6c06b7869f3e14d9a50ca69689c60bd68999f465936
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / microcycler-0.1.47-cp39-abi3-macosx_11_0_arm64.whl

Download URL microcycler-0.1.47-cp39-abi3-macosx_11_0_arm64.whl
Size 4.4 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
741ea49b7e70f8d6305f4a11d230e8da4a3e48c2129ef0ecad2c334c23b4f25d
BLAKE2b-256 checksum
How to use checksums
f046d8015c02f657f09c90e1489410d636c4ebcaf295dc4a8f90b5d3ebfaf0dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / microcycler-0.1.47-cp39-abi3-macosx_10_12_x86_64.whl

Download URL microcycler-0.1.47-cp39-abi3-macosx_10_12_x86_64.whl
Size 4.5 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
eb84eaceccbde3fd036a0f1aead9989c155acd8e142955b39ad0b405d809ad01
BLAKE2b-256 checksum
How to use checksums
2c10abbb95e7ee03b1256efbf8c6d88164386f6a497a21b289dcd1ceaad37a9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for microcycler 0.1.47

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.47 This release

5 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page