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.
Source Distribution
Built Distribution
File details
Details for the file aws_marketplace_ubuntu_scraper-0.0.8.tar.gz
.
File metadata
- Download URL: aws_marketplace_ubuntu_scraper-0.0.8.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb2a2894453854b36b31edc1a5aa7b502975700a7c09e08c66ec7ae776fc57df |
|
MD5 | 4483488df291b5df853c887b7745a614 |
|
BLAKE2b-256 | 0e9394eb3e6c9e4138f45caba386dccc8443b55dd910c96adae30881571f924a |
File details
Details for the file aws_marketplace_ubuntu_scraper-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: aws_marketplace_ubuntu_scraper-0.0.8-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 843f614b69a7f9e7591976f68a199510271c1f816061a567efc5f51e69a6dfd7 |
|
MD5 | 09e9bddb52b9eecbc5bc167bd70ccfca |
|
BLAKE2b-256 | 7abe2531e877b5ca698ba16745f1b1133837596d82ddb6a316927b403f7ad55f |