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.1.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file fleet_sdk-0.5.5.1.tar.gz
.
File metadata
- Download URL: fleet_sdk-0.5.5.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0ef697ac77a9fcb5cf3219b30cec36542cfd8ec881ae757adfc651ffa980caf |
|
MD5 | abc887b05f60c9af46f308d3628c8b70 |
|
BLAKE2b-256 | 89b7ff1fc44da574875088d9233d0d45e99a5f6fc6752354de73023b39ed1231 |
File details
Details for the file fleet_sdk-0.5.5.1-py3-none-any.whl
.
File metadata
- Download URL: fleet_sdk-0.5.5.1-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98ad7724c7d22aaf8a9024500f7e5e1526951c89d1025258d647a6fdc51709fe |
|
MD5 | 573aad357ce15e6fb5aecc4eba1caad7 |
|
BLAKE2b-256 | 3526db2b075c32c7bf9dadc23d52e4ecb202f2d1feac8db11106eba5c311c78a |