Files
soleprint/artery/__init__.py
2025-12-31 08:34:18 -03:00

37 lines
1.3 KiB
Python

"""
Artery - Todo lo vital
Connectors to external services.
Hierarchy (simple → complex):
Vein ──────► Pulse ──────► Plexus
│ │ │
│ │ └── Full app: backend + frontend + DB
│ │ (e.g., WhatsApp with chat UI)
│ │
│ └── Composed: Vein + Room + Depot
│ (e.g., Jira vein configured for specific project)
└── Stateless API connector
(e.g., Jira client, Slack client)
Components:
- veins/ Stateless connectors (core/ + api/)
- pulses/ Composed: Vein + Room + Depot
- plexuses/ Full applications with frontend
- rooms/ Environment configs
- depots/ Data storage
Differences:
| Aspect | Vein | Pulse | Plexus |
|------------|-------------------|-------------------|---------------------------|
| State | None (or OAuth) | Vein + config | Full application state |
| Frontend | Optional test UI | None (uses vein) | Required full frontend |
| Webhooks | No | No | Yes |
| Deploy | With soleprint | With soleprint | Self-contained (docker) |
"""
from . import veins