subgrounds
subgrounds copied to clipboard
An intuitive Python library for interfacing with subgraphs and GraphQL
Is there a method that I can close the SSL connection which is build by Subgrounds? I checked the API document which doesn't have a similar content. I tried to...
As discussed in https://github.com/0xPlaygrounds/subgrounds/issues/50, I added a test for the NULL (and NOT NULL) filters available on subgrounds. This serves as starting point and could be later referenced by the...
**Describe the bug** Normally use Subgrounds via async or sync interface (using query grouping or not) and observe `ResourceWarning`s. **Expected behavior** No `ResourceWarning`. **Screenshots** ```py sys:1: ResourceWarning: unclosed ``` **Additional...
**Describe the bug** It's not clear from the documentation how one can filter the subgraph results by a column which should not be NULL. **To Reproduce** My (incorrect) query: ```...
**Describe the bug** When calling the method `result = sg.query_json()`, the returned object looks roughly like this: ``` $result [{'xcfb7c9c5f581c978': [{"title":"title1", "id":1}, {"title":"title2",id":2} ``` It's not clear to me (also...
**Is your feature request related to a problem? Please describe.** I want type information when using subgraph and fieldpath objects. **Describe the solution you'd like** Generating `.pyi` files for full...
[`rye`](https://rye-up.com) is a newer, **rust** based tool for python management, inspired by `cargo`'s utility in the rust ecosystem. It has tooling for - Installing and managing python installations (like [`pyenv`](https://github.com/pyenv/pyenv))...
Related to this issue, #29 ```py from polars_client import SubgroundsPolars from subgrounds.subgraph import FieldPath, Subgraph # from polars_utils.py import * import polars as pl sg = SubgroundsPolars() snx_endpoint = "https://api.thegraph.com/subgraphs/name/synthetix-perps/perps"...
**Is your feature request related to a problem? Please describe.** - I'm frustrated when trying to convert existing GraphQL queries into Subgrounds - I find it difficult to convert Subgrounds...
**Is your feature request related to a problem? Please describe.** I cannot use modern dataframe techniques effectively with subgrounds. **Describe the solution you'd like** I would like to leverage modern...