Installation¶
Requirements¶
- Python 3.13 or higher
Install from PyPI¶
# Using pip
pip install processpype
# Using uv
uv add processpype
# Using poetry
poetry add processpype
Core Dependencies¶
| Package | Version | Purpose |
|---|---|---|
| pydantic | >= 2.10.4 | Configuration and data validation |
| fastapi | >= 0.115.6 | REST API framework |
| uvicorn | >= 0.34.0 | ASGI server |
| pyyaml | >= 6.0.2 | YAML configuration files |
| httpx | >= 0.28.1 | Async HTTP client |
Optional Dependencies¶
ProcessPype provides optional extras for additional functionality:
| Extra | Packages | Purpose |
|---|---|---|
events |
eventspype >= 1.1.0, < 2 | Event publication framework |
tracing |
opentelemetry-api >= 1.20, opentelemetry-sdk >= 1.20 | OpenTelemetry tracing |
logfire |
logfire >= 4.16 + tracing deps | Pydantic Logfire observability |
otlp |
opentelemetry-exporter-otlp >= 1.20 + tracing deps | OTLP exporter for tracing |
telegram |
telethon >= 1.34 + events deps | Telegram communicator backend |
email |
aiosmtplib >= 3.0 | Email communicator backend |
aws |
boto3 >= 1.28 | AWS Secrets Manager backend |
full |
events + logfire + telegram + email + aws | All optional dependencies |
Install extras with:
# Using pip
pip install processpype[tracing]
pip install processpype[logfire]
pip install processpype[telegram]
pip install processpype[email]
pip install processpype[full]
# Using uv
uv add processpype --extra tracing
uv add processpype --extra logfire
uv add processpype --extra telegram
uv add processpype --extra email
uv add processpype --extra full
# Using poetry
poetry add processpype[tracing]
poetry add processpype[telegram]
Verify Installation¶
from processpype import Application, ServiceState
print("processpype installed successfully")
print(f"ServiceState values: {list(ServiceState)}")