Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

An opinionated fleet API client for Python.

Usage

import fleetpy

client = fleetpy.Client('https://fleet.myenv.com')
unit = client.unit('consul', from_file='consul.service')

# Submit the unit, but keep it inactive
unit.submit()

# Start the unit
unit.start()

# Stop the unit
unit.stop()

# List the state of all units
state = client.state()

# List the machines
machines = client.machines()

# List the units
units = client.units()

# Get the state of a remote unit
unit = client.unit('remote.service')
unit.refresh()
print(unit.state)

Release files for fleetpy 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fleetpy 0.2.3
File Size Uploaded
fleetpy-0.2.3.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fleetpy 0.2.3
File Interpreter ABI Platform
fleetpy-0.2.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 10.5 kB

Release files / fleetpy-0.2.3.tar.gz

Download URL fleetpy-0.2.3.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
49188fb79e922c0f9669a33bc9d68bff9a8b7394a1de5591dcd5e35893ec12d4
BLAKE2b-256 checksum
How to use checksums
fb4432f41393a0b10a5bbcc509e80a3cfc292e4b84a7fc8c78fa80fcec5ee75d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / fleetpy-0.2.3-py2.py3-none-any.whl

Download URL fleetpy-0.2.3-py2.py3-none-any.whl
Size 6.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
16e1f1287d760ba26875c1ebbb063913a41ab254c825dc4cb1e0370f1e67adf3
BLAKE2b-256 checksum
How to use checksums
14b9b297547c65363064316a4cb015de89247b241a108aba970b9d6797fd6dde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page