Skip to main content

Python SDK for HLA-Compass bioinformatics platform - Build powerful modules for immuno-peptidomics analysis

Project description

HLA-Compass Python SDK

PyPI version Python Versions

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/test flow that matches production.

📖 Advanced Documentation


🤝 Support & Issues

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

hla_compass-2.0.9.tar.gz (101.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hla_compass-2.0.9-py3-none-any.whl (116.9 kB view details)

Uploaded Python 3

File details

Details for the file hla_compass-2.0.9.tar.gz.

File metadata

  • Download URL: hla_compass-2.0.9.tar.gz
  • Upload date:
  • Size: 101.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for hla_compass-2.0.9.tar.gz
Algorithm Hash digest
SHA256 e223e89d07d6d56af32c8fbcab89ece1b98138fbe88019aebb493523b698bd0c
MD5 b535536851e3f31a4f33250791f5f049
BLAKE2b-256 896ddcc6b2e6c7bf92be9f3c40fd4dd61f0c4684adf4d5148902fa10f57aad71

See more details on using hashes here.

File details

Details for the file hla_compass-2.0.9-py3-none-any.whl.

File metadata

  • Download URL: hla_compass-2.0.9-py3-none-any.whl
  • Upload date:
  • Size: 116.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for hla_compass-2.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 1c5bef1245298f943f6eae0efabd80bfd5718711d039444ce0e99479b907935e
MD5 b2f712d83f95e9a2c76cc666b7ceb312
BLAKE2b-256 921b9c7ba8840488ee0f42ef7a56302590de74ea0feea73c8bbb6c8fb2bbe365

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page