Metadata-Version: 2.4
Name: hugpy-core
Version: 0.1.9
Summary: hugpy central, minimal: live worker registry (register/heartbeat), model->worker pick, and the OpenAI /v1 relay to workers. Lifted from legacy hugpy central without evict-to-fit, discovery, admission or DB state.
Author-email: putkoff <support@hugpy.ai>
License: Proprietary
Project-URL: UI, https://www.npmjs.com/package/@hugpy/ui
Project-URL: Homepage, https://hugpy.ai
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Flask
Classifier: Intended Audience :: Developers
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: flask>=2
Requires-Dist: abstract_flask
Requires-Dist: psycopg[binary]>=3
Requires-Dist: hugpy-storage
Provides-Extra: test
Requires-Dist: pytest; extra == "test"

# hugpy_core

hugpy central, minimal. Workers (`hugpy_worker`, one per box, over fitevict)
register and heartbeat here; the registry is live in memory. `/v1/chat/completions`
picks an online worker that has the model (resident first; `alloc.worker` pins one)
and relays to its `/infer/stream`. No evict-to-fit, discovery, admission or DB
state — each box's fitevict owns placement and the call log.

    hugpy-core --host 127.0.0.1 --port 7020
