Core classes and functions, reusable in any kind of Python application
Project description
Core classes and functions, reusable in any kind of Python application
Features:
- exception classes to express common scenarios
- implementation of models annotations, useful to implement validation of business objects
- friendly JSON encoder, handling
datetime
,date
,time
,UUID
,bytes
- implementation of simple in-memory cache, supporting expiration of items and capped lists
- utilities to work with
folders
and paths StopWatch
implementation
Installation
pip install rocore
Documentation
Please refer to documentation in the project wiki: https://github.com/RobertoPrevato/rocore/wiki.
Develop and run tests locally
pip install -r dev_requirements.txt
# run tests using automatic discovery:
pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rocore-1.0.5.tar.gz
(9.5 kB
view hashes)
Built Distribution
rocore-1.0.5-py3-none-any.whl
(11.2 kB
view hashes)