Installation¶
Requirements¶
- Python 3.11+
- A running Hippo instance (v0.3.1+)
- (Optional) A running Canon instance (v0.1+) for artifact resolution
Install¶
For SQL adapter support (PostgreSQL, MySQL, SQLite):
For development and testing:
Verify Installation¶
Configure¶
Create a cappella.yaml configuration file. At minimum you need a Hippo connection:
See the Quick Start for a minimal working example, or the User Guide for the full configuration reference.
Run as a Service¶
The REST API will be available at http://localhost:8000 by default.
Run as a CLI Tool¶
All Cappella operations are also available as CLI commands without starting a server:
cappella ingest <adapter_name> --config cappella.yaml
cappella resolve --entity-type GeneCounts --criteria "donor.diagnosis=CTE" --config cappella.yaml
cappella status --config cappella.yaml
cappella --help
Verify Connection¶
Expected output: