Skip to main content

Fleet SDK for building and managing chatGPT plugins

Project description

Set Up Fleet

Install the SDK

pip install fleet-sdk

Import the SDK at the top of your plugin's files

from fleet_sdk.fastapi import Tracker

from fleet_sdk.flask import Tracker

from fleet_sdk.quart import Tracker

Initialize the SDK with your Plugins Analytics's ID.

tracker = Tracker("fleet-49b1bee7-b471-492a-a814-1bfbc2c2afa8", app=app)

Add this decorator to the endpoints you want to track.

@tracker.log_event

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

fleet_sdk-0.5.5.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

fleet_sdk-0.5.5.1-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

Supported by

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