A library for interacting with Wiliot's Testers app
Project description
PyWiliot: wiliot-testers
wiliot-testers is a python library for accessing Wiliot's Testers scripts
Public Library
MAC Installation
Getting around SSL issue on Mac with Python 3.7 and later versions
Python version 3.7 on Mac OS has stopped using the OS's version of SSL and started using Python's implementation instead. As a result, the CA certificates included in the OS are no longer usable. To avoid getting SSL related errors from the code when running under this setup you need to execute Install Certificates.command Python script. Typically you will find it under
/Applications/Python\ 3.7/Install\ Certificates.command
Python 3 on Mac
The default Python version on mac is 2.x. Since Wiliot package requires Python 3.x you should download Python3 (e.g. Python3.7) and make python 3 your default. There are many ways how to do it such as add python3 to your PATH (one possible solution https://www.educative.io/edpresso/how-to-add-python-to-the-path-variable-in-mac)
Git is not working after Mac update
please check the following solution: https://stackoverflow.com/questions/52522565/git-is-not-working-after-macos-update-xcrun-error-invalid-active-developer-pa
Installing pyWiliot
pip install wiliot-testers
Using pyWiliot
Wiliot package location can be found, by typing in the command line:
pip show wiliot-testers
please check out our scriptd, including:
For more documentation and instructions, please contact us: support@wiliot.com
Release Notes:
Version 5.0.12:
- offline tester:
- new architecture and major reformatting
- sample test:
- stop run if connection to temperature sensor failed
- support new platform address
- modify criteria for pass/fail the reel
- testers equipment:
- add support more sensors including sensor calibration
- add support to Cognex scanner
- new tool for retrieve post process for partners output
- tester sdk
- log: add more functionalities to wiliot log
- allow to store test info inside results class
- improved function to load test suite
- yield:
- working on tag matrix and not per column
- improve application visualization and robustness
- clean tags till first trigger
- add supports in more sensors
Version 4.0.14:
- sample tester:
- add fail bin for the whole test
- add the option to construct specific tests including number of tested tags and the parameters for the test to pass/fail
- upload data to cloud:
- supports also dev env
- reduce the max size of a big file
- test equipment:
- improve scanner configuration
- add logging
- tester sdk:
- add more fail bins
Version 4.0.12:
- offline tester:
- add responded yield to gui
- add the option to change the max number of bad QR
- fix bug in test format
- fix bug when working with two gw
- add pop up when upload failed
- change default line selection to True
- improve code for printing GUI - production and test
- improve harvester test
- improve function to upload tester data to cloud including big files (>15Mb)
- tester sdk:
- add more function to the tester log
- fix bug when stop event is not specified
- yield:
- add more logging including progress data
Version 4.0.11:
-
offline tester:
- fix bug when several tags under test and test status is still pass
- support 8 characters barcode label
- Support label scanner for both barcode and QR
- check printer communication during the run
-
upload data:
- fix .bat file for upload data to the cloud
-
sample test:
- fix script error when installing on a clean environment
Version 4.0.6:
- offline tester:
- update test suite.
- enable line selection using text communication with the printing (currently available only if printing offset > 0 and no QR check.
- add tag reel location to packet data csv (i.e. the location on the reel even if multiple runs were done on the same reel)
- check gw trigger (optic sensor signal) and apply printing validation, right after a trigger was received (or missing label was decided)
- check differences between responding yield and pass yield, if the difference is larger than what is defined at the gui json file, the run shall stop. the defualt values are: "pass_response_diff": 10, (if more than 10% diff the run will stop) "pass_response_diff_offset": 100(ignore this stop criteria until you reached at least 100 tags).
- improve test total time calculation to enable “extended test” mode (more than 999 seconds per tag)
- add listener process log to the same folder as the offline tester logs.
- fix bug when having multiple api keys from different owner id.
- add exception if Arduino connection was failed.
- Sample test:
- add new default configuration that can be edited. on the same file new config can be added as well. ('.default_test_configs.json' under sample test folder script → config)
- save the above file at the appdata folder for view including the last pywiliot version (so data would not be overwrite if a new pywiliot installation is done).
- fix bug where the emulated surface would not be saved from run to run.
- update value for emulated surfaces
- add the selected sub1g freq to the run data
- add inlay types according to all supported antennas.
- remove edit tester hw version from the GUI (can be done only by edit .defaults.json
- enable testing the same tag multiple times.
- add checkbox for the multiple sample test modes: send to cloud, offline mode, calibration mode, send to test env (develop mode)
- add calculation for std tbp.
- tag class (“tester sdk”)
- check gw response after reset for robust connection and communication after rest.
- delete old commands that are not relevant to the new FW (>4.0.14)
- check if trigger was received during the test (i.e. can indicates that the r2r moved before we finished the test or that we have some noise in the system) and stops the run if it was.
- if trigger was not received by the gw (e.g. missing label), the gw is reset and re-config to reduce “missing labels” due to problems with the gw.
- fix bug where cancel commands did not get ACK from the gw
- add a warning when more than one packet was pulled from the queue to monitor low performance of the script.
- print a better line per each packet including adva and rssi
- check if we had error during gw reading and if gw connection is stable. if not a reset and re-config of the gw are done, if the problem was not fixed an exception is raised.
- reset the listener buffer before waiting for trigger and not after.
- config between different tests only if the test suite contains more than 1 test
- yield tester:
- improve GUI, including saving previous input.
- fix bug for connecting to Arduino
- enable upload to cloud data
Version 4.0.0:
- First version
The package previous content was published under the name 'wiliot' package. for more information please read 'wiliot' package's release notes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wiliot-testers-5.0.13.tar.gz.
File metadata
- Download URL: wiliot-testers-5.0.13.tar.gz
- Upload date:
- Size: 270.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6433ada61a656f768634da59009bc66ff140424a2e31ebdd6f0f1d966a7a9d0
|
|
| MD5 |
ac6e1119e55568b426592f6d4af4b898
|
|
| BLAKE2b-256 |
0edccfc283c97194c555ee5302a9ed561ba94994ddd25c99ae54897a68fea5c8
|
File details
Details for the file wiliot_testers-5.0.13-py3-none-any.whl.
File metadata
- Download URL: wiliot_testers-5.0.13-py3-none-any.whl
- Upload date:
- Size: 307.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
854dd2dec146962f0adf7a173e37c8bfdcd176d25758fd0963b08da914184c29
|
|
| MD5 |
95b15ed7f6e79b0558179fedb340ae58
|
|
| BLAKE2b-256 |
6b7c919bf0acc90261d4492216291bf6c5e16fd3dfb62b651079fa7777d13487
|