Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Python package for Swimlane AppHub API
run pip install apphub
from a terminal. This package is available for python 3.6 or greater.
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_elastic_kibana')
# Get One version of a swimlane bundle
get_one_version = ah.swimbundles.get('sw_elastic_kibana', '2.0.0')
ah.swimbundles.search(text="elastic")
# Download bundle by version
downloaded_bundle = ah.swimbundles.download('sw_elastic_kibana', '2.0.0')
clean_response(get_all_bundles)
srch_by_field = ah.swimbundles.search(fields={'vendor': "Elastic"})
srch_by_text = ah.swimbundles.search(text="Elastic")
# Save Latest Download Bundle to disk
save_to_disk('/tmp/elastic_security.zip', downloaded_bundle)
FAQs
Swimlane Apphub API Package
We found that apphub demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.