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


Release history Release notifications

This version
History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
UbuntuAMI-0.1.0.tar.gz (2.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page