PyPepper¶
PyPepper is a microservice toolkit for Python (>=3.10, <=3.14).
It provides reusable building blocks rather than a full application framework.
Published docs: https://jovijovi.github.io/pypepper/
Domains¶
| Domain | 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 finite state machine with rollback |
| Scheduler | pypepper.scheduler |
Job → Channel → Worker → Workflow pipeline |
| Network | pypepper.network |
FastAPI HTTP server and SSE subsystem |
| Helper | pypepper.helper |
Thin MySQL / PostgreSQL / MongoDB connectors |
Where to start¶
- Getting Started — install, test, run examples
- Tutorial: First service — one path to COMPLETE (and optional SSE)
- Architecture — layering, extension points, singletons
- Domain guides under Guides for copy-paste snippets
- API Reference — generated signatures and docstrings
Examples¶
example/server/app.py— minimal HTTP handlersexample/scheduler/app.py— Job → Worker through COMPLETEexample/sse/app.py— SSE with API key auth and rate limiting