Poetry#
To include this package in your project using Poetry, follow these steps:
Ensure pip is installed
python3 -m ensurepip --upgrade
Install Poetry if not already installed
pip install --upgrade poetry
poetry --version
(Optional) Initialize pyproject.toml if you don’t have one
poetry init
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
Verify installation
poetry show pylit
Run your code inside the Poetry environment
poetry run python my_python_file.py