Installation Guide
Apathetic Python Logger can be installed using several methods. Choose the one that best fits your project’s needs.
Primary Method: PyPI (Recommended)
The recommended way to install Apathetic Python Logger is via PyPI. We prefer poetry over pip for its pyproject.toml support, automatic venv management, and tool configuration without dotfiles.
Using Poetry (Preferred)
poetry add apathetic-logger
Using pip
pip install apathetic-logger
This installation method provides:
- Easy dependency management
- Version pinning
- Integration with your existing Python project structure
Alternative: Single-File Distribution
For projects that prefer a single-file dependency, we also distribute a standalone apathetic_logging.py file that you can download directly from releases.
Download and Use
- Download
apathetic_logging.pyfrom the latest release - Place it in your project directory
- Import it directly:
import apathetic_logging
This method is useful for:
- Projects that want to integrate dependencies directly into their codebase
(avoiding package managers and external dependencies) - Embedded systems or restricted environments
(including offline/air-gapped deployments)
Requirements
- Python 3.10+
Apathetic Python Logger has zero runtime dependencies — it uses only Python’s standard library. This makes it perfect for CLI tools and applications where dependency bloat is a concern.
Verification
After installation, verify that it works:
from apathetic_logging import getLogger, registerLogger
registerLogger("test")
logger = getLogger()
logger.brief("Installation successful!")
If you see the info message, installation was successful!
Next Steps
- Read the Quick Start Guide to get up and running
- Check out the API Reference for detailed documentation
- See Examples for advanced usage patterns