Our great sponsors
- Onboard AI - Learn any GitHub repo in 59 seconds
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- SaaSHub - Software Alternatives and Reviews
-
-
Both graphene and strawberry are both based on graphql-core, a python port of the official graphql.js implementation.
-
Onboard AI
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
-
Strawberry on the other hand is a recent project built with modern python in mind. It uses the concepts of dataclasses to define types and tries to map everything to something pythonic. For example, to define a mutation like doSomething(a: String) Int! you define a function def do_something(self, a: str) -> int and that exact function will be called to resolve that mutation.
-
Graphene was one of the first (if not the first) lib built on top of graphql-core to provide an easy to use api to build graphql applications. It's been around since 2015 and has a lot of integrations built for it (e.g. Django, SQL Alchemy, etc).
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
Related posts
- Using GraphQL with Strawberry, FastAPI, and Next.js
- Getting started with GraphQL in Python with FastAPI and Ariadne
- Microdot "The impossibly small web framework for Python and MicroPython"
- Strawberry: A Python Library for GraphQL
- How to Dockerize and Deploy a Fast API Application to Kubernetes Cluster