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

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.6
File Size Uploaded
hugpy_server-0.2.6.tar.gz 2.6 MB Details

Built distribution (wheel)

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

Total release size: 4.6 MB

Release files / hugpy_server-0.2.6.tar.gz

Download URL hugpy_server-0.2.6.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
8967a9d82f0b00ec0f83dbe28d068b603656a429c397da2c6739e6d54d458563
BLAKE2b-256 checksum
How to use checksums
d9cfcf09cfa3e4cca21cce9fb0f83b847f0199fcf297dfb08d3bd267392796cf
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.6-py3-none-any.whl

Download URL hugpy_server-0.2.6-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
57285b9b69524462755c00c3081ace0b8eb2459af94507938b86b7a132f01fde
BLAKE2b-256 checksum
How to use checksums
fe428eef0cd54463d51943be69f1d1e758c49637805122f89abbd947c9302aae
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.6 This release

2 release files

0.2.5

2 release files

0.2.4

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