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
Metadata
Release files for aws-marketplace-ubuntu-scraper 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aws_marketplace_ubuntu_scraper-0.0.8.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aws_marketplace_ubuntu_scraper-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.9 kB
Release files / aws_marketplace_ubuntu_scraper-0.0.8.tar.gz
| Download URL | aws_marketplace_ubuntu_scraper-0.0.8.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb2a2894453854b36b31edc1a5aa7b502975700a7c09e08c66ec7ae776fc57df
|
|
BLAKE2b-256 checksum How to use checksums |
0e9394eb3e6c9e4138f45caba386dccc8443b55dd910c96adae30881571f924a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / aws_marketplace_ubuntu_scraper-0.0.8-py3-none-any.whl
| Download URL | aws_marketplace_ubuntu_scraper-0.0.8-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
843f614b69a7f9e7591976f68a199510271c1f816061a567efc5f51e69a6dfd7
|
|
BLAKE2b-256 checksum How to use checksums |
7abe2531e877b5ca698ba16745f1b1133837596d82ddb6a316927b403f7ad55f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|