This library contains an implementation in Python of the LionWeb specifications.
This library is released under the Apache V2 License.
Read the Documentation
We support Python 3.9 to 3.13
ruff check src/ tests/
mypy src/
black src/ tests/
isort src/ tests/
pip install build
python -m build
- Update version in pyproject.toml and setup.py and src/lionwweb/init.py
- Create tag:
git tag -a v0.1.1 -m "Version 0.1.1"
- Release on Pypi:
pip install setuptools wheel twine
python setup.py sdist bdist_wheel
twine upload dist/*
- Push tag
sh prepare_for_tests.sh # to be run just once
PYTHONPATH=src python -m unittest discover tests
You can measure coverage like this:
PYTHONPATH=src coverage run -m unittest discover tests
And then generate a report with:
coverage html
# report generated under htmlcov/index.html