For Python Developers

Native Python client for accessing the Graphlit Platform

Python Client

Overview

The Graphlit Client for Python enables easy interaction with the Graphlit API, allowing developers to execute queries and mutations against the Graphlit platform.

Prerequisites

Before you begin, ensure you have the following:

  • Python 3.x installed on your system.

  • An active account on the Graphlit Platform with access to the API Settings page.

Installation

To install the Graphlit Client, use pip:

pip install graphlit-client

Configuration

organization_id = "YOUR_ORGANIZATION_ID"
environment_id = "YOUR_ENVIRONMENT_ID"
jwt_secret= "YOUR_JWT_SECRET"

graphlit = Graphlit(
    organization_id=organization_id, 
    environment_id=environment_id, 
    jwt_secret=jwt_secret
)

Last updated