Python SDK for HLA-Compass bioinformatics platform - Build powerful modules for immuno-peptidomics analysis
Project description
HLA-Compass Python SDK
The official Python SDK for developing modules on the HLA-Compass platform.
🚀 Quick Start
# 1. Install
pip install hla-compass
# 2. Setup
hla-compass auth login --env dev
# 3. Create
hla-compass init my-module --template no-ui
cd my-module
# 4. Test
hla-compass test
# 5. Ship
hla-compass build && hla-compass publish --env dev --generate-keys
📚 New to HLA-Compass? Try the Ten-Minute Tutorial.
🛠️ CLI Entry Points
| Command | Description |
|---|---|
init |
Scaffold a new module from templates |
validate |
Validate module structure and manifest |
test |
Run module execution (local or remote context) |
build |
Build Docker image |
publish |
Sign and register module with the platform |
auth |
Manage platform login and keys |
🔧 Local SDK Development
When iterating on the SDK itself, build images against your local checkout:
hla-compass build --sdk-path ../sdk/python
# or set HLA_COMPASS_SDK_PATH=../sdk/python for dev/test/serve/build
To target a specific architecture:
hla-compass build --platform linux/amd64
Multi-arch builds require --platform linux/amd64,linux/arm64 --push.
💎 Key Features
- Module-first CLI: Scaffold, build, test, and publish with a single toolchain.
- Signed publishing: Keys + manifest signing baked into
publish. - Data helpers: Storage + data access helpers for module runtimes.
- Local dev loop: Containerized
dev/serve/testflow that matches production.
📖 Advanced Documentation
- Installation Guide – Detailed setup for various roles.
- Module Developer Handbook – Best practices and deep dives.
- API Reference – Full Pydoc catalog of classes and methods.
🤝 Support & Issues
- Bugs: GitHub Issues
- Discussion: #hla-compass-dev Slack channel
Project details
Release history Release notifications | RSS feed
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 hla_compass-2.0.7.tar.gz.
File metadata
- Download URL: hla_compass-2.0.7.tar.gz
- Upload date:
- Size: 101.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9be3e4569d498277415de66d4198b32ed9ba4bd97d306230fe13d3ff3db8520c
|
|
| MD5 |
1e260adaa38454b8f29617a8fcc43ec8
|
|
| BLAKE2b-256 |
de335859fc136b700d76ab415854fef2f40d3778b93e61261b89d27d5ac8f500
|
File details
Details for the file hla_compass-2.0.7-py3-none-any.whl.
File metadata
- Download URL: hla_compass-2.0.7-py3-none-any.whl
- Upload date:
- Size: 117.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df6e859b84f8056a68b327128f8df0cb2b732e07e83447031952ce6cc1898646
|
|
| MD5 |
b6911d2829a7c05d36223c3f6ea2a9fc
|
|
| BLAKE2b-256 |
2c9815d028c9e92eb7b4943456f8c03b256a617dceb5294bfe06eb4057bc3492
|