Metadata-Version: 1.2
Name: fl33t
Version: 0.6.1
Summary: Fl33t API Client
Home-page: https://github.com/fictivekin/fl33t-client
Author: Fictive Kin LLC
Author-email: hello@fictivekin.com
Maintainer: Fictive Kin LLC
Maintainer-email: hello@fictivekin.com
License: MIT
Description: 
        Fl33t API Client
        ================
        
        The Fl33t API Client is a Python module for interacting with fl33t_. It requires Python 3+. 
        
        .. _fl33t: https://www.fl33t.com
        
        
        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():
                print(train)
                for fleet in train.fleets():
                    print(fleet)
                    for device in fleet.devices():
                        print(device)
                        fw_upgrade = device.checkin()
                        if fw_upgrade:
                            print(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(
                train_id=train_id,
                version=version,
                filename=filename
            )
        
            print(build.create())
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development
Requires-Python: >=3.4
