99
142
+ 1
0

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 8.1K GitHub stars and 827 GitHub forks. Here’s a link to Graphene's open source repository on GitHub

Who uses Graphene?

Companies
27 companies reportedly use Graphene in their tech stacks, including Mathspace, Backend, and microsalts.

Developers
70 developers on StackShare have stated that they use Graphene.
Pros of Graphene
0
Will replace RESTful interfaces
0
The future of API's
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

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 .

See more

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.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
Node.js
Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
See all alternatives

Graphene's Followers
142 developers follow Graphene to keep up with related blogs and decisions.