Skip to content

Add Spartan GraphQL - #3410

Open
tibdex wants to merge 1 commit into
vinta:masterfrom
tibdex:patch-1
Open

tibdex wants to merge 1 commit into
vinta:masterfrom
tibdex:patch-1

Conversation

@tibdex

@tibdex tibdex commented Nov 18, 2026 •

Copy link
Copy Markdown

Project

Spartan GraphQL

Checklist

  • I read CONTRIBUTING.md - awesome-python is a shortlist, not a catalog
  • One project per PR
  • PR title format: Add project-name
  • Entry format: - [pypi-name](https://github.com/owner/repo) - Description ending with period.
  • Display name is the PyPI package name
  • Placed in an existing use case (new sections and subcategories are maintainer-only)
  • Meets all Quality Requirements: active, stable, documented, at least 1 month old

Which Tier

Pick one:

  • Obvious choice - a tool an experienced Python developer would name when asked "what do I use for this?"
  • Challenger - not yet the obvious choice, but a credible successor to one. Give adoption-trajectory evidence, not popularity alone.

Explain:

The library is pretty new and older alternatives exist such as ariadne-codegen or turms.
To assess credibility, you can either read the README or paste this into a search engine / LLM:

I want to generate a typed Python client from GraphQL documents. Recommend me the best designed library for this on PyPI (regardless of maturity or popularity).

Hopefully, Spartan GraphQL comes out first (tried with Opus 5.5 incognito).

Comment thread README.md
- [fastapi](https://github.com/fastapi/fastapi) - A modern, fast web framework for building APIs with standard Python type hints.
- [strawberry](https://github.com/strawberry-graphql/strawberry) - A GraphQL library that leverages Python type annotations for schema definition.
- [connexion](https://github.com/spec-first/connexion) - A spec-first framework that handles requests based on your OpenAPI specification.
- [spartan-graphql](https://github.com/tibdex/spartan-graphql) - Compile GraphQL documents into a typed Python package with no imposed transport, no runtime dependencies, and no redundant validation.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could also be placed under HTTP & Scraping > HTTP Clients but GraphQL is actually transport agnostic (it's just that HTTP is the most popular one). Tell me if you'd rather move it there or somewhere else ;)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant