In memory of my father who passed away due to COVID-19.
- https://github.com/jovijovi/pypepper
- PyPepper is a microservice toolkit written in Python.
Common packages.
common.context
A powerful chained contextcommon.security.crypto.elliptic.ecdsa
Sign/Verify message by ECDSAcommon.security.crypto.digest
Get hash bytes/hexcommon.security.crypto.salt
Generates a random salt of the specified sizecommon.utils.random
A class for generating random valuescommon.utils.retry
Retry running the function by random interval, support lambdacommon.utils.time
Get UTC/local datetime/timezone/timestamp, support sleepcommon.utils.uuid
UUID(v4) generatorcommon.cache
A thread safe TTL cache-setcommon.log
A simple logger based on logurucommon.options
An easy-to-use optionscommon.system
System signals handler
An event package with payload, support sign/verify signature.
An out-of-box FSM with event trigger, support custom state.
Database helper.
helper.db.mongodb
MongoDB helperhelper.db.mysql
MySQL helper
network.http
RESTFul API server based on FastAPI.
A Workflow-based job scheduler.
Module loader.
- python
3.10
,3.11
,3.12
- conda >=
22.9.0
-
Build code
Install all dependencies and compile code.
make build
-
Test with coverage
make test
-
Build docker image
make docker
-
Clean
make clean
- Documents
- Tracing