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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hardpy-0.23.1.tar.gz
Algorithm Hash digest
SHA256 07f6014c45df3abd56c0b38076e5afde9c8db3379022b778ac53a15d8dbe0786
MD5 2ba8638339694d559a8c7d0d3121ea1d
BLAKE2b-256 6e62d06525a35124f1123074859e0c9e9fbccfa45e89279f977989df669dc965

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for hardpy-0.23.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f87a1c17d9397d2c56ee5b18141d32141c2c8d3aa2769f1b447c55c6995de5fe
MD5 26d88d063ffa94820b969531962682b6
BLAKE2b-256 6d849beef1e706657206c9e75c589603db661994025287c9be3347a2a9c9306c

See more details on using hashes here.

Provenance

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