Skip to main content

A Python package for retrieving detailed cloud region information across AWS, Azure, GCP, and other cloud providers.

Project description

Cloud Regions Info

A Python package that provides detailed information about cloud regions across different cloud providers.

PyPI version License: MIT

Features

  • 🌍 Region Information Lookup: Pass any cloud region code and provider name to get detailed geographic information:

    get_region_info(provider="aws", region="eu-north-1")
    
  • 📍 Comprehensive Region Details: For each region, get:

    • Human-readable location name (e.g., "Europe (Stockholm)")
    • Country information with flag emoji (e.g., "Sweden 🇸🇪")
    • Precise geographic coordinates (latitude/longitude)
    • Original region code as used by the provider
  • 🔍 Simple and Intuitive API: Single function call to get all region details

    region_info.location    # "Europe (Stockholm)"
    region_info.country    # "Sweden"
    region_info.flag       # "🇸🇪"
    region_info.latitude   # 59.3293
    region_info.longitude  # 18.0686
    region_info.raw        # "eu-north-1"
    

Installation

Install using pip:

pip install cloud-regions-info

Or with Poetry:

poetry add cloud-regions-info

Usage

from cloud_regions_info import get_region_info

region_info = get_region_info(provider="aws", region="eu-north-1")

# Access region information
print(region_info.location)    # Europe (Stockholm)
print(region_info.flag)        # 🇸🇪
print(region_info.country)     # Sweden
print(region_info.latitude)    # 59.3293
print(region_info.longitude)   # 18.0686
print(region_info.raw)         # eu-north-1

Local Development Setup

  1. Clone the repository:
git clone https://github.com/ditikrushna/cloud-regions-info.git
cd cloud-regions-info
  1. Install Poetry (if not already installed):
curl -sSL https://install.python-poetry.org | python3 -
  1. Install dependencies:
poetry install
  1. Run tests:
poetry run pytest

Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Run the tests (poetry run pytest)
  5. Commit your changes (git commit -m 'Add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

Areas for Contribution

  • Expanding Azure and GCP support
  • Adding more region information
  • Improving documentation
  • Adding new cloud providers
  • Bug fixes and improvements

Data Sources

The region information is sourced from:

  • AWS: Official AWS documentation and APIs

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

If you encounter any issues or have questions, please:

  1. Check the Issues page
  2. Create a new issue if your problem isn't already listed

Project Status

Cloud Providers

Provider Status Implementation
AWS Complete
Azure Complete
GCP Complete
Oracle Cloud Complete
DigitalOcean Complete
IBM Cloud Complete
Alibaba Cloud Complete
Vultr Complete

SaaS Applications

Application Status Implementation
Microsoft 365 🚧 In Progress
- OneDrive Complete
- SharePoint 📅 Planned
- Teams 📅 Planned
Atlassian 📅 Planned
- Jira 📅 Planned
- Confluence 📅 Planned
Salesforce 📅 Planned
ServiceNow 📅 Planned
Workday 📅 Planned

Status Legend:

  • ✅ Complete
  • 🚧 In Progress
  • 📅 Planned
  • ❌ Not Started

Made with ❤️ by Ditikrushna Giri

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

cloud_regions_info-1.0.1.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloud_regions_info-1.0.1-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file cloud_regions_info-1.0.1.tar.gz.

File metadata

  • Download URL: cloud_regions_info-1.0.1.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.12.3 Linux/6.8.0-1021-azure

File hashes

Hashes for cloud_regions_info-1.0.1.tar.gz
Algorithm Hash digest
SHA256 517d90b2c787963f866c3d34caff58cc44ee96be57ca98c21b4cddc68db1c230
MD5 c867250445c39079ce476b131f994139
BLAKE2b-256 31925c73ce8566b519f6ead220364725190e2a1e9bd1c3199beb4d3f6eba8d61

See more details on using hashes here.

File details

Details for the file cloud_regions_info-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: cloud_regions_info-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.12.3 Linux/6.8.0-1021-azure

File hashes

Hashes for cloud_regions_info-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8c21854e991214946dc17e0858b32244daa84cc1697d9eb647df89d2ced2c00c
MD5 94f3d33dc967da6b26c2748d33460577
BLAKE2b-256 f5737b7c2aab081796ecdef2c44514450f33239b5ba4e4c6f9deb8f392455912

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page