Hardpy

Latest version: v0.9.0

Safety actively analyzes 702353 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.9.0

* Add the ability to add images to operator messages like a dialog box.
* Add non-blocking mode for operator message.
* Add `clear_operator_message` function for closing operator message.
* Add **font_size** parameter for operator message and dialog box text.
* Add a 1 second pause between attempts in the `attempt` marker.
* Fix an issue where operator messages and dialog boxes sometimes did not
open before the browser page reloaded.

0.8.0

* Modify API for dialog boxes with images.
* Add the ability to add images to all widgets.
* Add ability to add borders to images.
* Fix timezone format using the **tzlocal** package.
* Add ability to close `set_operator_message` with `Escape` button.
* Fix skipped test case and module status. Now skipped test status is **skipped**, not **ready**.
* Add an exception when entering the same selection items or step names in dialog boxes.
* Add the ability to clear the **runstore** database before running hardpy
using the the `--hardpy-clear-database` option of the **pytest-hardpy** plugin.

0.7.0

* Add an **attempt** marker to indicate the number of attempts to run a test before it passes successfully.
* Add a **get_current_attempt** method to get the current attempt number.
* Add the ability to run multiple dialog boxes in a single test.
* Fix the problem of freezing the dialog box in some test cases.
* Add autofocus on dialog boxes (on the **Confirm** button or the first item in the list).
* Remove the **progress** field from the **runstore** database.
* Add the **hw_id** variable to the **test_stand** field in the database obtained from the stand computer.
* Add the **location** variables to the **test_stand** field in the database.
* Move the **timezone** and **driver** database variables to the **test_stand** field.
* Add a schema version. The schema version is fixed to version 1.
* Change **timezone** from two strings to one string.
* Replace the **Flake8** linter with a **Ruff** linter.

0.6.1

* Fix running tests with a simple `pytest` command.

0.6.0

In HardPy, the startup principle has changed compared to version 0.5.0 and lower.
The `hardpy-panel` command is no longer available.

The HardPy project of version 0.6.0 or later must contain the file **hardpy.toml**.

* Add the ability to clear the **statestore** database before running hardpy
using the the `--hardpy-clear-database` option of the **pytest-hardpy** plugin.
* Add the **name** and **info** fields to **test_stand** in the database schema.
* Add the **part_number** field to **dut** in the database schema.
* Add the **attempt** field to the test case in the database schema.
* Add `set_stand_name` and `set_dut_part_number` functions.
* Add a hardpy template project using the `hardpy init` command.
* Add a hardpy config .toml file - **hardpy.toml**.
* Refactor **pytest-hardpy** plugin options.
* Add CLI to hardpy as an entry point. The `hardpy-panel` command is no longer available.
* Fix use of special characters in dialog boxes. ASCII symbols are passed from frontend to backend.
* Fix status of stopped tests.
* Fix progress bar for skipped tests. Progress bar fills to the end when tests are skipped.
* Add report name generation when serial number is missing.

0.5.1

* Add the ability to work with cloud couchdb via couchdb config.

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.