query-counter
SQLAlchemy model N+1 debugger! (by tatari-tv)
genql
Type safe TypeScript client for any GraphQL API (by remorses)
query-counter | genql | |
---|---|---|
1 | 5 | |
13 | 847 | |
- | - | |
0.0 | 7.9 | |
12 months ago | about 2 months ago | |
Python | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
query-counter
Posts with mentions or reviews of query-counter.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-06.
-
GraphQL Is a Trap?
I just got done doing a talk on GraphQL for PyCon2022 and I do agree with some of the points here. Performance work can be tedious and is not bi-directional in the graph so the number of dataloaders can blow up making debugging hard. Identifying where n+1 queries are in the API can also be difficult, but I used this open source package to help: https://github.com/tatari-tv/query-counter. I think the article failed to mention two of the things that GraphQL does really well: dense queries and built-in pagination. You're able to do the work of many serialized REST queries in one query using the node context of the GraphQL graph structure, which is a huge win if you're hitting performance issues related to requests per second to your API. Also pagination using the cursor, before/after, etc. is very helpful and Flask_Graphene enables some slick caching there to make subsequent queries at that cursor to be extremely performant. I have code with my sample implementation which simple, but shows the power of DataLoaders: https://github.com/lame/pycon-graphql.
genql
Posts with mentions or reviews of genql.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-05.
-
Generative HTTP API Clients
GraphQL via genql
- Looking4Library: A GraphQL client that has query methods on the generated types
- Genql - Generate a type safe TypeScript SDK for any GraphQL API
- Genql – An SDK for Every GraphQL API
-
GraphQL Is a Trap?
GraphQL is really useful paired with a tool like Genql [0] that creates a js library with auto completion and type safety, this makes discovering and using the API much easier and faster
[0] https://github.com/remorses/genql
What are some alternatives?
When comparing query-counter and genql you can also consider the following projects:
trustfall - A query engine for any combination of data sources. Query your files and APIs as if they were databases!
restQL-core - Microservice query language
join-monster - A GraphQL to SQL query execution layer for query planning and batch data fetching.
pycon-graphql
foundation - GraphQL Foundation Charter and Legal Documents
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
objection-filter - Filter objection.js models over HTTP using complex search queries
ent - An entity framework for Go
graphql-cached-get
postgrest - REST API for any Postgres database