A GraphQL server implementation for Python 3.7+ built with asyncio and SDL.
Tartiflette is a GraphQL server implementation built with Python 3.7+ and asyncio. It allows developers to define GraphQL schemas using SDL (Schema Definition Language) and execute queries asynchronously, providing a modern and performant alternative to existing Python GraphQL solutions. The project focuses on improving developer experience while maintaining high performance.
Python developers building GraphQL APIs who want an SDL-first, asyncio-based solution with a focus on performance and simplicity. It's particularly suited for those who found limitations in other Python GraphQL libraries like Graphene.
Developers choose Tartiflette for its Pythonic design, SDL schema definition, and full asyncio support, which together offer a better developer experience and performance compared to alternatives. It's 100% open source and built with simplicity and performance as core principles.
GraphQL Engine built with Python 3.6+ / asyncio
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses GraphQL Schema Definition Language for clear, standardized schema design, making it intuitive for developers familiar with GraphQL specs, as highlighted in the motivation.
Built entirely on Python's asyncio, enabling efficient asynchronous query execution and better performance for I/O-bound operations, core to its design philosophy.
Prioritizes performance from the ground up, with a focus on optimization and simplicity, as stated in the DNA section of the README.
Decoupled from HTTP transport, allowing flexibility with separate integrations for aiohttp and ASGI servers, facilitating use in various deployment scenarios.
Provides pre-built wheels since version 1.4.0, eliminating system dependencies for most platforms and simplifying setup, as noted in the installation guide.
Still on the road to milestone 2, indicating ongoing development with potential breaking changes and missing advanced GraphQL features compared to more established libraries.
Has a smaller community and fewer third-party tools or integrations than alternatives like Graphene or Strawberry, which can hinder support and extensibility.
Requires cmake to build libgraphqlparser from source on platforms without pre-built wheels, adding installation overhead and potential compatibility issues.
Forces full adoption of asynchronous programming, which can be a barrier for synchronous codebases or teams unfamiliar with asyncio patterns.
tartiflette is an open-source alternative to the following products: