asgi/wsgi mounting implemented

This commit is contained in:
Илья Глазунов
2025-12-03 12:10:28 +03:00
parent 831eee5d01
commit 0d0d1aec80
13 changed files with 2528 additions and 7 deletions
+23 -2
View File
@@ -2,10 +2,31 @@
PyServe - HTTP web server written on Python
"""
__version__ = "0.7.0"
__version__ = "0.8.0"
__author__ = "Ilya Glazunov"
from .server import PyServeServer
from .config import Config
from .asgi_mount import (
ASGIAppLoader,
ASGIMountManager,
MountedApp,
create_fastapi_app,
create_flask_app,
create_django_app,
create_starlette_app,
)
__all__ = ["PyServeServer", "Config", "__version__"]
__all__ = [
"PyServeServer",
"Config",
"__version__",
# ASGI mounting
"ASGIAppLoader",
"ASGIMountManager",
"MountedApp",
"create_fastapi_app",
"create_flask_app",
"create_django_app",
"create_starlette_app",
]