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 Flask.
scheduler
A Workflow-based job scheduler.
loader
Module loader.
Development Environment
- python
3.10
,3.11
- 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.2.1.tar.gz
(52.9 kB
view details)
Built Distribution
pypepper-0.2.1-py3-none-any.whl
(31.8 kB
view details)
File details
Details for the file pypepper-0.2.1.tar.gz
.
File metadata
- Download URL: pypepper-0.2.1.tar.gz
- Upload date:
- Size: 52.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbbc3124486433676546384013baa02d5db25a66efa80ba87762bcdaa004292b |
|
MD5 | f255eca34d938af3382b0230f5cbb5f6 |
|
BLAKE2b-256 | 059b6355ea735164b67cd677c8f45c1a20e8367fa4dbcc6ff66cdb1628d5f3d5 |
File details
Details for the file pypepper-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: pypepper-0.2.1-py3-none-any.whl
- Upload date:
- Size: 31.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e61f387631e72e993e746137d3e8081a8daee459469ae966d4aff004413f9573 |
|
MD5 | c8ee5d692338bb5cd19dd08f1c3197b6 |
|
BLAKE2b-256 | 36a05396242ce57c293a5863104e3429e3e93788b966466418a548a2fb931503 |