Skip to main content

A library for interacting with Wiliot's private tools

Project description

PyWiliot: wiliot-tools

wiliot-tools is a python library for accessing Wiliot's Tools

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-tools

Using pyWiliot

Wiliot package location can be found, by typing in the command line:

pip show wiliot-tools

please check out our tools, including:

For more documentation and instructions, please contact us: support@wiliot.com

Release Notes:

Version 4.14.1:

  • Wiliot GUI - change warning.png size

Version 4.14.0:

  • Gateway GUI:

    • Reworked Commands Info dialog from plain text to a ttk.Treeview table with column sorting, row striping, instant search filtering, tooltip on hover, and double-click to copy command
    • Energy patterns list now dynamically derived from EnergyPatterns enum instead of hardcoded tuple
    • Added send_pulse GW macro
  • Resolver Tool:

    • Bugfix: owner_id is now passed to ManufacturingClient constructor (was previously missing)
  • Test Equipment:

    • New available_serial_ports() function with known device matching (RTscan, API Weinschel, Cognex, Wiliot Gateway, Tescom Chamber) by VID/PID
    • Attenuator: added serial_number for multi-device support, auto-detection via available_serial_ports()
    • CognexDataMan: added read_batch_with_trigger() method
    • ZebraPrinter: added set_var(), get_var(), save_settings() methods, extracted print_label_by_ind() for index-based printing

Version 4.13.0:

  • General:
    • update requirements
  • Analyze Packet Data
    • publish new public tool to parse and analyze any file created by the pywiliot convention.
  • GW GUI:
    • added repeat option per each macro
    • bugfix when using clear data, the data is clear also from the csv output
    • bugfix when reading from .log file for ble5 packets
  • Association Tool:
    • added pattern as input for asset code validation.
    • added the option to create asset including different category_name, category_id, asset_name, labels, sku
  • Test Equipment:
    • added support to Zebra printer including example file
  • offline_label_printer:
    • added CE logo + ID, UKCA logo + ID, and the wiliot address to the label.
  • owner_change_app:
    • minor layout updates.
    • fixed a rare issue where the GUI sent two requests instead of one.
    • improved handling of relative paths.
    • now accepts a leading $ before the owner id to prevent excel from converting it to an integer.
    • if owner id was converted to integer, the GUI now shows an error message.

Version 4.12.0:

  • General:

    • Added support of new VPC endpoint
  • Gateway GUI:

    • Added the option to representing the current tags after clicking clear console in full_uid mode
    • Support application launching with the last used cloud connection details
    • Added the external id to the csv log if resolve was enabled
  • Conversion Label Printer:

    • Change Label Printer SW for Plastic Preprint Converted Reels
  • Owner Change GUI:

    • Added option to open results in excel
  • Wiliot GUI:

    • Added the option to disable both browse button and browse field

Version 4.11.1:

  • General: updated requirements

  • Association Tools:

    • added support to run association based on user base URL on the associate_by_file script
    • for the CloudAssociation class:
      • added the option to use the user base URL
      • added the option to auto re-connect if needed
      • bugfix for re-try bad association call
  • Gateway GUI:

    • added support in different baud rate based on the new Gateway firmware 4.4.8 (see wiliot-core release notes for more info)
  • Sensors and Hardware:

    • added new example for network communication with Cognex scanner
    • updated the network Cognex class to use TCP/IP protocol

Version 4.10.1:

  • Association Tool

    • added support to use the initiator name when associating using the tool
  • Gateway GUI:

    • add option to resolve packets from GCP and change it to thread instead of multi-process
    • added list of the received tag ids and external ids below the data when full uid mode is selected
    • bugfix to see more indication from the gateway when using gpio
  • Resolver Tool

    • added support to resolve GCP
    • added support to batch resolve using thread pool
  • Test equipments

    • added function to use humidity sensor
    • improve Cognex Network class and Cognex Data class
    • added option to get temperature data from several sensors
  • Wiliot GUI

    • added exit function when user close the window
    • added more option to change checkbox style

Version 4.9.1:

  • Gateway GUI:
    • add output power to GW GUI
    • added option to see GW received signals from GPIO on the console.
    • added gw command description on the command info button

