
hpc-as-api is a domain-agnostic Python library that exposes any Globus Compute function as a standard HTTP API endpoint. It handles Globus authentication, dual-mode bearer token auth (Globus identity or API key), rate limiting, input validation, and real-time output streaming via the streamrelay WebSocket relay pattern. While the built-in preset implements an OpenAI-compatible LLM inference endpoint backed by vLLM, the core HPCApp class accepts any user-defined remote function, making it applicable to any HPC workload: simulations, data analysis pipelines, or scientific workflows. PyPI: https://pypi.org/project/hpc-as-api/ Source: https://github.com/uicacer/hpc-as-api
