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

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.3
File Size Uploaded
hugpy_server-0.2.3.tar.gz 2.2 MB Details

Built distribution (wheel)

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

Total release size: 3.9 MB

Release files / hugpy_server-0.2.3.tar.gz

Download URL hugpy_server-0.2.3.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
582f55717dddca199437a96a1ff9aac0ec119ed8c471662631865fbe89d89a66
BLAKE2b-256 checksum
How to use checksums
500c955e475f60b931709545e2d3da90a6c7e5e9a481cfdcebc333327a9d3f45
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.3-py3-none-any.whl

Download URL hugpy_server-0.2.3-py3-none-any.whl
Size 1.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
014a4ecba82c9c687c574192fbadf5fde379ed715741eeed7e7d6733d7c445f4
BLAKE2b-256 checksum
How to use checksums
deeea3f3bdfd17b6bf513403cf6b6d9caa5d50fd44f0d75d424134e997e2eaab
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

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

This release

0.2.3 This release

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