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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hardpy-0.25.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.12

File hashes

Hashes for hardpy-0.25.1.tar.gz
Algorithm Hash digest
SHA256 3737e486277494a3c7c36888e76fec496bcd604bd553a2729768566716f729b1
MD5 b9580a9953fdb3c333512ba4b31aa9b3
BLAKE2b-256 d756b56a8f5ce081e92f2d176144a84aa5d48da9e7773d15c6aceff4196de968

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hardpy-0.25.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb0ce9f891578cb46c8071e51eb9cbb05064429c4d57d6ad1839d9a35ba4af7d
MD5 f062ce0ee9349cf99c181e6314bc963e
BLAKE2b-256 d406994deec103a0a6cdce4bcb0a961b8f03b4400a963061d57c82e5b5c27eb4

See more details on using hashes here.

Provenance

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