What is Graphene?
Graphene is a Python library for building GraphQL schemas/types fast and easily.
Graphene is a tool in the Query Languages category of a tech stack.
Graphene is an open source tool with 7.2K GitHub stars and 780 GitHub forks. Here’s a link to Graphene's open source repository on GitHub
Who uses Graphene?
Companies
29 companies reportedly use Graphene in their tech stacks, including Mathspace, co-living, and Zerebra.
Developers
67 developers on StackShare have stated that they use Graphene.
Graphene Integrations
Pros of Graphene
0
0
Decisions about Graphene
Here are some stack decisions, common use cases and reviews by companies and developers who chose Graphene in their tech stack.
Ilya Lebedev
at CTO @ BestDoctor · | 4 upvotes · 29.8K views
Python's GraphQL version – Graphene – has some critical disadvantages, that we found critical:
- Lack of code optimisation. It is also hard to write optimized code because of graphene node API.
- Nonsecure by default. By using reversed fks, you can get a lot of extra data. To stop this, we have to explicit exclude wrong fields, which seems to be error prone.
- Nonflexible code structure. You can't make abstract graphene.ObjectType
class, this limits us a lot.
These are some reasons, that make us move to Django REST framework .
Graphene's Features
- 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
Graphene Alternatives & Comparisons
What are some alternatives to Graphene?
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.
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.