Get Advice Icon

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

Graphene
Graphene

45
50
+ 1
0
PostGraphile
PostGraphile

23
42
+ 1
8
Add tool

Graphene vs PostGraphile: 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, PostGraphile is detailed as "Instant GraphQL API for your PostgreSQL database; use standalone or as a Node.js middleware; MIT-licensed OSS". Execute one command (or mount one Node.js middleware) and get an instant high-performance GraphQL API for your PostgreSQL database.

Graphene and PostGraphile can be categorized as "Query Languages" tools.

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, PostGraphile provides the following key features:

  • instant GraphQL schema via reflection over PostgreSQL database API
  • compiles complex GraphQL queries into very few SQL statements resulting in high performance
  • built entirely from plugins - heavily customisable

Graphene and PostGraphile are both open source tools. PostGraphile with 7.49K GitHub stars and 364 forks on GitHub appears to be more popular than Graphene with 4.71K GitHub stars and 502 GitHub forks.

What is Graphene?

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

What is PostGraphile?

Execute one command (or mount one Node.js middleware) and get an instant high-performance GraphQL API for your PostgreSQL database
Get Advice Icon

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

Why do developers choose Graphene?
Why do developers choose PostGraphile?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
      Be the first to leave a con
      What companies use Graphene?
      What companies use PostGraphile?

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

      What tools integrate with Graphene?
      What tools integrate with PostGraphile?

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

      What are some alternatives to Graphene and PostGraphile?
      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.
      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.
      Prisma
      Prisma is a powerful database tool used for data access, migrations and visual data management. It replaces traditional ORMs and removes friction from complicated database workflows.
      Oracle PL/SQL
      It is available in Oracle Database, TimesTen in-memory database, and IBM DB2. Oracle Corporation usually extends PL/SQL functionality with each successive release of the Oracle Database.
      See all alternatives
      Decisions about Graphene and PostGraphile
      Malthe J酶rgensen
      Malthe J酶rgensen
      CTO at Peergrade | 13 upvotes 35.9K views
      atPeergradePeergrade
      Amazon RDS
      Amazon RDS
      Graphene
      Graphene
      GraphQL
      GraphQL
      Django
      Django
      PostgreSQL
      PostgreSQL

      We recently switched from MongoDB and the Python library MongoEngine to PostgreSQL and Django in order to:

      • Better leverage GraphQL (using the Graphene library)
      • Allow us to use the autogenerated Django admin interface
      • Allow better performance due to the way some of our pages present data
      • Give us more a mature stack in the form of Django replacing MongoEngine, which we had some issues with in the past.

      MongoDB was hosted on mlab, and we now host Postgres on Amazon RDS .

      See more
      Michael Mota
      Michael Mota
      CEO & Founder at AlterEstate | 6 upvotes 5.7K views
      atAlterEstateAlterEstate
      Django
      Django
      Graphene
      Graphene
      GraphQL
      GraphQL

      We recently implemented GraphQL because we needed to build dynamic reports based on the user preference and configuration, this was extremely complicated with our actual RESTful API, the code started to get harder to maintain but switching to GraphQL helped us to to build beautiful reports for our clients that truly help them make data-driven decisions.

      Our goal is to implemented GraphQL in the whole platform eventually, we are using Graphene , a python library for Django .

      See more
      Michael Mota
      Michael Mota
      CEO & Founder at AlterEstate | 4 upvotes 582 views
      Next.js
      Next.js
      Graphene
      Graphene
      GraphQL
      GraphQL
      Django
      Django

      I've been using Django for quite a long time and in my opinion I would never switch from it. My company is currently using Django with REST framework and a part in GraphQL using Graphene. On the frontend we use Next.js and so far everything has been running quite good. I've found limitations but manage to solve it.

      As someone mentioned before, if you are comfortable with Django, don't switch. There's no need since with django you can basically achieve anything. Of course this will depend on the project you want to build, but the scalability and flexibility django can offer it's just out of this world. (Don't want to sound like a fan boy haha but it really is).

      See more
      Interest over time
      Reviews of Graphene and PostGraphile
      No reviews found
      How developers use Graphene and PostGraphile
      No items found
      How much does Graphene cost?
      How much does PostGraphile cost?
      Pricing unavailable
      Pricing unavailable
      News about Graphene
      More news
      News about PostGraphile
      More news