Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.

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

Metadata

Release files for fleet-sdk 0.5.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fleet-sdk 0.5.5.1
File Size Uploaded
fleet_sdk-0.5.5.1.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fleet-sdk 0.5.5.1
File Interpreter ABI Platform
fleet_sdk-0.5.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.6 kB

Release files / fleet_sdk-0.5.5.1.tar.gz

Download URL fleet_sdk-0.5.5.1.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a0ef697ac77a9fcb5cf3219b30cec36542cfd8ec881ae757adfc651ffa980caf
BLAKE2b-256 checksum
How to use checksums
89b7ff1fc44da574875088d9233d0d45e99a5f6fc6752354de73023b39ed1231
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / fleet_sdk-0.5.5.1-py3-none-any.whl

Download URL fleet_sdk-0.5.5.1-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98ad7724c7d22aaf8a9024500f7e5e1526951c89d1025258d647a6fdc51709fe
BLAKE2b-256 checksum
How to use checksums
3526db2b075c32c7bf9dadc23d52e4ecb202f2d1feac8db11106eba5c311c78a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.5.5.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page