Getting started
Requirements
- Python 3.10 or newer
termcolor3.0 or newer (installed with the package)
Install
Then import the namespace:
The PyPI name is lupaxa-divulge. The import path is lupaxa.divulge.
lupaxa is a namespace package — there is no lupaxa/__init__.py.
From source (development)
Editable install with dev extras (includes the MkDocs pins):
Site Markdown lives in mkdocs/ (not GitHub’s special docs/ directory).
After makefile-skills are installed:
First messages
import lupaxa.divulge as divulge
divulge.info("Server starting")
divulge.success("Operation completed")
divulge.warning("Disk usage high")
divulge.error("Connection failed")
divulge.system("Starting backup job")
Wrap a value and print it at one or more levels:
A walkthrough of the same API lives in demo.py at the repository root
(not shipped in the wheel):