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

Development

Install the package and its dependencies in editable mode:

pip install -e ".[dev]" ruff mypy mypy-protobuf types-requests

Common tasks

All common tasks are available via make:

Command Description
make check Run all checks (format, lint, typecheck, tests)
make test-setup Build the Docker image required for integration tests (run once)
make test Run the test suite
make coverage Run tests with coverage and generate an HTML report under htmlcov/
make format Auto-format code with Ruff
make format-check Check formatting without modifying files
make lint Lint with Ruff
make lint-fix Lint and auto-fix fixable issues
make typecheck Type-check with MyPy
make protobuf Regenerate Protobuf classes from Chunk.proto

Build locally

pip install build
python -m build

Release process

  • Update version in pyproject.toml and src/lionweb/__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

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.4.2.tar.gz (92.1 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.4.2-py3-none-any.whl (131.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lionweb-0.4.2.tar.gz
Algorithm Hash digest
SHA256 ea4c3d124f78f858318fd7f2348557d53925cbf8167ef6b7777a3e27d6d638fe
MD5 4aa8776c91baa32b02c8fefec64672ed
BLAKE2b-256 b7333a7e94a3aa93de88137f3891226533a8ac8c05e7a430dc4572bf8a77a9dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lionweb-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 131.3 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.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f5c2635e44bfcb829db5d096e75f57d95350edd5138fbc9c629acfa846dfb6c2
MD5 513627ef21f9d5f02c3c9548eed4f289
BLAKE2b-256 85b53a3153a028eb44932bc985a9dd2ed83b09e47fbf6bc414030edd1541caa2

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