wolfsoftware.list-availability-zones


Namewolfsoftware.list-availability-zones JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/DevelopersToolbox/template-package-cli
SummaryGenerate a table of the availability zones your account is using.
upload_time2024-07-01 08:40:25
maintainerNone
docs_urlNone
authorWolf Software
requires_python>=3.9
licenseNone
keywords
VCS
bugtrack_url
requirements wolfsoftware.notify
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- markdownlint-disable -->
<p align="center">
    <a href="https://github.com/AWSToolbox/">
        <img src="https://cdn.wolfsoftware.com/assets/images/github/organisations/awstoolbox/black-and-white-circle-256.png" alt="AWSToolbox logo" />
    </a>
    <br />
    <a href="https://github.com/AWSToolbox/list-availability-zones/actions/workflows/cicd.yml">
        <img src="https://img.shields.io/github/actions/workflow/status/AWSToolbox/list-availability-zones/cicd.yml?branch=master&label=build%20status&style=for-the-badge" alt="Github Build Status" />
    </a>
    <a href="https://github.com/AWSToolbox/list-availability-zones/blob/master/LICENSE.md">
        <img src="https://img.shields.io/github/license/AWSToolbox/list-availability-zones?color=blue&label=License&style=for-the-badge" alt="License">
    </a>
    <a href="https://github.com/AWSToolbox/list-availability-zones">
        <img src="https://img.shields.io/github/created-at/AWSToolbox/list-availability-zones?color=blue&label=Created&style=for-the-badge" alt="Created">
    </a>
    <br />
    <a href="https://github.com/AWSToolbox/list-availability-zones/releases/latest">
        <img src="https://img.shields.io/github/v/release/AWSToolbox/list-availability-zones?color=blue&label=Latest%20Release&style=for-the-badge" alt="Release">
    </a>
    <a href="https://github.com/AWSToolbox/list-availability-zones/releases/latest">
        <img src="https://img.shields.io/github/release-date/AWSToolbox/list-availability-zones?color=blue&label=Released&style=for-the-badge" alt="Released">
    </a>
    <a href="https://github.com/AWSToolbox/list-availability-zones/releases/latest">
        <img src="https://img.shields.io/github/commits-since/AWSToolbox/list-availability-zones/latest.svg?color=blue&style=for-the-badge" alt="Commits since release">
    </a>
    <br />
    <a href="https://github.com/AWSToolbox/list-availability-zones/blob/master/.github/CODE_OF_CONDUCT.md">
        <img src="https://img.shields.io/badge/Code%20of%20Conduct-blue?style=for-the-badge" />
    </a>
    <a href="https://github.com/AWSToolbox/list-availability-zones/blob/master/.github/CONTRIBUTING.md">
        <img src="https://img.shields.io/badge/Contributing-blue?style=for-the-badge" />
    </a>
    <a href="https://github.com/AWSToolbox/list-availability-zones/blob/master/.github/SECURITY.md">
        <img src="https://img.shields.io/badge/Report%20Security%20Concern-blue?style=for-the-badge" />
    </a>
    <a href="https://github.com/AWSToolbox/list-availability-zones/issues">
        <img src="https://img.shields.io/badge/Get%20Support-blue?style=for-the-badge" />
    </a>
</p>

## Overview

