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.
Features
common
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
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.mongodb
MongoDB helperhelper.db.mysql
MySQL helper
network
network.http
RESTFul API server based on FastAPI.
scheduler
A Workflow-based job scheduler.
loader
Module loader.
Development Environment
- python
3.10
,3.11
,3.12
- conda >=
22.9.0
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
Roadmap
- Documents
- Tracing
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
pypepper-0.3.5.tar.gz
(53.4 kB
view details)
Built Distribution
pypepper-0.3.5-py3-none-any.whl
(32.1 kB
view details)
File details
Details for the file pypepper-0.3.5.tar.gz
.
File metadata
- Download URL: pypepper-0.3.5.tar.gz
- Upload date:
- Size: 53.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e51fd6e5d586c22b5b09f508cb49c01ded67d93b52b80ab1c24772793b557aad |
|
MD5 | c00e0891fbc78acc701d43c12c31ba50 |
|
BLAKE2b-256 | 60dbeaa8ddbde2dc5eede49400bddfb8f911987aaac8ffd0cc2b50d28c11443a |
File details
Details for the file pypepper-0.3.5-py3-none-any.whl
.
File metadata
- Download URL: pypepper-0.3.5-py3-none-any.whl
- Upload date:
- Size: 32.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ece46fd0c6b5887fa3c7a9f8f90f6ed5ff9fe32568e6a34c612e925e7397352 |
|
MD5 | 92cf6e5e033fb64821ad7142b9bdd08f |
|
BLAKE2b-256 | c1d63b8bee37bf0ddb593825e9b2e28f0cf02c095e3dbabb136db208628c9acc |