Metadata-Version: 2.1
Name: essentials
Version: 1.1.4
Summary: General purpose classes and functions, reusable in any kind of Python application
Home-page: https://github.com/RobertoPrevato/essentials
Author: RobertoPrevato
Author-email: roberto.prevato@gmail.com
License: MIT
Description: ![Build](https://github.com/RobertoPrevato/essentials/workflows/Build/badge.svg)
        [![pypi](https://img.shields.io/pypi/v/essentials.svg)](https://pypi.python.org/pypi/essentials)
        [![versions](https://img.shields.io/pypi/pyversions/essentials.svg)](https://github.com/RobertoPrevato/essentials)
        [![license](https://img.shields.io/github/license/RobertoPrevato/essentials.svg)](https://github.com/RobertoPrevato/essentials/blob/master/LICENSE)
        
        # Essentials
        Core classes and functions, reusable in any kind of Python application.
        
        ```bash
        $ pip install essentials
        ```
        
        **Features:**
        * [exception classes to express common scenarios](https://github.com/RobertoPrevato/essentials/wiki/Common-exceptions)
        * [friendly JSON encoder](https://github.com/RobertoPrevato/essentials/wiki/User-friendly-JSON-dumps), handling `datetime`, `date`, `time`, `UUID`, `bytes`, built-in enums, and instances of classes implementing a `dict()` method, like [pydantic BaseModel](https://pydantic-docs.helpmanual.io)
        * utilities to work with `folders` and paths
        * [`StopWatch` implementation](https://github.com/RobertoPrevato/essentials/wiki/StopWatch-implementation)
        * [a base class to handle classes that can be instantiated from configuration dictionaries](https://github.com/RobertoPrevato/essentials/wiki/Registry)
        * [common decorator to support retries](https://github.com/RobertoPrevato/essentials/wiki/Retry-decorator)
        * [common decorator to support logging function calls](https://github.com/RobertoPrevato/essentials/wiki/Logs-decorator)
        * [common decorator to control raised exceptions](https://github.com/RobertoPrevato/essentials/wiki/Exception-handle-decorator)
        * [caching functions](https://github.com/RobertoPrevato/essentials/wiki/Caching)
        
        ## Documentation
        Please refer to documentation in the project wiki: [https://github.com/RobertoPrevato/essentials/wiki](https://github.com/RobertoPrevato/essentials/wiki).
        
        ## Develop and run tests locally
        ```bash
        pip install -r requirements.txt
        
        # run tests using automatic discovery:
        pytest
        
        # with code coverage:
        make testcov
        ```
        
Keywords: core utilities
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
