Install the package locally for development:
pip install -e .Or from a built wheel:
pip install dist/pupremote-2.1.0-py3-none-any.whlBuild source and wheel distributions:
rm -rf dist/ && python -m buildpython -m twine upload --repository testpypi dist/*Then test installation:
pip install --index-url https://test.pypi.org/simple/ pupremotepython -m twine upload dist/*The PyPI package includes:
pupremote.py- Main library (hub-side and sensor-side implementations)lpf2.py- LPF2 protocol implementation (dependency)
Users can then import:
from pupremote import PUPRemote, PUPRemoteHub, PUPRemoteSensor
import lpf2Check wheel contents:
python -m zipfile -l dist/*.whlCheck metadata:
python -m twine check dist/*