Skip to main content

Python library for working with the Asgard api.

Project description


DEPRECATED This is no longer being maintained and no future changes, updates or enhancements will be added.

Asgard Python Library

This is a wrapper for the asgard api.

The api mapping is in pyasgard/

Example usage:

from pyasgard import Asgard

# With authentication
# from base64 import b64encode
# asgard = Asgard('',
#                 username='user',
#                 password=b64encode('secret'))
asgard = Asgard('')


asgard.cluster.resize(name='appname', minAndMaxSize=4)


The Asgard.asg.create() command requires some hacking to support a dynamic keyword argument. This is documented in the command docstring as well.

client = Asgard('')

vpc_id = 'vpc-something'
lb_list = ['lb-something']
lb_param = 'selectedLoadBalancersForVpcId{0}'.format(vpc_id)

api = client.mapping_table['asg']['create']['default_params']
api[lb_param] = lb_list



To run the unit tests, create a file and run tox:

# Unit test contants
URL = ''
USERNAME = 'happydog'

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 pyasgard, version 1.5
Filename, size File type Python version Upload date Hashes
Filename, size pyasgard-1.5-py3-none-any.whl (15.3 kB) File type Wheel Python version 3.5 Upload date Hashes View

Supported by

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