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.
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 details)
File details
Details for the file UbuntuAMI-0.1.0.tar.gz.
File metadata
- Download URL: UbuntuAMI-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcb813c8e289adcb35029761bd584c54cce37765eefac3f2dd2a79f941b91074
|
|
| MD5 |
15b00e1806ca46349c780c6550b60be3
|
|
| BLAKE2b-256 |
53b85fa35e88087f5249a7db2656fef49140f1ad4041d5b7104f26a797af93f5
|