{"repo":"mirumee/ariadne-codegen","free":true,"listed":false,"github":"https://github.com/mirumee/ariadne-codegen","clone":"git clone https://github.com/mirumee/ariadne-codegen.git","description":"Generate fully typed Python client for any GraphQL API from schema, queries and mutations","language":"Python","stars":407,"topics":["ariadne","client","codegen","codegenerator","graphql","python"],"license":"BSD-3-Clause","category":"dev-tools","readme_excerpt":"Ariadne Code Generator Python code generator that turns a GraphQL schema and your operations into a fully typed, async (or sync) Python client built on Pydantic. You write your queries, mutations and subscriptions in GraphQL, and ariadne-codegen generates a typed Python method for each one, returning Pydantic models - so you get autocompletion and static type checking instead of hand-writing query strings and parsing raw JSON. 📖 Documentation · Step-by-step example · Configuration reference Features - Fully typed models - Pydantic models for schema types, inputs, enums, fragments, and every operation's result. - Typed client methods - each query, mutation, and subscription becomes a method with typed arguments and a typed return value. - Async or sync - generate an async client (default) or a synchronous one. - Subscriptions - real-time updates over WebSockets ( graphql-transport-ws ). - File uploads - multipart requests via the GraphQL multipart request spec. - Custom scalars - map GraphQL scalars to your own Python types with serialize / parse hooks. - Extensible output - inject mixins into generated models, copy in your own files, or swap the base client (custom auth, or to drop the httpx / websockets deps). - Flexible schema sources - a local file, installed Python packages, or remote introspection. - Plugin system - customize generation through hooks, plus ready-made plugins (shorter results, extracted operation strings, forward refs, …). - More - programmatic query bui","default_branch":null,"files":null,"tree":[],"storefront":"/r/mirumee","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mirumee/ariadne-codegen/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}