Skip to main content

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


Download files

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

Files for UbuntuAMI, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size UbuntuAMI-0.1.0.tar.gz (2.3 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