Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

CLI to return the Ubuntu AMIs in AWS marketplace

Project description

AWS Marketplace Ubuntu AMI Scraper

CLI to return the Ubuntu AMIs in AWS marketplace

Basic setup

Install from PyPi

$ pip install aws-marketplace-ubuntu-scraper

... OR ...

Install the requirements manually:

$ pip install -r requirements.txt

You will also need Firefox installed and geckodriver available in your PATH.

I recommend you create a new IAM user with no permissions granted. Ensure that you have opted in to all the AWS regions that are opt in only and that you want quicklaunch listings for.

You will also need to set up your aws credentials for use with boto3

Run the application:

$ python -m aws_marketplace_ubuntu_scraper --help

# Print details of the Ubuntu quicklaunch entries for each region
$ python -m aws_marketplace_ubuntu_scraper quicklaunch --iam-account-id="YOUR IAM ACCOUNT ID" --iam-username="YOUR IAM USERNAME" --iam-password="YOUR IAM PASSSWORD"

# Print details of the Ubuntu marketplace listings
$ python -m aws_marketplace_ubuntu_scraper marketplace

To run the tests:

    $ pytest

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 aws-marketplace-ubuntu-scraper, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size aws_marketplace_ubuntu_scraper-0.0.5-py3-none-any.whl (8.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size aws_marketplace_ubuntu_scraper-0.0.5.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View hashes

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