fleet-python
Python SDK for Fleet environments
What it is and what it does
Fleet SDK is a Python client library for interacting with Fleet's managed environment infrastructure. It abstracts away the complexity of provisioning, configuring, and managing remote environments by providing high-level APIs for environment creation, state access, and lifecycle management. The SDK handles authentication via browser login or API keys and communicates with Fleet's backend services through aiohttp and httpx.
You use it to programmatically spin up isolated environments (like database instances), reset them with specific seeds or timestamps, query their state, and clean up resources when done. It's built on pydantic for data validation and includes retry logic through httpx-retries for resilient network communication.
Use it for:
- Create and manage isolated test environments for integration testing without manual provisioning.
- Programmatically reset environments to known states for reproducible test runs with specific seeds.
- Query and manipulate environment state (e.g., executing SQL against a managed database) from Python scripts.
- List and filter running environment instances to monitor or manage infrastructure programmatically.
- Automate environment lifecycle (create, reset, query, destroy) in CI/CD pipelines.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Fleet SDK provides programmatic access to Fleet's environment infrastructure, enabling you to create, manage, and interact with remote environments through a Python API.
No. The package is in alpha (Development Status 3), has been abandoned (repository archived, no commits since 2026-08-09), and offers no clear maintenance path. While install friction is low and the license is permissive, the lack of active maintenance and the early alpha status make it unsuitable for production or even reliable development use. Consider only if you are evaluating the Fleet platform itself or have direct support from Fleet.
Install
fleet-python on PyPI
pip
pip install fleet-pythonuv
uv add fleet-pythonpoetry
poetry add fleet-pythonInstalling fleet-python
Before you install
Low install friction with a pure-Python wheel distribution. However, the repository is archived and marked abandoned as of the latest release, raising concerns about future maintenance and support.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions, though you should review the full license terms for your use case.
Quickstart
pip install fleet-python
import fleet
import datetime
env = fleet.env.make("fira")
env.reset(seed=42, timestamp=int(datetime.datetime.now().timestamp()))
sql = env.state("sqlite://current")
env.close()
Requires Python 3.9 or later; authentication requires either browser login (stores credentials in ~/.fleet/credentials.json) or FLEET_API_KEY environment variable set with a valid API key from Fleet Platform.
Verify before relying
- Whether the archived repository status means no security updates or bug fixes will be released.
- Current state of Fleet Platform infrastructure and whether the service remains operational.
- Support timeline and migration path for users of this SDK.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — aiohttp, pydantic, httpx, httpx-retries, typing-extensions, modulegraph2, cloudpickle |
| Maintenance | abandoned — 8 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 277,978/month — #8,139 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: fleet_python-0.2.133-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
tesla-fleet-apiProvides Python bindings to Tesla's Fleet API…
permissive · top 15,000 on PyPI
aa-fleetpingsaa-fleetpings is a Django plugin for Alliance…
copyleft · top 15,000 on PyPI
scalewayProvides Python bindings to interact with…
permissive · top 15,000 on PyPI
google-maps-routeoptimizationPython client library for Google's Route…
permissive · top 15,000 on PyPI
allianceauth-afatA Django plugin for Alliance Auth that tracks…
copyleft · top 15,000 on PyPI
browser-use-sdkPython SDK for controlling browsers…
permissive · top 5,000 on PyPI
aliyun-python-sdk-ecsProvides Python bindings to Aliyun's Elastic…
permissive · top 15,000 on PyPI
oktaA Python SDK for the Okta Management APIs,…
permissive · top 5,000 on PyPI
stackit-iaasProvides Python bindings to create and modify…
permissive · top 15,000 on PyPI
awsiotsdkConnects Python applications to AWS IoT Core…
permissive · top 5,000 on PyPI