Skip to main content

PyPepper is a microservice toolkit written in Python.

Project description

logo

PyPepper

In memory of my father who passed away due to COVID-19.

PyPI GitHub Actions Coverage

Features

common

Common packages.

  • common.context A powerful chained context
  • common.security.crypto.elliptic.ecdsa Sign/Verify message by ECDSA
  • common.security.crypto.digest Get hash bytes/hex
  • common.security.crypto.salt Generates a random salt of the specified size
  • common.utils.random A class for generating random values
  • common.utils.retry Retry running the function by random interval, support lambda
  • common.utils.time Get UTC/local datetime/timezone/timestamp, support sleep
  • common.utils.uuid UUID(v4) generator
  • common.cache A thread safe TTL cache-set
  • common.log A simple logger based on loguru
  • common.options An easy-to-use options
  • common.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 helper
  • helper.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
  • 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.3.tar.gz (53.3 kB view details)

Uploaded Source

Built Distribution

pypepper-0.3.3-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

Details for the file pypepper-0.3.3.tar.gz.

File metadata

  • Download URL: pypepper-0.3.3.tar.gz
  • Upload date:
  • Size: 53.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for pypepper-0.3.3.tar.gz
Algorithm Hash digest
SHA256 4de10f5f29fdac7dbb98296f8691431c08a2b3acd394546e5d493c2c24903d5a
MD5 a24e77a85cedc13192dda576c570ce45
BLAKE2b-256 7d9af4fb1076ef94c03789b2f1f1ae5ed937bccdc626256b0b4c9ddac870f369

See more details on using hashes here.

File details

Details for the file pypepper-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: pypepper-0.3.3-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.14

File hashes

Hashes for pypepper-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7637f8852d788eb7ffc8111cfc78fb958d506139d178d87d408d6573de0b9118
MD5 b15ae8b248a64fde28d735f6ead995c8
BLAKE2b-256 0bbafca3c7875eb0e48b7d8cd0135a2b2f776104b71505a874d1514b9fdc56f9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page