Skip to main content

Swimlane Bundle Development Package

Project description


Python package for Swimlane AppHub API


run pip install apphub from a terminal. This package is available for python 2 and python 3.


Below are a few basic python examples to get started.

Note: If sw_ is not found at the beginning of a name, the client will add it for you.

from apphub import AppHub, save_to_disk, clean_response

ah = AppHub('username', 'password')

#Get all swimlane bundles
get_all_bundles = ah.swimbundles.get()

# Get All versions of a swimlane bundle
get_all_versions = ah.swimbundles.get('sw_carbon_black_defense')

# Get One version of a swimlane bundle
get_one_version = ah.swimbundles.get('sw_carbon_black_defense', '1.1.1')

# Clean up get response to return simple data {'<bundle_name>': [<list_of_versions>]}

# Search for bundles
srch_by_field ={'vendor': "Carbon Black"})
srch_by_text ="Carbon Black")

#Download bundle by version
downloaded_bundle ='sw_carbon_black_defense', '1.1.1')

#Save Latest Download Bundle to disk
save_to_disk('/filepath/', downloaded_bundle)

Project details

Download files

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

Files for apphub, version 1.3.0
Filename, size File type Python version Upload date Hashes
Filename, size apphub-1.3.0-py2.py3-none-any.whl (7.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size apphub-1.3.0.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page