HardPy is a python library for creating a test bench for devices.
Overview
HardPy allows you to:
- Create test benches for devices using pytest;
- Use a browser to view, start, stop, and interact with tests;
- Store test results in the CouchDB database or to simple JSON files;
- Store test results on the StandCloud analytics platform.
To Install
pip install hardpy
Getting Started
With CouchDB
- Create your first test bench.
hardpy init
- Launch CouchDB database via docker compose in the background.
cd tests
docker compose up -d
- Launch HardPy operator panel.
hardpy run
-
View operator panel in browser: http://localhost:8000/
-
View the latest test report: http://localhost:5984/_utils
Login and password: dev, database - runstore.
Without a database
- Create your first test bench.
hardpy init --no-create-database --storage-type json
- Launch HardPy operator panel.
hardpy run
- View operator panel in browser: http://localhost:8000/
Examples
For more examples of using HardPy, see the examples folder and the documentation.
Measurement instruments
HardPy does not contain any drivers for interacting with measuring equipment. However, HardPy allows you to work with any Python code, meaning you can use open libraries to interact with measuring equipment.
Metadata
Release files for hardpy 0.25.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hardpy-0.25.2.tar.gz | 3.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hardpy-0.25.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 MB
Release files / hardpy-0.25.2.tar.gz
| Download URL | hardpy-0.25.2.tar.gz |
|---|---|
| Size | 3.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4321fa13eed25855829880e3cbfb82a11984c0318394a5d58566fe73ba7471b9
|
|
BLAKE2b-256 checksum How to use checksums |
0fb9c84aee11880e76b6ba716385ebbbd76ca9880944180a7db5fe84c160f449
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency logRelease files / hardpy-0.25.2-py3-none-any.whl
| Download URL | hardpy-0.25.2-py3-none-any.whl |
|---|---|
| Size | 3.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c903163b89b73525447469c31e73119837433f5e35c47a065ff73452b21afc30
|
|
BLAKE2b-256 checksum How to use checksums |
23b36baf38519a44764db154e7c6461efbc08c4e07515dd8df628f8a3ee50136
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.
Transparency log