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
Release history Release notifications | RSS feed
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.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for fleet_sdk-0.5.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 834a4c60a8ecf1e5c744586d53a5d666db70bde4ef13f94af5eed83bb13b1cd3 |
|
MD5 | 3eba380281e1fa2e8979464c744831d1 |
|
BLAKE2b-256 | bc2b1b8380dc4d2fa7109cbaa0df4dc70a6a359bb7b51f5a4618c02aa294b212 |