hardware-tools
A library for automating hardware development and testing
Environment
List of dependencies for package to run.
Required
- python modules, installed via
pip install hardware_tools- numpy
- pyvisa
- cython
- colorama
- matplotlib
- scipy
- sklean
- Pillow
- scikit-image
Optional
- Test extensions, installed via
pip install hardware_tools[test]- time-machine
- hardware-tools
Virtual Environment
If using hardware-tools in a virtual environment, do not place it within this repo directory. Set it outside due to an issue compiling the extensions with cython since it tries to compile the code inside the virtual environment as well.
mkdir workspace-hardware-tools
cd workspace-hardware-tools
python -m venv .
source ./Scripts/activate # or .\Scripts\activate.bat
git clone https://github.com/WattsUp/hardware-tools
cd hardware-tools
python -m pip install .
Installation / Build / Deployment
# To install latest stable version on PyPi, execute:
python -m pip install hardware_tools
# To install from source, execute:
git clone https://github.com/WattsUp/hardware-tools
cd hardware-tools
python -m pip install .
# For development, install as a link to repository such that code changes are used. And include testing packages
git clone https://github.com/WattsUp/hardware-tools
cd hardware-tools
python -m pip install -e .[test]
Usage
Explain how to use your project.
# TODO
Running Tests
Make sure to install package with testing extension
# To run the automated tests, execute:
python -m tests discover -s tests -t . --locals
# To save the results to file, execute:
python -m tests discover -s tests -t . --locals &> testing.log
## The following is a synopsis of unittest main arguments ##
# To run a singular test file, execute:
python -m tests $path_to_test_file
python -m tests tests.measurement.test_mask
# To run a singular test class, execute:
python -m tests $path_to_test_file.$class
python -m tests tests.measurement.test_mask.TestMaskDecagon
# To run a singular test method, execute:
python -m tests $path_to_test_file.$class.$method
python -m tests tests.measurement.test_mask.TestMaskDecagon.test_init
# Multiple can be strung together
python -m tests tests.measurement.test_mask tests.test_math
# To run coverage and print the report with missing lines, execute:
python -m coverage run && python -m coverage report -m
# To run profiler, execute:
python -m cProfile -s tottime -m tests discover -s tests -t . > profile.log
# To run linting, execute:
python -m pylint hardware_tools tests tools setup.py
Development
Code development of this project adheres to Google Python Guide
Styling
Use yapf to format files, based on Google's guide with the exception of indents being 2 spaces.
# To format all files, execute:
yapf -ir .
Versioning
Versioning of this projects adheres to Semantic Versioning and is implemented using git tags.
Metadata
Release files for hardware-tools 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hardware-tools-0.10.0.tar.gz | 315.4 kB | Without provenance | Details for hardware-tools-0.10.0.tar.gz |
Built distributions (wheels)
Total release size: 6.0 MB
Release files / hardware-tools-0.10.0.tar.gz
| Download URL | hardware-tools-0.10.0.tar.gz |
|---|---|
| Size | 315.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e40fe14ef6bca69f46c79dea9f6644f1351698f035ec796c3c9e459fc0612690
|
|
BLAKE2b-256 checksum How to use checksums |
60b74f651ded967dc58ff9361d2cf80ba82007b8989a77549cf9712cfdcc83c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / hardware_tools-0.10.0-cp310-cp310-win_amd64.whl
| Download URL | hardware_tools-0.10.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 486.6 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5c77b7250242385e1f18c956ed80b416f6bace799def0f3e453e88b48f894c05
|
|
BLAKE2b-256 checksum How to use checksums |
cfad50706c57be8005036a8ffb96289d12efdd86bedcced9460d5dff9ff03d34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / hardware_tools-0.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hardware_tools-0.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 931.6 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
4931b385608d19dceae35de1e86e56eb169e94059f0a296798d2506a2a932611
|
|
BLAKE2b-256 checksum How to use checksums |
6c51ba02cad5bcbe70473ed8c829c45713cc3bc93a6c8182ac25d0425a279d16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / hardware_tools-0.10.0-cp39-cp39-win_amd64.whl
| Download URL | hardware_tools-0.10.0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 490.7 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4e767c64043472ab0ed65ca846b59202d8b0c57c0c5e4e2219703c31f244f1a6
|
|
BLAKE2b-256 checksum How to use checksums |
75f33d2a20ae01039b2efeef81714eb162c3de8cb047194ea9ece4c7df375a6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / hardware_tools-0.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hardware_tools-0.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 953.9 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b0684c10d52cce1812dcf774d71737abade9d2fa29266687741aa73784460d88
|
|
BLAKE2b-256 checksum How to use checksums |
aab3da09d83933cc734f6562bf428bd37267a36f9660f52bebec6428bdab75c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / hardware_tools-0.10.0-cp38-cp38-win_amd64.whl
| Download URL | hardware_tools-0.10.0-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 490.6 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d896ca435289a2ba6ccc6f3c6cf57aa1bb4dbe8bd2d4e4a9ae8472013414f89d
|
|
BLAKE2b-256 checksum How to use checksums |
ec4e4ce4752f641985b74c2c9ca548f0ee41b9f082dca8ed60b6220976fc7306
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / hardware_tools-0.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hardware_tools-0.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 971.1 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0863d0b6c393857f701b1e10f298ee3f1baa087a6becec95dc298b5f9bee0426
|
|
BLAKE2b-256 checksum How to use checksums |
7d8e25eb125df55c58033503713157887e434d007f94f050f92f08d1a96a3923
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / hardware_tools-0.10.0-cp37-cp37m-win_amd64.whl
| Download URL | hardware_tools-0.10.0-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 489.9 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
84b9109104f2321c2414f0d301a2c247ec9b44dff8c950cded8c056dc59488bc
|
|
BLAKE2b-256 checksum How to use checksums |
383935056d2ce10ceb804fc12a624910ad0bad2733d7fe65a1799c8310b8ab41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / hardware_tools-0.10.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hardware_tools-0.10.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 874.6 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
3b63aaa8642582fd3ec52a8a716989251b6ad951387c42d2dbb4866b9599dada
|
|
BLAKE2b-256 checksum How to use checksums |
0dc62ebaceed9e514a8b122eb4ac95c95d2d724377becdd439ebf2f06f6f6160
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for hardware-tools 0.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.