$npx skillfedfor your agent

strawberry-graphql-django

Strawberry GraphQL Django extension

Worth itPyPI Dynamic ContentReleased Aug 20261.4M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — strawberry_graphql_django-0.87.0-py3-none-any.whl
v0.87.0 · released 2026-08-06 · Python <4.0,>=3.10 · 3 runtime deps: asgiref, django, strawberry-graphql

Yes. The package is actively maintained, has low install friction, carries a permissive license, and solves a real problem—bridging Django models to GraphQL without manual type duplication. It supports current Python versions and includes practical features (query optimization, pagination, permissions) that would otherwise require custom code. No known vulnerabilities. Suitable for both new GraphQL projects and retrofitting GraphQL onto existing Django applications.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Django 5.2 or 6.0 and Python 3.10 or later; asgiref and strawberry-graphql are runtime dependencies.
  • Low friction install with a pure-Python wheel.
  • Actively maintained with a release 8 days old and recent commits; the project has 501 GitHub stars and supports current Python versions.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-08-06 (8 days) · last repo commit 2026-08-11 · 501 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,365,443 downloads/mo, #3,999 on PyPI

Verify before relying

pip install strawberry-graphql-django

from django.db import models

class Fruit(models.Model):
    name = models.CharField(max_length=20)

# In types.py, decorate your model with the integration
# Then import and use in your schema with strawberry-graphql
  • Whether the automatic query optimizer works for all relationship types without manual tuning.
  • Performance characteristics when handling large datasets or deeply nested queries.
  • Compatibility with custom Django model managers or non-standard ORM patterns.
  • Exact syntax and import patterns for the decorator-based type generation workflow.
Same gist for agents: .md · .json

What it is and what it does

Strawberry GraphQL Django bridges Django models and GraphQL APIs by automatically generating GraphQL types, fields, and resolvers from your model definitions, eliminating boilerplate type definitions. The package includes built-in support for filtering, pagination (both offset and cursor-based), ordering, and Django's authentication and permission system. It also includes a query optimizer that automatically applies select_related and prefetch_related to prevent N+1 database queries.

You define your Django models normally, apply decorators, and the package generates a working GraphQL schema. It integrates with Django views (both sync and async), forms, and validation. The result is a GraphiQL interface at a URL you specify, ready to query your data with full type safety and optimized database access.

Use it for

  • Build a GraphQL API from an existing Django application without rewriting model definitions.
  • Generate CRUD mutations automatically for Django models with built-in validation.
  • Implement filtering and pagination on GraphQL queries backed by Django ORM queries.
  • Prevent N+1 database queries in GraphQL resolvers using automatic query optimization.
  • Expose Django authentication and permission checks in a GraphQL schema.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has low install friction, carries a permissive license, and solves a real problem—bridging Django models to GraphQL without manual type duplication. It supports current Python versions and includes practical features (query optimization, pagination, permissions) that would otherwise require custom code. No known vulnerabilities. Suitable for both new GraphQL projects and retrofitting GraphQL onto existing Django applications.

Install

strawberry-graphql-django on PyPI

Before you install

Low friction install with a pure-Python wheel. Actively maintained with a release 8 days old and recent commits; the project has 501 GitHub stars and supports current Python versions.

Requires Django 5.2 or 6.0 and Python 3.10 or later; asgiref and strawberry-graphql are runtime dependencies.

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install strawberry-graphql-django

from django.db import models

class Fruit(models.Model):
    name = models.CharField(max_length=20)

# In types.py, decorate your model with the integration
# Then import and use in your schema with strawberry-graphql

Verify before relying

  • Whether the automatic query optimizer works for all relationship types without manual tuning.
  • Performance characteristics when handling large datasets or deeply nested queries.
  • Compatibility with custom Django model managers or non-standard ORM patterns.
  • Exact syntax and import patterns for the decorator-based type generation workflow.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
asgirefdjangostrawberry-graphql
MaintenanceActively maintained 8 days since the last release
Last repo commit
First released
Downloads1,365,443 / month, #3,999 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: strawberry_graphql_django-0.87.0-py3-none-any.whl

Tags

Capabilities
django graphql integrationautomatic graphql types from modelsdjango orm to graphqlgraphql api builder djangographql mutations django modelsdjango query optimization graphqlgraphql schema from django models
Topics
graphql-apidjango-integrationorm-bridge
PyPI keywords
apidjangographqlstrawberry-graphql

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “automatic graphql types from models”

Give your agent the search over MCP, or paste the wish link into any chat.

More Dynamic Content packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
soupsieve Worth it
PyPI · Python Modules · released Aug 2026

Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.

Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.

MITpure Python · 3.10+
428.6Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo
Flask Worth it
PyPI · Application Frameworks · released Feb 2026

Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.

BSD-3-Clausepure Python · 3.9+
211.4Mdownloads / mo
Mako Worth it
PyPI · Dynamic Content · released Aug 2026

Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.

MITpure Python · 3.10+
201.7Mdownloads / mo

See also strawberry-graphql · graphene-django · ariadne-codegen · gql · ariadne · graphene-django-optimizer · graphql-relay · django-graphql-jwt · django-graphiql-debug-toolbar · algoliasearch-django