Skip to main content

A Python package for working with LionWeb

Project description

LionWeb Python

PyPI version

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.10 to 3.13

Linting

ruff check src/ tests/
mypy src/

Formatting

black src/ tests/
isort src/ tests/

Build locally

pip install build
python -m build

Release process

  • 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

Tests

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

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

lionweb-0.3.4.tar.gz (76.3 kB view details)

Uploaded Source

Built Distribution

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

lionweb-0.3.4-py3-none-any.whl (112.0 kB view details)

Uploaded Python 3

File details

Details for the file lionweb-0.3.4.tar.gz.

File metadata

  • Download URL: lionweb-0.3.4.tar.gz
  • Upload date:
  • Size: 76.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for lionweb-0.3.4.tar.gz
Algorithm Hash digest
SHA256 dd5af4cee3aebfe2e9a9a6f8160373c8f55df5ef05da01e86a589561ac16c6e0
MD5 bc08cbac75b87fd79a79767be1b34177
BLAKE2b-256 00a89a797bdf2878140bec3056cb36db9fdd9a562acac17cb12a2d6e58305758

See more details on using hashes here.

File details

Details for the file lionweb-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: lionweb-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 112.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for lionweb-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7e1c422e7814d78a2c0763d730d4df99f318b265699106849793380e94f533e5
MD5 ff9191e07ce4678824a2713a5b423a66
BLAKE2b-256 56c53aaaf1ae19e503fb3237e35a63b9d54ca956419bc8349c991c2ec59fe4cc

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