Skip to main content

The Official Gestell Python SDK

Project description

Gestell Python SDK

license python-version version Coverage Status CircleCI

A fully featured SDK with extensive code completion and typesystems for interacting with the Gestell Platform. Full featured support for Python 3.X. Uses asynchronous coroutines by design.

Project Preview

Quick Start

First, get an API Key from https://platform.gestell.ai. Then install gestell:

pip install gestell

Or...

uv add gestell

Second, load the API Key into your terminal session, or, pass it into the SDK:

# Load it into your terminal session
export GESTELL_API_KEY = "..."

Or load it directly in the client:

from gestell import Gestell
gestell = Gestell(key='...', url='...', debug=True)

Gestell will also read and load these environment variables from a .env file.

Finally, start using the Gestell Platform SDK. The SDK can be used both on the client and server side. A public facing app should use it server side only due to the API Key being passed into the SDK and requests:

import asyncio
from typing import List
from gestell import Gestell
from gestell.types import Collection


gestell = Gestell()


async def main():
    response = await gestell.collection.list()
    collections: List[Collection] = response.result
    print(collections)


if __name__ == "__main__":
    asyncio.run(main())

Guide

You can review guides on common workflows and use cases for the Gestell Platform by going to https://gestell.ai/docs. There is a full guide to create, prompt, search and gather labels and tables at https://gestell.ai/docs/guide.


Review the Contributing Guidelines to see how to test and contribute features to the SDK.

Review the CHANGELOG to see updates and/or improvements to the SDK.

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

gestell-1.4.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

gestell-1.4.0-py3-none-any.whl (271.3 kB view details)

Uploaded Python 3

File details

Details for the file gestell-1.4.0.tar.gz.

File metadata

  • Download URL: gestell-1.4.0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.9

File hashes

Hashes for gestell-1.4.0.tar.gz
Algorithm Hash digest
SHA256 84faace39325b2b39d7e1494e464ff99a3f58bd448bc9667a9e0b5c07a8f03e2
MD5 6cd450a63a8e55a0e8a43901abf6566e
BLAKE2b-256 abefac7e15d2d3d06fb7c60a03cbc2fcee4dde5d74d36146bb738e3297e5d712

See more details on using hashes here.

File details

Details for the file gestell-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: gestell-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 271.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.9

File hashes

Hashes for gestell-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cf0c1c37dfdc695e8838b4b3ca0afeec334b49fcd86d0edb08d9a1f284b5de9
MD5 44e4f22f6fe3cb118d854116fbfe1c7a
BLAKE2b-256 4020114fd028160e9c4b0a32b066dc26ffe9622c615b1e93178b811b8c2abd99

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