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

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.5
File Size Uploaded
hugpy_server-0.2.5.tar.gz 2.5 MB Details

Built distribution (wheel)

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

Total release size: 4.4 MB

Release files / hugpy_server-0.2.5.tar.gz

Download URL hugpy_server-0.2.5.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
80f06c29eeea542c965b2665d54237e112611648c5bf296b219d0f395038cc82
BLAKE2b-256 checksum
How to use checksums
665d0075955102abd760aab2455bd3da60e946f0b38dbdf26d7e59beee48b9e3
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.5-py3-none-any.whl

Download URL hugpy_server-0.2.5-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
33aa36ff500e58a85a1588a9c779af272b19a141fda9e298931c0730dfc352f2
BLAKE2b-256 checksum
How to use checksums
3f8310b254b8796689f334397a62107511a8675dd0d4792b9b196d9cb35f041b
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

This release

0.2.5 This release

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