Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

Graphene

Free#23 of 32 in GraphQL Tools

Graphene: A free, code-first Python library with broad API features and self-hosted deployment. Ranked #23 of 32 in GraphQL Tools by our editors (6.3/10); pricing: Free plan; best for python teams wanting code-first schemas.

6.3/10Editor score
Graphene6.3 Visit Graphene

At a glance

  • Editor score
    6.3 / 10
  • Pricing
    Free plan
  • Best for
    Python teams wanting code-first schemas
  • Free plan
    Yes
  • Paid from
    Free
  • Deployment model
    Self-hosted
  • Facts checked
    21 Sep 2026
Graphene screenshot
  • Where it wins

    • Code-first schema definition with broad GraphQL type support
    • Supports queries, mutations, subscriptions, Relay, middleware, and dataloading
    • Integrates with Django, Flask, FastAPI, Starlette, and data sources
  • Where it doesn't

    • Self-hosted deployment requires teams to manage their own environment
    • Python-focused, limiting its fit for teams using other languages
    • Less verified explorer and code-generation coverage than leading Python options

Our verdict on Graphene

Graphene is an open-source Python library for building GraphQL APIs with a code-first approach. Developers define schemas, types, fields, resolvers, queries, mutations, and subscriptions in Python instead of writing GraphQL SDL directly. It is suited to Python teams building GraphQL services inside their own applications, particularly teams working with Django, Flask, FastAPI, Starlette, SQLAlchemy, or MongoDB.

The library covers a broad set of API capabilities. Its schema types include objects, interfaces, unions, enums, scalars, and mutations, while execution supports queries, mutations, and subscriptions. Relay-compliant API patterns, middleware, dataloading, file uploads, query validation, depth limiting, introspection controls, and a testing client are also included. Integration options extend to Google App Engine and Apollo Federation, giving teams several ways to fit Graphene into an existing Python application or GraphQL architecture.

Graphene is distributed as an MIT-licensed open-source library with a free plan and self-hosted deployment. That model suits teams that want control over where their GraphQL service runs and are comfortable managing the surrounding application environment. Its scope is broader than schema definition alone, but teams prioritizing a verified explorer or extensive code-generation coverage may prefer another Python option. Choose Graphene for Python-first, code-defined APIs with built-in execution, validation, testing, and framework integrations; look elsewhere if a managed service or stronger explorer and code-generation emphasis is central to the buying decision.

Your product? Our editors can test Graphene in depth and publish a review, labelled as paid · from $149/mo →

Graphene pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on graphene-python.org

Graphene fact sheet

Free planYes
Paid fromFree
Deployment modelSelf-hosted
Schema registryNot verified
API explorerNot verified
Client code generationNot verified
Operation testingYes
Server languagesPython
DeploymentSelf-hosted
SupportCommunity, Docs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations8 integrations: Django, Flask, SQLAlchemy, MongoDB, Google App Engine, Starlette … See all →
PricingFree plan
Websitegraphene-python.org
Facts checked21 Sep 2026

Graphene integrations

Graphene lists 8 integrations on its own site.

  • Django
  • Flask
  • SQLAlchemy
  • MongoDB
  • Google App Engine
  • Starlette
  • FastAPI
  • Apollo Federation

See all Graphene integrations →

Alternatives to Graphene

See all Graphene alternatives →

Used Graphene? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Graphene for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — Graphene 6.3/10

Graphene is listed in our GraphQL Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/graphene/"><img src="https://www.itechguides.com/best/badge/graphene.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update