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.0.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.0-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hardpy-0.25.0.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.0.tar.gz
Algorithm Hash digest
SHA256 6703f4853750b82a37722239075e69b0ac53f5ff28d4a0993676e45273183ca6
MD5 9d0b39f89b28a561c4968e56f96e7d4b
BLAKE2b-256 8be31f1c7c664340ffff2fc302b8df2ed3a35a16db3f85cb886643df162fdec4

See more details on using hashes here.

Provenance

The following attestation bundles were made for hardpy-0.25.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: hardpy-0.25.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8df516a817b6f3855cf5a065c668c58cd453fec0586a617594460b67fee504a
MD5 feaf1989520c81e175e358f16426235d
BLAKE2b-256 afb67baa6fc0ce5e6b083ae8206e9d6b261d13bda3a92445ea90760982dd47fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for hardpy-0.25.0-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