Need advice about which tool to choose?Ask the StackShare community!
Graphene vs Prisma: What are the differences?
Graphene: GraphQL framework for Python. Graphene is a Python library for building GraphQL schemas/types fast and easily; Prisma: Prisma makes working with databases easy. 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.
Graphene and Prisma 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, Prisma provides the following key features:
- Simplified & type-safe database access
- Declarative migrations & data modeling
- Powerful & visual data management
Graphene and Prisma are both open source tools. Prisma with 14.9K GitHub stars and 872 forks on GitHub appears to be more popular than Graphene with 4.71K GitHub stars and 502 GitHub forks.
Powersports Auction, Seistreinta, and AnkaWorld are some of the popular companies that use Prisma, whereas Graphene is used by A Color Bright, Advance.Careers, and flatfox. Prisma has a broader approval, being mentioned in 14 company stacks & 14 developers stacks; compared to Graphene, which is listed in 11 company stacks and 5 developer stacks.
Pros of Graphene
- Will replace RESTful interfaces0
- The future of API's0
Pros of Prisma
- Type-safe database access12
- Open Source10
- Auto-generated query builder8
- Supports multible database systems6
- Increases confidence during development6
- Built specifically for Postgres and TypeScript4
- Productive application development4
- Supports multible RDBMSs2
- Robust migrations system2
Sign up to add or upvote prosMake informed product decisions
Cons of Graphene
Cons of Prisma
- Doesn't support downward/back migrations2
- Doesn't support JSONB1
- Do not support JSONB1
- Mutation of JSON is really confusing1
- Do not support JSONB1