Metadata-Version: 2.0
Name: warthog
Version: 0.8.2
Summary: Simple client for A10 load balancers
Home-page: https://github.com/smarter-travel-media/warthog
Author: Smarter Travel
Author-email: UNKNOWN
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: System :: Installation/Setup
Classifier: Topic :: System :: Software Distribution
Requires-Dist: click
Requires-Dist: requests

Warthog
=======

.. image:: https://travis-ci.org/smarter-travel-media/warthog.png?branch=master
    :target: https://travis-ci.org/smarter-travel-media/warthog

**WARNING** - This is beta software and subject to breaking changes and/or bugs.

Warthog is a simple Python client for interacting with A10 load balancers. The target
use case is for safely removing servers from pools in a load balancer during a deployment.
It is available under the MIT license.

Features
--------
* Waiting for servers to finish all requests when being disabled
* Graceful handling of transient errors with optional retry logic
* Support for interacting with the load balancer API using SSL
* Python 2.6 -- 3.4
* Thread safety

Installation
------------

To install Warthog, simply run:

.. code-block:: bash

    $ pip install warthog

Dependencies
------------
* `requests <https://github.com/kennethreitz/requests>`_  by Kenneth Reitz
* `click <https://github.com/mitsuhiko/click>`_ by Armin Ronacher

Usage
-----

Using the client is easy!

.. code-block:: python

    from warthog.api import WarthogClient

    def install_my_project(server):
        pass

    client = WarthogClient('https://lb.example.com', 'user', 'password')

    client.disable_server('app1.example.com')
    install_my_project('app1.example.com')
    client.enable_server('app1.example.com')


See `the docs <https://warthog.readthedocs.org/>`_ for more information.

Code
----

The source code is available at https://github.com/smarter-travel-media/warthog

Documentation
-------------

Documentation is available at https://warthog.readthedocs.org/

Changes
-------

The change log is available at https://warthog.readthedocs.org/en/latest/changes.html


