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.10–3.14.
Documentation
Getting Started · Tutorial · Architecture · Guides · API Reference
Source under docs/. Local preview: make docs-serve.
Contributing
See CONTRIBUTING.md for setup, Conventional Commits, and PR expectations.
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.10–3.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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pypepper-0.6.2.tar.gz.
File metadata
- Download URL: pypepper-0.6.2.tar.gz
- Upload date:
- Size: 258.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bc45315dd0a0cbcb34ca12a0a1f2fa94b8048bd753f86f00b7158b0811f4bc1
|
|
| MD5 |
370a5cb3952cf0653c725414e8efd0b0
|
|
| BLAKE2b-256 |
c3353dafb9c3344d865338760a3e54732b045048712b499d4c1f1f2094701cdc
|
Provenance
The following attestation bundles were made for pypepper-0.6.2.tar.gz:
Publisher:
publish.yml on jovijovi/pypepper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypepper-0.6.2.tar.gz -
Subject digest:
7bc45315dd0a0cbcb34ca12a0a1f2fa94b8048bd753f86f00b7158b0811f4bc1 - Sigstore transparency entry: 2205385661
- Sigstore integration time:
-
Permalink:
jovijovi/pypepper@aed1b670726b886ac2118a1b6564ecea3336bf64 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/jovijovi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@aed1b670726b886ac2118a1b6564ecea3336bf64 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pypepper-0.6.2-py3-none-any.whl.
File metadata
- Download URL: pypepper-0.6.2-py3-none-any.whl
- Upload date:
- Size: 62.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4eb34642c9e4ff9fb0f601fa320aec65e91e9b1c24384871d829d0ee6603bf67
|
|
| MD5 |
2a9b14474d3f71b1c4f30e14a987ff7b
|
|
| BLAKE2b-256 |
e94b15e1dd97fbc0e050d8ee5ad8d25b5795c9991e2e9fcfa51f2941a54b0bc9
|
Provenance
The following attestation bundles were made for pypepper-0.6.2-py3-none-any.whl:
Publisher:
publish.yml on jovijovi/pypepper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypepper-0.6.2-py3-none-any.whl -
Subject digest:
4eb34642c9e4ff9fb0f601fa320aec65e91e9b1c24384871d829d0ee6603bf67 - Sigstore transparency entry: 2205385676
- Sigstore integration time:
-
Permalink:
jovijovi/pypepper@aed1b670726b886ac2118a1b6564ecea3336bf64 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/jovijovi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@aed1b670726b886ac2118a1b6564ecea3336bf64 -
Trigger Event:
push
-
Statement type: