Skip to main content

hugpy-server

hugpy_server — the Flask composition root of the Hugpy ecosystem, extracted from abstract_hugpy_dev. Ownership and allowed dependencies are declared in py/partition.toml; see PARTITION.md at the workspace root.

  • hugpy_server.wsgi_app.create_app() / get_hugpy_flask() build the app: every route blueprint, the /api dual mounts, the operator/member/video gates and the packaged React console (console_dist/, see BUILD_CONSOLE.md).
  • hugpy_server.wiring.install_all() installs every cross-package seam listed in py/WIRING.md (fleet placement into the engine, oracle providers, task plugins, catalog bridge, oracle video hooks, curation providers, storage footprint selector, HF-token listener, control bus, eviction sink). The report lands at app.extensions["hugpy_wiring"].
  • hugpy-serve (hugpy_server.wsgi_app:main) serves with gunicorn on POSIX, waitress on Windows, and the Flask dev server as the last resort.
  • Server-owned state (API keys, video share keys, Discord bindings, install links) lives under hugpy_server.state.server_state_dir() (HUGPY_SERVER_STATE_DIR, else the platform's PROJECTS_HOME).

Allowed Python dependencies inside the ecosystem: hugpy_platform, hugpy_control, hugpy_storage, hugpy_engine, hugpy_media, hugpy_video, hugpy_oracle, hugpy_fleet, hugpy_curation (optional, lazy: hugpy_discord, hugpy_ops).

Tests: cd py/services/hugpy_server && ../../.venv/bin/python -m pytest -q --timeout=120 (tests/integration/ holds the multi-package tests moved from the monolith).

Release files for hugpy-server 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hugpy-server 0.2.2
File Size Uploaded
hugpy_server-0.2.2.tar.gz 2.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for hugpy-server 0.2.2
File Interpreter ABI Platform
hugpy_server-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 3.9 MB

Release files / hugpy_server-0.2.2.tar.gz

Download URL hugpy_server-0.2.2.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
9848aa739430a804937b31f8a032eed3daf1bdeaec801acdf5cf701196ecb965
BLAKE2b-256 checksum
How to use checksums
77fb7c96e9b42ef0660c399d1eb085492e76becaa17e1d507c071e428d20b363
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / hugpy_server-0.2.2-py3-none-any.whl

Download URL hugpy_server-0.2.2-py3-none-any.whl
Size 1.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
adfc4c463392c6d024da7967a905006add454b274ddd945912a4f25fa104e51a
BLAKE2b-256 checksum
How to use checksums
fd2a900e68b471d3864c3e27e67f654fa2e59be5afa36dadfe50bfe32a6bd1c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page