├── .github ├── FUNDING.yml └── workflows │ └── ci.yml ├── .gitignore ├── LICENCE ├── README.md ├── benchmark.md ├── example.py ├── pdm.lock ├── pyproject.toml ├── src └── zibai │ ├── __init__.py │ ├── __main__.py │ ├── cli.py │ ├── const.py │ ├── core.py │ ├── h11.py │ ├── logger.py │ ├── middlewares │ ├── __init__.py │ └── limit_request_count.py │ ├── multiprocess.py │ ├── reloader.py │ ├── utils.py │ └── wsgi_typing.py └── tests ├── __init__.py ├── conftest.py ├── test___main__.py ├── test_core.py ├── test_multiprocess.py └── utils.py /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/LICENCE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/README.md -------------------------------------------------------------------------------- /benchmark.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/benchmark.md -------------------------------------------------------------------------------- /example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/example.py -------------------------------------------------------------------------------- /pdm.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/pdm.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/zibai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/src/zibai/__init__.py -------------------------------------------------------------------------------- /src/zibai/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/src/zibai/__main__.py -------------------------------------------------------------------------------- /src/zibai/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/src/zibai/cli.py -------------------------------------------------------------------------------- /src/zibai/const.py: -------------------------------------------------------------------------------- 1 | SERVER_NAME = "Zî Bái".encode("latin1") 2 | -------------------------------------------------------------------------------- /src/zibai/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/src/zibai/core.py -------------------------------------------------------------------------------- /src/zibai/h11.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/src/zibai/h11.py -------------------------------------------------------------------------------- /src/zibai/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/src/zibai/logger.py -------------------------------------------------------------------------------- /src/zibai/middlewares/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/zibai/middlewares/limit_request_count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/src/zibai/middlewares/limit_request_count.py -------------------------------------------------------------------------------- /src/zibai/multiprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/src/zibai/multiprocess.py -------------------------------------------------------------------------------- /src/zibai/reloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/src/zibai/reloader.py -------------------------------------------------------------------------------- /src/zibai/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/src/zibai/utils.py -------------------------------------------------------------------------------- /src/zibai/wsgi_typing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/src/zibai/wsgi_typing.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test___main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/tests/test___main__.py -------------------------------------------------------------------------------- /tests/test_core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/tests/test_core.py -------------------------------------------------------------------------------- /tests/test_multiprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/tests/test_multiprocess.py -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abersheeran/zibai/HEAD/tests/utils.py --------------------------------------------------------------------------------