├── .editorconfig ├── .gitattributes ├── .github └── workflows │ ├── ci.yml │ └── doc.yml ├── .gitignore ├── LICENSE ├── README.md ├── baize ├── __init__.py ├── __version__.py ├── asgi │ ├── __init__.py │ ├── helper.py │ ├── middleware.py │ ├── requests.py │ ├── responses.py │ ├── routing.py │ ├── shortcut.py │ ├── staticfiles.py │ └── websocket.py ├── concurrency.py ├── datastructures.py ├── exceptions.py ├── multipart.py ├── multipart_helper.py ├── py.typed ├── requests.py ├── responses.py ├── routing.py ├── staticfiles.py ├── typing.py ├── utils.py └── wsgi │ ├── __init__.py │ ├── middleware.py │ ├── requests.py │ ├── responses.py │ ├── routing.py │ ├── shortcut.py │ └── staticfiles.py ├── docs ├── Makefile ├── make.bat └── source │ ├── _templates │ └── layout.html │ ├── asgi.md │ ├── conf.py │ ├── exceptions.md │ ├── index.md │ ├── multipart.md │ └── wsgi.md ├── examples ├── asynchronous.py └── synchronous.py ├── pdm.lock ├── pdm_build.py ├── pyproject.toml ├── requirements.doc.txt ├── script ├── disable_build.py └── upload.py └── tests ├── __init__.py ├── test_asgi.py ├── test_datastructures.py ├── test_exceptions.py ├── test_multipart.py ├── test_requests.py ├── test_responses.py ├── test_routing.py ├── test_utils.py ├── test_version.py └── test_wsgi.py /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/doc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/.github/workflows/doc.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/README.md -------------------------------------------------------------------------------- /baize/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /baize/__version__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/__version__.py -------------------------------------------------------------------------------- /baize/asgi/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/asgi/__init__.py -------------------------------------------------------------------------------- /baize/asgi/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/asgi/helper.py -------------------------------------------------------------------------------- /baize/asgi/middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/asgi/middleware.py -------------------------------------------------------------------------------- /baize/asgi/requests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/asgi/requests.py -------------------------------------------------------------------------------- /baize/asgi/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/asgi/responses.py -------------------------------------------------------------------------------- /baize/asgi/routing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/asgi/routing.py -------------------------------------------------------------------------------- /baize/asgi/shortcut.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/asgi/shortcut.py -------------------------------------------------------------------------------- /baize/asgi/staticfiles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/asgi/staticfiles.py -------------------------------------------------------------------------------- /baize/asgi/websocket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/asgi/websocket.py -------------------------------------------------------------------------------- /baize/concurrency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/concurrency.py -------------------------------------------------------------------------------- /baize/datastructures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/datastructures.py -------------------------------------------------------------------------------- /baize/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/exceptions.py -------------------------------------------------------------------------------- /baize/multipart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/multipart.py -------------------------------------------------------------------------------- /baize/multipart_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/multipart_helper.py -------------------------------------------------------------------------------- /baize/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /baize/requests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/requests.py -------------------------------------------------------------------------------- /baize/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/responses.py -------------------------------------------------------------------------------- /baize/routing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/routing.py -------------------------------------------------------------------------------- /baize/staticfiles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/staticfiles.py -------------------------------------------------------------------------------- /baize/typing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/typing.py -------------------------------------------------------------------------------- /baize/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/utils.py -------------------------------------------------------------------------------- /baize/wsgi/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/wsgi/__init__.py -------------------------------------------------------------------------------- /baize/wsgi/middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/wsgi/middleware.py -------------------------------------------------------------------------------- /baize/wsgi/requests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/wsgi/requests.py -------------------------------------------------------------------------------- /baize/wsgi/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/wsgi/responses.py -------------------------------------------------------------------------------- /baize/wsgi/routing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/wsgi/routing.py -------------------------------------------------------------------------------- /baize/wsgi/shortcut.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/wsgi/shortcut.py -------------------------------------------------------------------------------- /baize/wsgi/staticfiles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/baize/wsgi/staticfiles.py -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/source/_templates/layout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/docs/source/_templates/layout.html -------------------------------------------------------------------------------- /docs/source/asgi.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/docs/source/asgi.md -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/exceptions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/docs/source/exceptions.md -------------------------------------------------------------------------------- /docs/source/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/docs/source/index.md -------------------------------------------------------------------------------- /docs/source/multipart.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/docs/source/multipart.md -------------------------------------------------------------------------------- /docs/source/wsgi.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/docs/source/wsgi.md -------------------------------------------------------------------------------- /examples/asynchronous.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/examples/asynchronous.py -------------------------------------------------------------------------------- /examples/synchronous.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/examples/synchronous.py -------------------------------------------------------------------------------- /pdm.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/pdm.lock -------------------------------------------------------------------------------- /pdm_build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/pdm_build.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.doc.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/requirements.doc.txt -------------------------------------------------------------------------------- /script/disable_build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/script/disable_build.py -------------------------------------------------------------------------------- /script/upload.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/script/upload.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/tests/test_asgi.py -------------------------------------------------------------------------------- /tests/test_datastructures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/tests/test_datastructures.py -------------------------------------------------------------------------------- /tests/test_exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/tests/test_exceptions.py -------------------------------------------------------------------------------- /tests/test_multipart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/tests/test_multipart.py -------------------------------------------------------------------------------- /tests/test_requests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/tests/test_requests.py -------------------------------------------------------------------------------- /tests/test_responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/tests/test_responses.py -------------------------------------------------------------------------------- /tests/test_routing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/tests/test_routing.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/tests/test_utils.py -------------------------------------------------------------------------------- /tests/test_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/tests/test_version.py -------------------------------------------------------------------------------- /tests/test_wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/baize/HEAD/tests/test_wsgi.py --------------------------------------------------------------------------------