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.14

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.3.tar.gz (107.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.3-py3-none-any.whl (148.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lionweb-0.4.3.tar.gz
  • Upload date:
  • Size: 107.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for lionweb-0.4.3.tar.gz
Algorithm Hash digest
SHA256 6eff06f976c8164bc903ef99d68543205052ddb81c81f64d9dda81bcafdcc166
MD5 ef193d3d07e9aee601b8669f12078308
BLAKE2b-256 eab0e76108041322ad0e60a8413543984698a87f108816bf4798660153c99636

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lionweb-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 148.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for lionweb-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7e15249cbfd03d1e9e1f2176792a30e3a153bed6a78a4265384211af62f3cf1a
MD5 ed0dba0cba6a73af70708448f3baef51
BLAKE2b-256 b8d0d5a96a558c2ee33ceab53d353fe74dc8ebb4b39836a3d25ded9c6d97a337

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