Implement Starlette bindings
See original GitHub issueStarlette is lightweight framework for implementing asynchronous APIs/apps in Python. It already has GraphQL support (via Graphene) but the feature and dependencies are opt-in, leaving space for alternative GraphQL implementation in the project.
We’ve discussed this with @tomchristie who leads work on Starlette and path is open for us to introduce the built-in support for Ariadne in Starlette via PR. This issue is for tracking possible ariadne.contrib.starlette
module/package that would provide necessary bindings on our side.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:10
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Fellowes Starlet Manual Comb Binding Machine - YouTube
OfficeMachines.net are based in the UK and have over 30 years experience supplying all types of office machines. This product is currently ...
Read more >Framework Integrations
The fast api automatically binds the active request to the container. This enables the following definitions: from starlette.requests import Request class ...
Read more >Presenting BlackSheep, one of today's fastest web ...
The favorite features I implemented in my framework, are: built-in support for dependency injection; automatic binding of request handlers' ...
Read more >Uvicorn
For a PyPy compatible configuration use uvicorn.workers.UvicornH11Worker . ... Starlette is a lightweight ASGI framework/toolkit. It is ideal for building ...
Read more >Racket bindings - Google Groups
For my project Starlet (high-level Guile Scheme DSL for theatrical ... CHICKEN Scheme library just seems to wrap libola, so doesn't implement the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
👍 I’m available if you’ve questions about how to proceed on this.
Its not clear to me yet if we’d end up including it in Starlette’s package or if we’d end up having both the Ariadne and the Graphene variants as third party either way I’d be perfectly happy to take pull requests against the Starlette cocdebase as a starting point for validating the implementation.
Also worth saying here that the goal is Ariadne being available for any ASGI framework. Starlette is the package you’d use to facilitate that, and is one framework you’d be able to use, but we should also keep an eye on “and here’s how you can use it with Quart, Responder, and (once it updates to an ASGI interface) Sanic”.
Sure - Starlette 0.12 is basically ready to go - I’ve just been in a different headspace what with pushing hard on
httpcore
. I guess I’ll come to releasing it next week at the latest.