Skip to main content

Fl33t API Client

Project description

The Fl33t API Client is a Python module for interacting with fl33t. It requires Python 3+.

Example usage

Setup a Fl33t client:

from fl33t import Fl33tClient

team_id = '<your-team-id>'
token = '<your-token>'

client = Fl33tClient(team_id, token)

Retrieve all trains/fleets/devices and if there are any upgrades pending:

for train in client.list_trains():
    for fleet in train.fleets():
        for device in fleet.devices():
            fw_upgrade = device.checkin()
            if fw_upgrade:

Upload new build to a train:

train_id = '<your-train-id>'
version = '<your-version-id>'
filename = '<full/path/to/your-firmware-file>'

build = client.Build(


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fl33t, version 0.6.2
Filename, size File type Python version Upload date Hashes
Filename, size fl33t-0.6.2.tar.gz (14.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page