Skip to main content

Cognite graphQL Python generation SDK

Project description

Cognite GraphQL Python Generator

build GitHub Code style: black

This is the Cognite GraphQL Python Generator, gqlpygen, which is a CLI for automatically generating Python SDK code from .graphql to interact with Cognite Data Fusion's (CDF) Flexible Data Models (DM). It also supports other cases, such as generating .graphql from pydantic classes.

[DISCLAIMER!] This project is in a highly experimental no guarantees are made for consistency between versions. The project may also become deprecated if the experimentation turns out to be a dead end.

DM Non-GraphQl API

This package also contains cognite.dm_clients which is a simplified wrapper for non-GraphQL endpoints in DM API v3.

See dm_clients/README.md for more details.

Installation

To install this package:

$ pip install cognite-gql-pygen

Usage

Currently (v0.1.0), there is no functionality, just some demo functions:

Type the following command for help.

cogpygen --help

Changelog

Wondering about upcoming or previous changes to the SDK? Take a look at the CHANGELOG.

Contributing

Want to contribute? Check out CONTRIBUTING.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cognite_gql_pygen-0.1.3.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cognite_gql_pygen-0.1.3-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

Details for the file cognite_gql_pygen-0.1.3.tar.gz.

File metadata

  • Download URL: cognite_gql_pygen-0.1.3.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for cognite_gql_pygen-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f10e981abc66ee6c9d9ba2108a657b809cab41931879cf5f80e9462a4a87febd
MD5 9d55b1608d1b5fecb99709507343aab9
BLAKE2b-256 0f4293ff5c97535d170c59276cab564292aba6e3fff59eef2bd6b1b7643bd4cd

See more details on using hashes here.

File details

Details for the file cognite_gql_pygen-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for cognite_gql_pygen-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e0f78d8a20d9cce10a5c5a288e9042ac6d5fe84bf4398af8bd458a76dfd96e7e
MD5 62aafff20ff606124c529d91bf63a4d4
BLAKE2b-256 6b0b244d9af042ad5a8f2f6d22d9d2e22dc49f935ea7217b5647ba4851b16c0c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page