Skip to main content
PyPepper

PyPepper

Composable building blocks for Python microservices.
Build faster. Live more.

PyPI Docs CI Coverage Python License

In memory of my father, who passed away in 2023 from COVID-19.


PyPepper packages the pieces you wire into services: HTTP / SSE, FSM, a workflow scheduler, signed events, thin DB helpers, and optional OpenTelemetry tracing — for Python 3.103.14.

Documentation

Getting Started · Architecture · Guides · API Reference

Source under docs/. Local preview: make docs-serve.

Domains

Package Role
Common pypepper.common Config, logging, context, cache, crypto, utilities
Event pypepper.event Signed domain events with JSON marshal
FSM pypepper.fsm Event-triggered state machine with rollback
Scheduler pypepper.scheduler Job → Channel → Worker → Workflow
Network pypepper.network FastAPI HTTP server and SSE subsystem
Helper pypepper.helper MySQL / PostgreSQL / MongoDB connectors

Highlights

Network FastAPI HTTP + SSE with API-key auth and rate limits → guide
FSM & events Rollback on handler failure; signed payloads → guide
Scheduler Workflow job pipeline with retries → guide
Tracing Opt-in OpenTelemetry (console / local Jaeger) → guide
Quality PEP 561 py.typed · ruff + mypy CI · coverage ≥ 90%
Data Thin DB helpers → guide

Quick start

Requires Python 3.103.14 and uv ≥ 0.10.7 (recommended).

make build-prepare
export PYPEPPER_SSE_API_KEY=your-local-key
python example/sse/app.py

HTTP example:

python example/server/app.py --config ./conf/app.config.yaml

Full walkthrough: Getting Started.

Developer commands
make lint     # ruff + mypy
make test     # check + pytest (coverage ≥ 90%)
make docs     # mkdocs build --strict
make docker   # local image
make clean

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.6.0.tar.gz (221.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypepper-0.6.0-py3-none-any.whl (50.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypepper-0.6.0.tar.gz
  • Upload date:
  • Size: 221.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for pypepper-0.6.0.tar.gz
Algorithm Hash digest
SHA256 a7056d59d650b62b14f21a123f1a31434f21edd03cce31a031e4f4ea3be884ad
MD5 556c7799625182a274fe9da7b7b46d67
BLAKE2b-256 9f83b4585be08f5b3caea87174310c16e5843511d7f6cddee0436f3f9f49937b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypepper-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 50.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for pypepper-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39b4842cb58daa25aa4f3fa271485582805b7ba686c71a85c77ba48d440c1985
MD5 e99d8fd8bbb684c1000ddd7960f848a4
BLAKE2b-256 8b8321e178b8f66e342864e8a6c4b52f64cf286c9e6128278b0369a943317581

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.5

2 files

0.6.4

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

This release

0.6.0 This release

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.1

2 files

0.4.0

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page