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.

Security

See SECURITY.md for supported versions and how to report vulnerabilities privately.

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.1.tar.gz (239.9 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.1-py3-none-any.whl (61.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypepper-0.6.1.tar.gz
  • Upload date:
  • Size: 239.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pypepper-0.6.1.tar.gz
Algorithm Hash digest
SHA256 13105d8f8bf1ed95084aca4c3cec969cfbc7bb489dc46017bdbbc80f456f420c
MD5 c7a7817e58d43b2ea36be32fc0c61546
BLAKE2b-256 69e165bc2840308b8ed9dd073cb036af0282678a3567b02a936d380e395f5fa9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypepper-0.6.1.tar.gz:

Publisher: publish.yml on jovijovi/pypepper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: pypepper-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 61.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pypepper-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d142ff4d557c3b6204ed4bd0ed3f7329031a168e7e1be5ee6969ebb3963203e
MD5 5c49b4b6c1b307b74d9fe73ac5d062c4
BLAKE2b-256 a47b20ba34cd66e9e9ab5443fb9cd12f7c187c34bd63b0d311762966e4599668

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypepper-0.6.1-py3-none-any.whl:

Publisher: publish.yml on jovijovi/pypepper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

This release

0.6.1 This release

2 files

0.6.0

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