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).

Metadata

Release files for hugpy-server 0.2.4

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.4
File Size Uploaded
hugpy_server-0.2.4.tar.gz 2.4 MB Details

Built distribution (wheel)

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

Total release size: 4.4 MB

Release files / hugpy_server-0.2.4.tar.gz

Download URL hugpy_server-0.2.4.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
d2c09502571f4b5823221a37fdd75bc5656ea97842493be56fecb8fd83b1f104
BLAKE2b-256 checksum
How to use checksums
415587895f26bb537a952804fb62dd1058b91805242df681490c6121ecddbecd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

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

Download URL hugpy_server-0.2.4-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
314097f20cee5cec9569d8cb25dad259b9cd68fe827c1ee5c1d277314895dab6
BLAKE2b-256 checksum
How to use checksums
0851b92214ab72d722ee6a61cd4ef4eac27af54ba0d997c82359a01435f594e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

0.2.6

2 release files

0.2.5

2 release files

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

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