Skip to main content client for Python 2 and 3

Project description

A client for Python 2 and 3.


$ pip install floodio-python


Instantiate a client with your Flood API key:

from floodio.client import Client

client = Client('YOURAPIKEY')

Flood API

client.floods is iterable:

for flood in client.floods:

or you can get a flood by its uuid:

flood = client.floods['SOMEUUID']

A flood has stop, repeat, and refresh methods.

# keyword arguments are optional.
flood.repeat(grid='SOMEGRIDUUID', region='AWSREGION')
flood.refresh()  # pulls the latest state of this flood

Accessing flood.status performs an implicit refresh.

>>> 'queued'
>>> 'running'
>>> 'finished'

Condensed results are available with

and the detailed results are available with flood.results, directly loading the JSON-response.

Any times returned by Flood API V2 are parsed into native Python datetime objects.

eg. flood.started and flood.ended.

You can create a new flood with client.floods.create. Test files are a list of two-tuples with a filename, and either a file-like object or a string.

flood = client.floods.create(
    [('test.jmx', your_test_data)],

Grid API

Project details

Download files

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

Source Distribution

floodio-python-0.3.tar.gz (3.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page