Skip to main content

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

Metadata

Release files for pydantic-graphql 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydantic-graphql 1.2.0
File Size Uploaded Provenance Actions
pydantic_graphql-1.2.0.tar.gz 8.5 kB Without provenance Details for pydantic_graphql-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pydantic-graphql 1.2.0
File Interpreter ABI Platform Actions
pydantic_graphql-1.2.0-py3-none-any.whl Python 3 none any Details for pydantic_graphql-1.2.0-py3-none-any.whl

Total release size: 18.5 kB

Release files / pydantic_graphql-1.2.0.tar.gz

Download URL pydantic_graphql-1.2.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a801d39d0e24f94008abc19448bab48bf2cdd5af0f27f7476a99421b7ed92c3c
BLAKE2b-256 checksum
How to use checksums
faef746855273177ed010ac153355bf6a6091b501c5a7e90171eb68704334574
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.13.1 Linux/6.13.1-arch1-1

Release files / pydantic_graphql-1.2.0-py3-none-any.whl

Download URL pydantic_graphql-1.2.0-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2720b16c62cf0bb456d6689b9db197ae9db031def267198df57b8dbc4ae2bdc2
BLAKE2b-256 checksum
How to use checksums
663af42f56a7ec5523a27db441802775cc084ab3cc8109e3f634bb40943a74a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.13.1 Linux/6.13.1-arch1-1

Security for pydantic-graphql 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page