What is the best option for writing GraphQL APIs using Django in 2023?

This page summarizes the projects mentioned and recommended in the original post on /r/django

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • graphene-django

    Build powerful, efficient, and flexible GraphQL APIs with seamless Django integration.

  • I've used Graphene + Graphene Django to write GraphQL APIs for several years now, but graphene-django unfortunately seems to (mostly) be abandoned now.

  • strawberry-graphql-django

    Discontinued Strawberry GraphQL Django extension [Moved to: https://github.com/strawberry-graphql/strawberry-django]

  • For django it should be used with strawberry-graphql-django and strawberry-django-plus. The latter provide an automatic query optimiser to handle the N+1 problem.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • strawberry-django-plus

    Discontinued Enhanced Strawberry GraphQL integration with Django

  • For django it should be used with strawberry-graphql-django and strawberry-django-plus. The latter provide an automatic query optimiser to handle the N+1 problem.

  • strawberry

    A GraphQL library for Python that leverages type annotations 🍓

  • Currently happily using strawberry-graphql for a small project.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts