Installing#
Install logot like any other Python library:
pip install 'logot'
Important
It’s good practice to install libraries in a virtual environment using venv. This ensures your dependencies
are isolated from your system Python and other projects.
Installing package extras#
logot provides package extras to ensure compatibility with supported
3rd-party integrations.
pip install 'logot[loguru,pytest,trio]'
Use the following package extras for supported 3rd-party integrations:
loguru- Using with logurupytest- Using with pytesttrio- Using with trio
See also
See 3rd-party integrations usage guide.
Installing with Poetry#
Poetry is an excellent Python packaging and dependency management tool. It takes care of installing dependencies and automatically manages virtual environments. 💪
poetry add 'logot'
Note
Installation examples in these docs use pip install for clarity, but Poetry is still a highly recommended
alternative! Simply replace pip install with poetry add in all installation examples.