essentials 1.1.5
pip install essentials
Latest version
Released:
General purpose classes and functions, reusable in any kind of Python application
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Roberto Prevato
- Tags core, utilities
Classifiers
- Development Status
- License
- Operating System
- Programming Language
Project description
Essentials
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
folders
and paths StopWatch
implementation- 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
Documentation
Please refer to documentation in the project wiki: https://github.com/Neoteroi/essentials/wiki.
Develop and run tests locally
pip install -r requirements.txt
# run tests using automatic discovery:
pytest
# with code coverage:
make testcov
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Roberto Prevato
- Tags core, utilities
Classifiers
- Development Status
- License
- Operating System
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file essentials-1.1.5.tar.gz
.
File metadata
- Download URL: essentials-1.1.5.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8736f738bb2c51d5069b2de2cf9146f7d402f25f9f95636781e59a422c908c46 |
|
MD5 | 606c7df988778c9b1e6350e0701ceb28 |
|
BLAKE2b-256 | b158bad62d22fcdd933fb6a0bacb1195198e618c2062d7ad1e6a42c2724ca15d |
File details
Details for the file essentials-1.1.5-py3-none-any.whl
.
File metadata
- Download URL: essentials-1.1.5-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 905fa4a69fcd2b2cf41ecc6cc65827e30c87ef91f3f5c71540bcc5e984fa8360 |
|
MD5 | 2f6e967846fa18f3e4d85a4e8e304678 |
|
BLAKE2b-256 | c4aa194b6b99b4689ac69998585d8d70aa5e0dab7c5dbf1d8e948fa9cd54dfb4 |