PyPepper is a microservice toolkit written in Python.
Project description
PyPepper
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.
:checkered_flag: Features
common
Common packages.
contextcommon.contextA powerful chained context
securitycommon.security.crypto.elliptic.ecdsaSign/Verify message by ECDSAcommon.security.crypto.digestGet hash bytes/hexcommon.security.crypto.saltGenerates a random salt of the specified size
utilscommon.utils.randomA class for generating random valuescommon.utils.retryRetry running the function by random interval, support lambdacommon.utils.timeGet UTC/local datetime/timezone/timestamp, support sleepcommon.utils.uuidUUID(v4) generator
cachecommon.cacheA thread safe TTL cache-set
logcommon.logA simple logger based on loguru
optionscommon.optionsAn easy-to-use options
- :computer:
systemcommon.systemSystem signals handler
event
An event package with payload, support sign/verify signature.
fsm
An out-of-box FSM with event trigger, support custom state.
helper
Database helper.
helper.db.mongodbMongoDB helperhelper.db.mysqlMySQL helper
network
network.httpRESTFul API server based on FastAPI.
scheduler
A Workflow-based job scheduler.
loader
Module loader.
:computer: Development Environment
- python
3.10,3.11,3.12,3.13 - conda >=
22.9.0
:wrench: Quick Guide
-
Build code
Install all dependencies and compile code.
make build -
Test with coverage
make test
-
Build docker image
make docker -
Clean
make clean
:bulb: Roadmap
- Documents
- Tracing
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pypepper-0.3.7.tar.gz.
File metadata
- Download URL: pypepper-0.3.7.tar.gz
- Upload date:
- Size: 53.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99e2de9548c05dbfa6f9ac0f15d984e02fe48d9e255d1d4bd82cf992f16b3b99
|
|
| MD5 |
b56a9b94dd992f5cb7e8e892ce8f8de1
|
|
| BLAKE2b-256 |
0e3db85f698ab012d84b773869cf9ef89c075ca7de3c10e2e194996e55ad5fa6
|
File details
Details for the file pypepper-0.3.7-py3-none-any.whl.
File metadata
- Download URL: pypepper-0.3.7-py3-none-any.whl
- Upload date:
- Size: 32.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34a3065f1790818f3183081422625d2526059002efd99841d75939e2a6e55846
|
|
| MD5 |
d338bb33191152b0b67a3c6c9ad68f84
|
|
| BLAKE2b-256 |
1c06f51ececfc0e25d1813a610d52f07874daa991ced5f68f68af17681d9bd6a
|