Skip to main content

HardPy library for device testing

Project description

HardPy

HardPy is a python library for creating a test bench for devices.

PyPI version python versions pytest versions Documentation Reddit Discord Telegram


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.

hardpy panel

To Install

pip install hardpy

Getting Started

With CouchDB

  1. Create your first test bench.
hardpy init
  1. Launch CouchDB database via docker compose in the background.
cd tests
docker compose up -d
  1. Launch HardPy operator panel.
hardpy run
  1. View operator panel in browser: http://localhost:8000/

  2. View the latest test report: http://localhost:5984/_utils

    Login and password: dev, database - runstore.

Without a database

  1. Create your first test bench.
hardpy init --no-create-database --storage-type json
  1. Launch HardPy operator panel.
hardpy run
  1. 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.

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

hardpy-0.25.2.tar.gz (3.1 MB view details)

Uploaded Source

Built Distribution

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

hardpy-0.25.2-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

Details for the file hardpy-0.25.2.tar.gz.

File metadata

  • Download URL: hardpy-0.25.2.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hardpy-0.25.2.tar.gz
Algorithm Hash digest
SHA256 4321fa13eed25855829880e3cbfb82a11984c0318394a5d58566fe73ba7471b9
MD5 17a12b477cd8ed796fbba5843bb4024c
BLAKE2b-256 0fb9c84aee11880e76b6ba716385ebbbd76ca9880944180a7db5fe84c160f449

See more details on using hashes here.

Provenance

The following attestation bundles were made for hardpy-0.25.2.tar.gz:

Publisher: release.yml on everypinio/hardpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hardpy-0.25.2-py3-none-any.whl.

File metadata

  • Download URL: hardpy-0.25.2-py3-none-any.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hardpy-0.25.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c903163b89b73525447469c31e73119837433f5e35c47a065ff73452b21afc30
MD5 89683af5f9bb7a7f4fd799a0a1e70d48
BLAKE2b-256 23b36baf38519a44764db154e7c6461efbc08c4e07515dd8df628f8a3ee50136

See more details on using hashes here.

Provenance

The following attestation bundles were made for hardpy-0.25.2-py3-none-any.whl:

Publisher: release.yml on everypinio/hardpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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