skillfed

fleet-python

Python SDK for Fleet environments

fleet-python v0.2.133 278.0K downloads/30d#8,139 on PyPI17
Permissive license Apache-2.0 Abandoned released

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-python

uv

uv add fleet-python

poetry

poetry add fleet-python

Installing 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

Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9

Tags

fleet environment management sdkremote environment provisioning pythonfleet infrastructure api clientenvironment instance managementfleet ai environments python
environment-managementinfrastructure-as-code

More Application Frameworks packages