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.7.tar.gz
.
File metadata
- Download URL: aws_marketplace_ubuntu_scraper-0.0.7.tar.gz
- Upload date:
- Size: 7.2 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 | a524bb6c17b5404592d7a8bf78f8909435e4940f944a187841b23da018833af2 |
|
MD5 | e36232080dad7c5740849290c082fc0d |
|
BLAKE2b-256 | 1c8f6c5d64f77fbf5fd39ec7e4c1de785728e0e23c0a87efee9943c8063081ea |
File details
Details for the file aws_marketplace_ubuntu_scraper-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: aws_marketplace_ubuntu_scraper-0.0.7-py3-none-any.whl
- Upload date:
- Size: 8.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 | baf130e24574ff48be8972cf8f715d4577f113565d772f9734b75bdf3cf9bf91 |
|
MD5 | 61d8258d1ae4b9ef5e13d003ccf9dbf8 |
|
BLAKE2b-256 | 40638db1b09b8e56ede211263d4223e3bee64d3ddeff642fdb7b50c2e6143265 |