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.11.tar.gz (101.9 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.11-py3-none-any.whl (117.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hla_compass-2.0.11.tar.gz
  • Upload date:
  • Size: 101.9 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.11.tar.gz
Algorithm Hash digest
SHA256 4180a56e92ac0d1fd7f789eef7015a9f7cba954206cbc83f1736f857696d129b
MD5 48680ac2d01cf345a961f7eb6d97bc77
BLAKE2b-256 9e700d304acba2e2c18accddb2b0893e3995718f798725ad050807d5e3544af8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hla_compass-2.0.11-py3-none-any.whl
  • Upload date:
  • Size: 117.6 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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b399e180ab173ef2ae7fa9fb2bd4bf57466bc2b9cdbb1cc5f2bbfb9a90b2630d
MD5 0abd91b79587440420b7256a51a95843
BLAKE2b-256 6c359f9a390a8656f4d97bfeebbc9e63a419436ecb7f8b64e0a36538ea4f05c2

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