Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 886 Bytes

README_internal.md

File metadata and controls

27 lines (23 loc) · 886 Bytes

Smartwave Python API

Design goals:

  • Stage 1: Aid in development and debugging
  • Stage 2: Supplement the Webgui

The API should follow the WebGUI Communication protocol as outlined here: https://github.com/semify-eda/wfg-webgui/blob/main/doc/WebGUI-Arduino-protocol.md

Publishing

(Only once) To publish, all the requirements in the root requirements.txt have to be installed:

pip install -r requirements.txt

Update the version number in pyproject.toml, then build:

python -m build

To upload to TestPyPi (for further information how to set up twine, see this tutorial):

python -m twine upload --skip-existing --repository testpypi dist/*

To upload to production PyPi:

python -m twine upload --skip-existing dist/*