Python SDK for interacting with Fleet environments. Currently at version 0.2.126, actively maintained. Provides client for task execution, file management, and environment metadata. Releases are frequent (multiple per week). Requires Python >=3.9.
pip install fleet-pythonNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize FleetClient and list tasks. Ensure FLEET_API_KEY and optionally FLEET_BASE_URL are set as environment variables.
Update attribute access to use metadata dict: task.metadata.get('field_name') instead of task.field_name.Always pass base_url parameter. Use the default only if you are targeting Fleet Cloud.
Use await client.some_async_method() inside async functions, or ensure you are using the synchronous client correctly.