This release is a pre-release and may not be stable for production use.
rawgql is a simple Python 3 framework for interacting with GraphQL endpoints. There is very little to it; the GraphQL class simply accepts a raw query or mutation passed as a string or file, packages it with the necessary headers and optional query variables, and returns a python dictionary with the result.
There is little to no error checking, however there is a small pytest test suite.
By default, the script will attempt to locate an auth.json file in a folder
named gql/ in your project's working directory. Additionally, query files
can be stored in this folder and can be called from GraphQL.query() by
filename. GraphQL.query() also accepts passed strings. An optional argument
for query variables is available as well.
Check the function signatures and docstrings for more information. All of the default folders and filenames can be changed with environmental variables or by overriding after importing the module.
Metadata
Release files for rawgql 0.1.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rawgql-0.1.dev1.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rawgql-0.1.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.8 kB
Release files / rawgql-0.1.dev1.tar.gz
| Download URL | rawgql-0.1.dev1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42dec90cdbb9e22c7c1914829e7caac090dfd8c0fbbf24912b82bf589391a0e0
|
|
BLAKE2b-256 checksum How to use checksums |
506a3e1c2bba68f400d84470abf9a648666775885d9800bf6ff35a5b7eb2437e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Release files / rawgql-0.1.dev1-py3-none-any.whl
| Download URL | rawgql-0.1.dev1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e5d24eac38e2a5b99872ed97b4237bf7468d3d9434040e6d33f0f5c066cc28d
|
|
BLAKE2b-256 checksum How to use checksums |
0461e08c987887fadb57327f319e2c1d209a6d187846c4fefe169b212d2a32a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|