Graphus is a dynamic GraphQL schema parser and API generator for Python. With Graphus, you can adapt your client's API to any GraphQL server on-the-fly, ensuring real-time compatibility and flexibility.
Features
- 📜 Dynamic Schema Parsing: Parse any GraphQL schema and understand its structure.
- 🚀 Automatic API Generation: Create methods and objects that align with the parsed schema's parameters and arguments.
- 🎛 Adaptable Client: Seamlessly adapt your client to different GraphQL servers without manual modifications.
- 🔒 Type-Safe: Ensures that the generated methods and objects adhere to the schema's defined types.
Installation
pip install graphus
Quick Start
-
Initialize Graphus with a GraphQL endpoint:
from graphus import GraphusClient client = GraphusClient(endpoint='https://your-graphql-endpoint.com')
-
Use the generated API:
obj = client.query.field(arg1="Hello").attribute.execute() obj = client.mutation.method(param="Hello").execute()
Documentation
For detailed documentation, including advanced features and API references, please click here.
Contributing
We welcome contributions! Please see our CONTRIBUTING guide for more details.
📞 Contact
Queries? Suggestions? Drop me an email at ionesiojr@gmail.com.
License
Graphus is licensed under the Apache 2.0 License.
Metadata
Release files for graphus 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| graphus-0.1.2.tar.gz | 11.2 kB | Without provenance | Details for graphus-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| graphus-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for graphus-0.1.2-py3-none-any.whl |
Total release size: 23.1 kB
Release files / graphus-0.1.2.tar.gz
| Download URL | graphus-0.1.2.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8bead40f105bd861a9fba929977913b822f6baa13470950bc1b52a70cdae36dc
|
|
BLAKE2b-256 checksum How to use checksums |
f2b8c98340e3c749d343c65002a38ec0db822c48df9fedfba8a8544d1b4aecd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.8 Linux/5.15.90.1-microsoft-standard-WSL2
|
Release files / graphus-0.1.2-py3-none-any.whl
| Download URL | graphus-0.1.2-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ea5bd9961c3753a44195efdb31f43483e0243794c69e799e08c3aa3c6a1b6db
|
|
BLAKE2b-256 checksum How to use checksums |
fc9083e09ce9399076bfe02b9561d5c7347e1f5034845c17858d05a480cb636d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.8 Linux/5.15.90.1-microsoft-standard-WSL2
|
Security for graphus 0.1.2
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.