{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/3"}],"enrichment":{"capability":"sgqlc is a Python client library for querying GraphQL APIs using Python syntax instead of GraphQL's domain-specific language, with support for type declarations, query generation, and HTTP endpoint access.","skillfed_tags":["graphql","api-client","http"],"use_cases":["Query GitHub's GraphQL API to fetch pull request details, commits, comments, and reviews in a single request using Python objects.","Build dynamic GraphQL queries based on user input or runtime conditions without string concatenation or manual query validation.","Consume Shopify or Yelp GraphQL endpoints while automatically parsing custom scalar types like dates into native Python datetime objects.","Reduce API latency by combining multiple related data fetches into one nested GraphQL query instead of sequential HTTP requests.","Explore and introspect GraphQL schemas programmatically to generate type-safe query builders for your application."],"what_it_does":"sgqlc lets you write GraphQL queries as Python code instead of mixing GraphQL strings into your application. It provides modules to declare GraphQL types in Python, generate and interpret queries programmatically, and access GraphQL endpoints over HTTP. The core motivation is to avoid the friction of embedding a domain-specific language in Python code, to use Python's naming conventions (snake_case instead of camelCase), and to enable dynamic query construction that always produces valid GraphQL.\n\nThe package includes built-in support for datetime types with ISO 8601 bindings, Relay cursor connection patterns, and introspection-based schema handling. It depends only on graphql-core, making it lightweight. The library is designed for developers building applications that consume GraphQL APIs from services like GitHub, Shopify, or Yelp, where you want to fetch only the fields you need in a single request rather than making multiple REST calls or parsing deeply nested JSON dictionaries.","worth_installing":"Yes. sgqlc is actively maintained, has no known vulnerabilities, low install friction, and solves a real problem for developers working with GraphQL APIs. The permissive ISC license poses no restrictions. Install it if you regularly query GraphQL endpoints and prefer writing Python over embedding GraphQL strings."},"id":"sgqlc","links":{"html":"https://skillfed.io/packages/sgqlc","md":"https://skillfed.io/packages/sgqlc.md","pypi":"https://pypi.org/project/sgqlc/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-06","license_spdx":null,"license_treatment":"permissive","name":"sgqlc","python_support":"supports_current","summary":"Simple GraphQL Client"},"popularity":{"monthly_downloads":3161084,"position":2720,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"18"}
