This repository provides a base library for building GraphQL servers across multiple Python web frameworks.
src/graphql_server/contains the library implementation.src/tests/houses the unit tests.docs/includes framework-specific documentation.pyproject.tomldefines project metadata and dependencies.noxfile.pyholds automation sessions for linting and testing.
Run the full test suite with:
uv run pytestYou can check the tests coverage by adding the --cov and --cov-report=term-missing (to report the missing lines in the command output) flags from pytest-cov when running pytest.
uv run pytest --cov --cov-report=term-missingAll files must be properly formatted before creating a PR, so we can merge it upstream.
You can run ruff for formatting automatically all the files of the project:
uv run ruff format