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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hardpy-0.24.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.24.0.tar.gz
Algorithm Hash digest
SHA256 55c5eef1303005720374a536a87eb47dd8aafe5ad53ac8095dff7464dbfd022c
MD5 3fe22abc4648f4d9369cae8b68807f01
BLAKE2b-256 104c855393cecb274fcda2839b79542c5956d1c975093ba0d35819382b01050c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hardpy-0.24.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.24.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52320a1545370efb4cfdf1002eebece8232d1511b7d606aeff5165591f8e3479
MD5 27d4caf8b0bfee17f16222f163b4f58c
BLAKE2b-256 cf7ee0af6d749e14fda84fd535dd6e979b3544735d50ba3ebabf6db938ca0f3d

See more details on using hashes here.

Provenance

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