This Python package allows you to list all availability zones configured for a given AWS account. It is part of our larger
[AWS Toolkit](https://github.com/AWSToolbox).

### Installation

To install the package, use:

```sh
pip install wolfsoftware.list-availability-zones
```

### Usage

To list all availability zones for your AWS account, use the following command:

```sh
usage: list-availability-zones [-h] [-V] [-p PROFILE] [-t THREADS]

List all availability zones configured for an account.

Flags:
  -h, --help            Show this help message and exit
  -V, --version         Show program's version number and exit.

Optional arguments:
  -p PROFILE, --profile PROFILE
                        AWS profile name from ~/.aws/credentials (default: None)
  -t THREADS, --threads THREADS
                        The number of threads to use (default: 8)
```

### Requirements

You will need a valid set of AWS credentials to run this command. These credentials should be configured in your `~/.aws/credentials` file.

### Example Output

Below is an example of the output you can expect from running this command:

```
+----------------+---------------------------+--------------------+-------+
|  Region Name   |          Location         | Availability Zones | Count |
+----------------+---------------------------+--------------------+-------+
|   af-south-1   |     Africa (Cape Town)    |                    |       |
|   ap-east-1    |  Asia Pacific (Hong Kong) |                    |       |
| ap-northeast-1 |    Asia Pacific (Tokyo)   |      a, c, d       |   3   |
| ap-northeast-2 |    Asia Pacific (Seoul)   |     a, b, c, d     |   4   |
|   ap-south-1   |   Asia Pacific (Mumbai)   |      a, b, c       |   3   |
| ap-southeast-1 |  Asia Pacific (Singapore) |      a, b, c       |   3   |
| ap-southeast-2 |   Asia Pacific (Sydney)   |      a, b, c       |   3   |
|  ca-central-1  |      Canada (Central)     |      a, b, d       |   3   |
|  eu-central-1  |     Europe (Frankfurt)    |      a, b, c       |   3   |
|   eu-north-1   |     Europe (Stockholm)    |      a, b, c       |   3   |
|   eu-south-1   |       Europe (Milan)      |                    |       |
|   eu-west-1    |      Europe (Ireland)     |      a, b, c       |   3   |
|   eu-west-2    |      Europe (London)      |      a, b, c       |   3   |
|   eu-west-3    |       Europe (Paris)      |      a, b, c       |   3   |
|   me-south-1   |   Middle East (Bahrain)   |                    |       |
|   sa-east-1    | South America (Sao Paulo) |      a, b, c       |   3   |
|   us-east-1    |  US East (North Virginia) |  a, b, c, d, e, f  |   6   |
|   us-east-2    |       US East (Ohio)      |      a, b, c       |   3   |
|   us-west-1    |   US West (California)    |        a, c        |   2   |
|   us-west-2    |      US West (Oregon)     |     a, b, c, d     |   4   |
+----------------+---------------------------+--------------------+-------+
```

> Note: If a cell is empty, it means you are not opted into that region and therefore the information cannot be queried.

### Additional Information

For more tools and utilities, check out our [AWS Toolkit](https://github.com/AWSToolbox).

<br />
<p align="right"><a href="https://wolfsoftware.com/"><img src="https://img.shields.io/badge/Created%20by%20Wolf%20on%20behalf%20of%20Wolf%20Software-blue?style=for-the-badge" /></a></p>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DevelopersToolbox/template-package-cli",
    "name": "wolfsoftware.list-availability-zones",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Wolf Software",
    "author_email": "pypi@wolfsoftware.com",
    "download_url": "https://files.pythonhosted.org/packages/f3/19/843ad513fae29a5214aa9e443e5351edd8e71c372ac029815d2131198020/wolfsoftware_list_availability_zones-0.1.2.tar.gz",
    "platform": null,
    "description": "<!-- markdownlint-disable -->\n<p align=\"center\">\n    <a href=\"https://github.com/AWSToolbox/\">\n        <img src=\"https://cdn.wolfsoftware.com/assets/images/github/organisations/awstoolbox/black-and-white-circle-256.png\" alt=\"AWSToolbox logo\" />\n    </a>\n    <br />\n    <a href=\"https://github.com/AWSToolbox/list-availability-zones/actions/workflows/cicd.yml\">\n        <img src=\"https://img.shields.io/github/actions/workflow/status/AWSToolbox/list-availability-zones/cicd.yml?branch=master&label=build%20status&style=for-the-badge\" alt=\"Github Build Status\" />\n    </a>\n    <a href=\"https://github.com/AWSToolbox/list-availability-zones/blob/master/LICENSE.md\">\n        <img src=\"https://img.shields.io/github/license/AWSToolbox/list-availability-zones?color=blue&label=License&style=for-the-badge\" alt=\"License\">\n    </a>\n    <a href=\"https://github.com/AWSToolbox/list-availability-zones\">\n        <img src=\"https://img.shields.io/github/created-at/AWSToolbox/list-availability-zones?color=blue&label=Created&style=for-the-badge\" alt=\"Created\">\n    </a>\n    <br />\n    <a href=\"https://github.com/AWSToolbox/list-availability-zones/releases/latest\">\n        <img src=\"https://img.shields.io/github/v/release/AWSToolbox/list-availability-zones?color=blue&label=Latest%20Release&style=for-the-badge\" alt=\"Release\">\n    </a>\n    <a href=\"https://github.com/AWSToolbox/list-availability-zones/releases/latest\">\n        <img src=\"https://img.shields.io/github/release-date/AWSToolbox/list-availability-zones?color=blue&label=Released&style=for-the-badge\" alt=\"Released\">\n    </a>\n    <a href=\"https://github.com/AWSToolbox/list-availability-zones/releases/latest\">\n        <img src=\"https://img.shields.io/github/commits-since/AWSToolbox/list-availability-zones/latest.svg?color=blue&style=for-the-badge\" alt=\"Commits since release\">\n    </a>\n    <br />\n    <a href=\"https://github.com/AWSToolbox/list-availability-zones/blob/master/.github/CODE_OF_CONDUCT.md\">\n        <img src=\"https://img.shields.io/badge/Code%20of%20Conduct-blue?style=for-the-badge\" />\n    </a>\n    <a href=\"https://github.com/AWSToolbox/list-availability-zones/blob/master/.github/CONTRIBUTING.md\">\n        <img src=\"https://img.shields.io/badge/Contributing-blue?style=for-the-badge\" />\n    </a>\n    <a href=\"https://github.com/AWSToolbox/list-availability-zones/blob/master/.github/SECURITY.md\">\n        <img src=\"https://img.shields.io/badge/Report%20Security%20Concern-blue?style=for-the-badge\" />\n    </a>\n    <a href=\"https://github.com/AWSToolbox/list-availability-zones/issues\">\n        <img src=\"https://img.shields.io/badge/Get%20Support-blue?style=for-the-badge\" />\n    </a>\n</p>\n\n## Overview\n\nThis Python package allows you to list all availability zones configured for a given AWS account. It is part of our larger\n[AWS Toolkit](https://github.com/AWSToolbox).\n\n### Installation\n\nTo install the package, use:\n\n```sh\npip install wolfsoftware.list-availability-zones\n```\n\n### Usage\n\nTo list all availability zones for your AWS account, use the following command:\n\n```sh\nusage: list-availability-zones [-h] [-V] [-p PROFILE] [-t THREADS]\n\nList all availability zones configured for an account.\n\nFlags:\n  -h, --help            Show this help message and exit\n  -V, --version         Show program's version number and exit.\n\nOptional arguments:\n  -p PROFILE, --profile PROFILE\n                        AWS profile name from ~/.aws/credentials (default: None)\n  -t THREADS, --threads THREADS\n                        The number of threads to use (default: 8)\n```\n\n### Requirements\n\nYou will need a valid set of AWS credentials to run this command. These credentials should be configured in your `~/.aws/credentials` file.\n\n### Example Output\n\nBelow is an example of the output you can expect from running this command:\n\n```\n+----------------+---------------------------+--------------------+-------+\n|  Region Name   |          Location         | Availability Zones | Count |\n+----------------+---------------------------+--------------------+-------+\n|   af-south-1   |     Africa (Cape Town)    |                    |       |\n|   ap-east-1    |  Asia Pacific (Hong Kong) |                    |       |\n| ap-northeast-1 |    Asia Pacific (Tokyo)   |      a, c, d       |   3   |\n| ap-northeast-2 |    Asia Pacific (Seoul)   |     a, b, c, d     |   4   |\n|   ap-south-1   |   Asia Pacific (Mumbai)   |      a, b, c       |   3   |\n| ap-southeast-1 |  Asia Pacific (Singapore) |      a, b, c       |   3   |\n| ap-southeast-2 |   Asia Pacific (Sydney)   |      a, b, c       |   3   |\n|  ca-central-1  |      Canada (Central)     |      a, b, d       |   3   |\n|  eu-central-1  |     Europe (Frankfurt)    |      a, b, c       |   3   |\n|   eu-north-1   |     Europe (Stockholm)    |      a, b, c       |   3   |\n|   eu-south-1   |       Europe (Milan)      |                    |       |\n|   eu-west-1    |      Europe (Ireland)     |      a, b, c       |   3   |\n|   eu-west-2    |      Europe (London)      |      a, b, c       |   3   |\n|   eu-west-3    |       Europe (Paris)      |      a, b, c       |   3   |\n|   me-south-1   |   Middle East (Bahrain)   |                    |       |\n|   sa-east-1    | South America (Sao Paulo) |      a, b, c       |   3   |\n|   us-east-1    |  US East (North Virginia) |  a, b, c, d, e, f  |   6   |\n|   us-east-2    |       US East (Ohio)      |      a, b, c       |   3   |\n|   us-west-1    |   US West (California)    |        a, c        |   2   |\n|   us-west-2    |      US West (Oregon)     |     a, b, c, d     |   4   |\n+----------------+---------------------------+--------------------+-------+\n```\n\n> Note: If a cell is empty, it means you are not opted into that region and therefore the information cannot be queried.\n\n### Additional Information\n\nFor more tools and utilities, check out our [AWS Toolkit](https://github.com/AWSToolbox).\n\n<br />\n<p align=\"right\"><a href=\"https://wolfsoftware.com/\"><img src=\"https://img.shields.io/badge/Created%20by%20Wolf%20on%20behalf%20of%20Wolf%20Software-blue?style=for-the-badge\" /></a></p>\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Generate a table of the availability zones your account is using.",
    "version": "0.1.2",
    "project_urls": {
        "Documentation": "https://github.com/AWSToolbox/list-availability-zones",
        "Homepage": "https://github.com/DevelopersToolbox/template-package-cli",
        "Source": "https://github.com/AWSToolbox/list-availability-zones",
        "Sponsor": "https://github.com/sponsors/WolfSoftware",
        "Tracker": "https://github.com/AWSToolbox/list-availability-zones/issues/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2ec1d4dd36c883007229e7344fba987ac8baad7d1a819d302f200edba9f89ca1",
                "md5": "dd14f0a236e32683fdbab16c08011ab5",
                "sha256": "5fa000e93419305947d599a2a3954ac10a24d9315d8a5fe089761893252f1603"
            },
            "downloads": -1,
            "filename": "wolfsoftware.list_availability_zones-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dd14f0a236e32683fdbab16c08011ab5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 12340,
            "upload_time": "2024-07-01T08:40:23",
            "upload_time_iso_8601": "2024-07-01T08:40:23.846940Z",
            "url": "https://files.pythonhosted.org/packages/2e/c1/d4dd36c883007229e7344fba987ac8baad7d1a819d302f200edba9f89ca1/wolfsoftware.list_availability_zones-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f319843ad513fae29a5214aa9e443e5351edd8e71c372ac029815d2131198020",
                "md5": "10caaeb5274e8ddb9631a0cdf862e7bd",
                "sha256": "a51a88a0b19e111c7385f2b3c20aff5870eac4efa7887b85548eeab2420ec4d1"
            },
            "downloads": -1,
            "filename": "wolfsoftware_list_availability_zones-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "10caaeb5274e8ddb9631a0cdf862e7bd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 11698,
            "upload_time": "2024-07-01T08:40:25",
            "upload_time_iso_8601": "2024-07-01T08:40:25.197346Z",
            "url": "https://files.pythonhosted.org/packages/f3/19/843ad513fae29a5214aa9e443e5351edd8e71c372ac029815d2131198020/wolfsoftware_list_availability_zones-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-01 08:40:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DevelopersToolbox",
    "github_project": "template-package-cli",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "wolfsoftware.notify",
            "specs": [
                [
                    "==",
                    "0.1.2"
                ]
            ]
        }
    ],
    "lcname": "wolfsoftware.list-availability-zones"
}
        
Elapsed time: 2.59222s