General purpose classes and functions
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install essentialsEssentials
Core classes and functions, reusable in any kind of Python application.
$ pip install essentials
Features:
- exception classes to express common scenarios
- friendly JSON encoder, handling
datetime,date,time,UUID,bytes, built-in enums, and instances of classes implementing adict()method, like pydantic BaseModel - utilities to work with
foldersand paths StopWatchimplementation- a base class to handle classes that can be instantiated from configuration dictionaries
- common decorator to support retries
- common decorator to support logging function calls
- common decorator to control raised exceptions
- caching functions