non intrusive python graphql client library wrapped around pydantic
Project description
ql
Graphql client library, wrapped around pydantic classes for type validation, provide simple, safe and pythonic way to query data from a graphql api.
using pydantic for creating python objects from rest api is common, it is easy and it has type validation, so why not make it easy also for graphql apis?
features:
- python objects to valid graphql string
- http send and recv information
- scalar query responses
install
pip3 install pydantic-graphql
documentation
https://dsal3389.github.io/ql/
local development
install
install locally
git clone git@github.com:dsal3389/ql.git
documentation
make sure you are at the project root
poetry run mkdocs serve
tests
library uses pytest to validate that behavior is expected
poetry run pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydantic_graphql-1.2.0.tar.gz.
File metadata
- Download URL: pydantic_graphql-1.2.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.13.1 Linux/6.13.1-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a801d39d0e24f94008abc19448bab48bf2cdd5af0f27f7476a99421b7ed92c3c
|
|
| MD5 |
6a705f3ffffcfea25908f7d1d6fc063d
|
|
| BLAKE2b-256 |
faef746855273177ed010ac153355bf6a6091b501c5a7e90171eb68704334574
|
File details
Details for the file pydantic_graphql-1.2.0-py3-none-any.whl.
File metadata
- Download URL: pydantic_graphql-1.2.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.13.1 Linux/6.13.1-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2720b16c62cf0bb456d6689b9db197ae9db031def267198df57b8dbc4ae2bdc2
|
|
| MD5 |
08590e3eb7a174c9bdf5fe8d7af16953
|
|
| BLAKE2b-256 |
663af42f56a7ec5523a27db441802775cc084ab3cc8109e3f634bb40943a74a4
|