Poetry#

To include this package in your project using Poetry, follow these steps:

  1. Ensure pip is installed

python3 -m ensurepip --upgrade
  1. Install Poetry if not already installed

pip install --upgrade poetry
poetry --version
  1. (Optional) Initialize pyproject.toml if you don’t have one

poetry init
  1. Install pylit directly from GitHub

poetry add git+https://github.com/phil-hofmann/pylit.git

(Optional) Install from a specific branch

poetry add git+https://github.com/phil-hofmann/pylit.git@branch_name
  1. Verify installation

poetry show pylit
  1. Run your code inside the Poetry environment

poetry run python my_python_file.py