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
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
Documentation
Please refer to documentation in the project wiki: https://github.com/RobertoPrevato/essentials/wiki.
Develop and run tests locally
pip install -r requirements.txt
# run tests using automatic discovery:
pytest
# with code coverage:
make testcov
Metadata
Release files for essentials 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| essentials-1.1.2.tar.gz | 8.5 kB | Without provenance | Details for essentials-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| essentials-1.1.2-py3-none-any.whl | Python 3 | none | any | Details for essentials-1.1.2-py3-none-any.whl |
Total release size: 19.4 kB
Release files / essentials-1.1.2.tar.gz
| Download URL | essentials-1.1.2.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28114f597d7297198ec73ee687dc43ea312d6d76125ffe24961825880989404a
|
|
BLAKE2b-256 checksum How to use checksums |
6b00f113a3b209b8f1ceaa9735bc40cd73c05124e332ff9f3216b4b2bb83ddcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / essentials-1.1.2-py3-none-any.whl
| Download URL | essentials-1.1.2-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
591c7b798452ba370898703bf214a713a7c3b6e6b618675eeebce8b76acfc5d8
|
|
BLAKE2b-256 checksum How to use checksums |
db0296b03acd7540d1027d1a6737a1f364538a8e7021be1b36de7b5d06f4c283
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for essentials 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.