Get the daily build ami of Ubuntu Cloud Image
Project description
Get the daily build ami of Ubuntu Cloud Image.
Origin source: Ubuntu Cloud Image
Install
Install by pip:
$ pip install UbuntuAMI
This package depends on requests and lxml.
Usage
As easy as
>>> import ubuntuami
>>> ubuntuami.get()
'ami-dc0e9cb5'
>>> ubuntuami.get_command()
'ec2-run-instances ami-dc0e9cb5 -t t1.micro --region us-east-1 --key ${EC2_KEYPAIR_US_EAST_1}'
You may also add more filter to get the ami you want.
>>> ubuntuami.get(target='server', version='quantal', region='us-west-2')
'ami-66e07556'
>>> ubuntuami.get(target='desktop', version='precise', region='ap-northeast-1', arch='32-bit')
'ami-c41aa3c5'
Read the source for more info, it’s simple.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
UbuntuAMI-0.1.0.tar.gz
(2.3 kB
view hashes)