💽Installation & Guide

How to Install the Groclake Library

To use the Groclake library in your project, you need to install it using pip. The library is available on the Test PyPI repository. Run the following command in your terminal to install it:

pip install groclake

Prerequisites

Ensure that you have the necessary API credentials for the Groclake service:

  • GROCLAKE_API_KEY

  • GROCLAKE_ACCOUNT_ID

These should be set as environment variables before making any API requests.

Set Environment Variables

Before interacting with the CatalogLake API, make sure your API key and account ID are set up in your environment.

Python

import os
from groclake.cataloglake import CatalogLake

# Environment variable setup
GROCLAKE_API_KEY = 'your_api_key_here'
GROCLAKE_ACCOUNT_ID = 'your_account_id_here'

os.environ['GROCLAKE_API_KEY'] = GROCLAKE_API_KEY
os.environ['GROCLAKE_ACCOUNT_ID'] = GROCLAKE_ACCOUNT_ID

# Initialize Groclake catalog instance
catalog = CatalogLake()

Last updated