-
PyServeX v0.9.10
StableSome checks failedRun Tests / test (3.12) (push) Successful in 2m39sRun Tests / test (3.13) (push) Successful in 2m31sCI/CD Pipeline / lint (push) Successful in 0sBuild and Release / build (push) Successful in 36sCI/CD Pipeline / test (push) Has been skippedCI/CD Pipeline / build-and-release (push) Has been skippedBuild and Release / release (push) Successful in 6sCI/CD Pipeline / notify (push) Successful in 1sLint Code / lint (push) Failing after 40sreleased this
2025-12-03 22:39:19 +00:00 | 6 commits to main since this releaseRelease v0.9.10
What's new in this version
New Features
- Process Orchestration — run ASGI/WSGI apps in isolated subprocesses with health monitoring and auto-restart
- Dynamic Port Allocation — automatic port assignment from configurable range (9000-9999)
- Multi-worker Support — configure number of workers per application
- Health Checks — automatic health monitoring with configurable interval, timeout, and retries
- Auto-restart with Backoff — failed processes restart automatically with exponential backoff
- WSGI Support — Flask/Django apps wrapped via a2wsgi for uvicorn compatibility
- Request ID Tracing —
X-Request-IDheader propagated through all proxied requests - Configurable Logging — control httpx verbosity, proxy logs, and health check logs
Bug Fixes
- Fixed extension ordering for proper request routing
- Fixed mypy type errors in WSGI wrapper module
Technical Changes
- New
process_manager.pymodule for subprocess lifecycle management - New
process_extension.pywith httpx-based reverse proxy - New
_wsgi_wrapper.pyfor WSGI-to-ASGI conversion - Async extension loading via lifespan context manager
- Structured logging with latency measurement for proxied requests
- 34 new tests for process orchestration
Dependencies
- Added
a2wsgias optional dependency for WSGI support
Full Changelog: https://git.pyserve.org/Shifty/pyserveX/compare/v0.5.0...v0.9.10
Installation
pip install pyserve==0.9.10Usage
pyserve --helpDownloads