0.26.1

Strawberry is a new GraphQL library for Python 3, inspired by dataclasses.

import strawberry
@strawberry.type
class User:
name: str
age: int
@strawberry.type
class Query:
@strawberry.field
def user(self) -> User:
return User(name="Patrick", age=100)
schema = strawberry.Schema(query=Query)

Learn how to create GraphQL API using Strawberry

View documentation
AsyncBuilt-in serverTypingsPythonic API

Create GraphQL APIs in no time

Strawberry's friendly API allows to create GraphQL API rather quickly, the debug server makes it easy to quickly test and debug.
Django and ASGI support allow to have your API deployed in production in matter of minutes

Newsletter 💌

Do you want to receive the latest updates on Strawberry? Subscribe to our newsletter!