littleutils
raw JSON → 0.2.4 verified Mon Apr 27 auth: no python
A small personal collection of Python utility functions by alexmojaki. Current version 0.2.4. Released as needed, no fixed cadence.
pip install littleutils Common errors
error ModuleNotFoundError: No module named 'littleutils' ↓
cause Littleutils is not installed or is installed in the wrong environment.
fix
Run 'pip install littleutils' in the correct Python environment.
error AttributeError: module 'littleutils' has no attribute '...' ↓
cause Function name typo or the function was removed in a newer version.
fix
Check the available functions in the littleutils documentation or source code.
Warnings
deprecated littleutils is primarily used by other libraries (e.g., executing). May be removed or changed without notice. ↓
fix Do not depend on it directly in production; wrap calls in try/except or pin version.
gotcha littleutils provides a mix of unrelated utilities (e.g., on_error, auto_repr, etc.) that may conflict with your own functions. ↓
fix Import specific functions or use aliases to avoid name clashes.
Imports
- littleutils
import littleutils
Quickstart
import littleutils
print(littleutils.__version__)