This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

An opinionated fleet API client for Python

Project Description

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 History

Release History

This version
History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
fleetpy-0.2.3-py2.py3-none-any.whl (6.3 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Oct 14, 2015
fleetpy-0.2.3.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Oct 14, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting