sangria
Graphene
Our great sponsors
sangria | Graphene | |
---|---|---|
5 | 19 | |
1,962 | 7,953 | |
0.2% | 0.6% | |
8.6 | 5.0 | |
10 days ago | 4 days ago | |
Scala | Python | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sangria
- GraphQL is quickly moving to one of my least favorite technologies
-
How (Not) To Build Your Own GraphQL Server
Instead of constructing an object, it uses classes to define the types and operations for the schema that it generates. The schema generated by this implementation will have the same structure as the schema created with graphql-js. Using classes to define your schema has the advantage of being less mutable and more structured when writing code. Similar implementations can be found for TypeScript with the library TypeGraphQL or Sangria GraphQL for Scala.
-
What is the state of frameworks and libraries support to build microservices in scala?
As Api gateway we use sangria on top of Finagle (finch to be precise) and that has been a huge boon in making the connection between microservices and frontend seamless/safe.
Graphene
-
Who moved my error codes? Adding error types to your GoLang GraphQL Server
And gqlgen is not alone in this. We found several more GraphQL frameworks that don’t take it upon themselves to address this problem. Widely used GraphQL server implementations, such as graphql-go/graphql and Python’s graphene, have the exact same gap of exposing messages of unexpected errors by default.
-
Using GraphQL with Strawberry, FastAPI, and Next.js
There are multiple Python-based GraphQL libraries and they all vary slightly from each other. For the longest time, Graphene was a natural choice as it was the oldest and was used in production at different companies, but now other newer libraries have also started gaining some traction.
-
Wasmer and Trademarks
> But you need to know that Wasmer and its sibling projects will stay free forever. We are open source lovers, all of us, and we have a strong background on working on open source projects before joining Wasmer too.
That's great. I'm sure the closed source paid 10x faster editions of the graphene Python GraphQL server written by Syrus "CEO of Graphene" and CEO of wasmer will be open sourced in this spirit.
https://github.com/graphql-python/graphene/issues/268#issuec...
-
[Python] What minimal application server do you run your Python x GraphQL services with? Django, Flask....
Thanks for the reply, I was looking at Strawberry a bit but not enough documentation for a graphql noob like me... Hate to turn this into tech support but could you potentially answer a question for me? I'm having a really hard time figuring out how to do this. Given this example: https://github.com/graphql-python/graphene/blob/master/examples/simple_example.py and a slight modification:
-
Strawberry Django Plus: Enchanted Strawberry GraphQL integration with Django
Graphene was one of the first (if not the first) lib built on top of graphql-core to provide an easy to use api to build graphql applications. It's been around since 2015 and has a lot of integrations built for it (e.g. Django, SQL Alchemy, etc).
-
Graphene 3.0 is released!
Perhaps I should have put another link as a submission. FWIW this document may serve as a rough upgrade guide: https://github.com/graphql-python/graphene/wiki/v3-release-notes
-
Graphene VS strawberry - a user suggested alternative
2 projects | 7 Oct 2021
-
How (Not) To Build Your Own GraphQL Server
You can find an example of a modern code-first way to build a GraphQL server is the Python library graphene. You can use Graphene build servers that connect with data sources like a database or custom Python objects. Below you can see what a basic implementation of a GraphQL server with Graphene looks like:
- Ask HN: What startup/technology is on your 'to watch' list?
What are some alternatives?
strawberry - A GraphQL library for Python that leverages type annotations 🍓
ariadne - Python library for implementing GraphQL servers using schema-first approach.
tartiflette-aiohttp - tartiflette-aiohttp is a wrapper of aiohttp which includes the Tartiflette GraphQL Engine, do not hesitate to take a look of the Tartiflette project.
AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python
CherryPy - CherryPy is a pythonic, object-oriented HTTP framework. https://cherrypy.dev
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
Pyramid - Pyramid - A Python web framework
mypy-django - PEP-484 type hints bindings for the Django web framework
Flask - The Python micro framework for building web applications.
Django - The Web framework for perfectionists with deadlines.
Finatra - Fast, testable, Scala services built on TwitterServer and Finagle
web2py - Free and open source full-stack enterprise framework for agile development of secure database-driven web-based applications, written and programmable in Python.