strawberry-graphql/strawberry

A GraphQL library for Python that leverages type annotations 🍓

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 25 minutes ago
Added to GitGenius on September 14th, 2026
Created on December 21st, 2018
Open Issues & Pull Requests: 309 (+1)
GitHub issues: Enabled
Number of forks: 660
Total Stargazers: 4,718 (+0)
Total Subscribers: 42 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 40.1 hours
Mean response time: 158.1 days
90th percentile: 664.1 days
Tracked items: 777

Most active contributors

Sign in to see contributor activity.

How this project is maintained

About 6% of issues opened in the past year have never received a reply. 60% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. Work labelled "discussion" is answered fastest, typically in about 6 hours, while "feature-request" waits about 4 days. 71% of issues opened in the past year have been closed, leaving a working backlog. Three people close 79% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 223
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 1,134 days
Stale 30+ days: 216
Stale 90+ days: 207

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 2
Events in 7 days: 5

Top labels

  • bug (325)
  • enhancement (88)
  • good first issue (49)
  • feature-request (48)
  • help wanted (21)
  • discussion (18)
  • Hacktoberfest (16)
  • area: docs (10)

Detailed Description

Strawberry is a GraphQL library for Python that leverages type annotations to define schemas and resolvers.

The library solves the problem of building GraphQL APIs in Python by using dataclasses and type annotations as the foundation for schema definition. Developers write Python types with standard annotations, and Strawberry automatically generates the corresponding GraphQL schema from those types. This approach eliminates the need to separately define schema in GraphQL syntax and keeps type information synchronized between Python and GraphQL.

Strawberry suits teams already invested in Python's type system and those seeking tight integration with existing Python web frameworks. It works with Django, FastAPI, Starlette, and other ASGI-compatible servers, making it flexible for different deployment contexts. The library includes a mypy plugin for static type-checking of GraphQL schemas, which appeals to projects prioritizing type safety. A built-in development server and CLI tool help developers get started quickly without additional setup.

The project maintains active development with regular contributions across multiple areas. The codebase uses uv for dependency management and enforces code quality through pre-commit hooks. The maintainers respond to security concerns through direct contact rather than public issue tracking, indicating a structured approach to vulnerability handling.