Need advice about which tool to choose?Ask the StackShare community!

Graphene

93
124
+ 1
0
GraphQL

22.6K
18.4K
+ 1
292
Add tool

Graphene vs GraphQL: What are the differences?

Developers describe Graphene as "GraphQL framework for Python". Graphene is a Python library for building GraphQL schemas/types fast and easily. On the other hand, GraphQL is detailed as "A data query language and runtime". GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.

Graphene and GraphQL belong to "Query Languages" category of the tech stack.

Some of the features offered by Graphene are:

  • Easy to use: Graphene helps you use GraphQL in Python without effort.
  • Relay: Graphene has builtin support for Relay
  • Django: Automatic Django model mapping to Graphene Types. Check a fully working Django implementation

On the other hand, GraphQL provides the following key features:

  • Hierarchical
  • Product-centric
  • Client-specified queries

Graphene and GraphQL are both open source tools. GraphQL with 11.7K GitHub stars and 752 forks on GitHub appears to be more popular than Graphene with 4.64K GitHub stars and 494 GitHub forks.

According to the StackShare community, GraphQL has a broader approval, being mentioned in 541 company stacks & 715 developers stacks; compared to Graphene, which is listed in 11 company stacks and 5 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Graphene
Pros of GraphQL
  • 0
    Will replace RESTful interfaces
  • 0
    The future of API's
  • 69
    Schemas defined by the requests made by the user
  • 62
    Will replace RESTful interfaces
  • 59
    The future of API's
  • 47
    The future of databases
  • 12
    Self-documenting
  • 11
    Get many resources in a single request
  • 5
    Ask for what you need, get exactly that
  • 4
    Query Language
  • 3
    Evolve your API without versions
  • 3
    Fetch different resources in one request
  • 3
    Type system
  • 2
    GraphiQL
  • 2
    Ease of client creation
  • 2
    Easy setup
  • 1
    Good for apps that query at build time. (SSR/Gatsby)
  • 1
    Backed by Facebook
  • 1
    Easy to learn
  • 1
    "Open" document
  • 1
    Better versioning
  • 1
    Standard
  • 1
    1. Describe your data
  • 1
    Fast prototyping

Sign up to add or upvote prosMake informed product decisions

Cons of Graphene
Cons of GraphQL
    Be the first to leave a con
    • 3
      Hard to migrate from GraphQL to another technology
    • 3
      More code to type.
    • 1
      Works just like any other API at runtime
    • 1
      Takes longer to build compared to schemaless.

    Sign up to add or upvote consMake informed product decisions

    What is Graphene?

    Graphene is a Python library for building GraphQL schemas/types fast and easily.

    What is GraphQL?

    GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Graphene?
    What companies use GraphQL?
    See which teams inside your own company are using Graphene or GraphQL.
    Sign up for Private StackShareLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Graphene?
    What tools integrate with GraphQL?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    GitHubDockerReact+17
    34
    30430
    GitHubPythonNode.js+47
    50
    69470
    What are some alternatives to Graphene and GraphQL?
    Graphite
    Graphite does two things: 1) Store numeric time-series data and 2) Render graphs of this data on demand
    Ethereum
    A decentralized platform for applications that run exactly as programmed without any chance of fraud, censorship or third-party interference.
    Oracle PL/SQL
    It is a powerful, yet straightforward database programming language. It is easy to both write and read, and comes packed with lots of out-of-the-box optimizations and security features.
    Oracle PL/SQL
    It is a powerful, yet straightforward database programming language. It is easy to both write and read, and comes packed with lots of out-of-the-box optimizations and security features.
    Prisma
    Prisma is an open-source database toolkit. It replaces traditional ORMs and makes database access easy with an auto-generated query builder for TypeScript & Node.js.
    See all alternatives