Version 4.8.1:

  • generic gui cleanup so all GUIs are WiliotGui class

  • Gateway GUI:

    • added support to pull external ids during live testing
    • added button to show all gateway commands options
    • added button of clean data and clean console instead of general clean button
    • support symbol configuration
  • New tool for Gen3 Production Manufacturing Labeling and Data Collection

  • Owner change Tool:

    • added fail check for all tags that failed to change owner (internal only)
  • Shipment approval api:

    • bugfixes and improvements.
  • Added resolver tool to wiliot-tools package (moved from wiliot-testers package)

    • class for handling live packet resolving to external ids
  • Added test equipment to wiliot-tools package (moved from wiliot-testers package)

    • list of classes to interact with different hardware

Version 4.7.5:

  • updated requirements

  • added new wiliot-gui and updated all GUIs app

  • Gateway GUI:

    • added support to change the radio frequency (symbol)
    • utilize the new gateway configuration function
    • bug fixed for rssi threshold featured

Version 4.6.3:

  • Association:

    • added a tool to associate or disassociate assets from file
    • allow to change the time between requests for CloudAssociation class
  • gateway gui:

    • added rssi threshold option to gui
    • added the option to filer packets based on packet flow version
    • added rssi to full uid mode.
  • scanning ground-truth tool - new tool to send generic events when scanner scan wiliot pixels

Version 4.5.4:

  • Gateway GUI:

    • use the multi-process option when handling the GW if system allow it
    • print the GW response as well and not only the packets
    • add more options to the macro
    • add options to run and config gw separately
  • owner change GUI:

    • added support to move tags from AWS to GCP

Version 4.4.4:

  • Added association tool to associate between tags and id for GCP and AWS platforms

  • local gw gui:

    • add start/stop gw app instead of only reset option

Version 4.2.2:

  • Gateway GUI
    • add logger and improving data logging
    • improve UID only mode
    • added macro for Gateway firmware update
  • Owner change GUI - new tool for changing owner to pixels

Version 4.1.0:

  • Gateway GUI
    • add the option to wrap it up as application
    • handle better packet parsing exceptions

Version 4.0.5:

  • Gateway GUI - Live Plots:
    • improve visualization - add sample points, clear after changing feature
    • add empty feature
    • add option to save the last configuration
  • Gateway GUI - General:
    • add sample points
    • fix libraries compatibility
    • improve logging from all data type and fix bugs
    • enhance gw macros

Version 4.0.4:

  • Gateway GUI
    • add mode for printing full UID, advertising address
    • show only Silicon Lab port as options for the gw GUI
    • add button to print the macro file to create new macros.
    • update GUI visualization

Version 4.0.2:

  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wiliot_tools-4.14.1.tar.gz (187.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wiliot_tools-4.14.1-py3-none-any.whl (245.1 kB view details)

Uploaded Python 3

File details

Details for the file wiliot_tools-4.14.1.tar.gz.

File metadata

  • Download URL: wiliot_tools-4.14.1.tar.gz
  • Upload date:
  • Size: 187.2 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

Hashes for wiliot_tools-4.14.1.tar.gz
Algorithm Hash digest
SHA256 6bc3c1c56380c86368698a7b177df2bf0a3327a24dcc898a26a00e3350ace21e
MD5 9633d727ee3adcee686568fd4978c3ff
BLAKE2b-256 d27c171ba226acb71bde68b7926e1725640b67efa482dabff4ff3fcb71db4ca5

See more details on using hashes here.

File details

Details for the file wiliot_tools-4.14.1-py3-none-any.whl.

File metadata

  • Download URL: wiliot_tools-4.14.1-py3-none-any.whl
  • Upload date:
  • Size: 245.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

Hashes for wiliot_tools-4.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e52a002d6d5454c930843a47b77b1e5ce523e9c6d1efc0011d81851ccbdf3820
MD5 c969c1577815c25dc74c7737e746d879
BLAKE2b-256 710351d8f35093810ea6bde7c193f1f2f827ab00fdfcaf5b21db8820f4d4d2e6

See more details on using hashes here.

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