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.
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
- Clone the repository:
git clone https://github.com/ditikrushna/cloud-regions-info.git
cd cloud-regions-info
- Install Poetry (if not already installed):
curl -sSL https://install.python-poetry.org | python3 -
- Install dependencies:
poetry install
- Run tests:
poetry run pytest
Contributing
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a new branch (
git checkout -b feature/amazing-feature) - Make your changes
- Run the tests (
poetry run pytest) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - 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:
- Check the Issues page
- 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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
517d90b2c787963f866c3d34caff58cc44ee96be57ca98c21b4cddc68db1c230
|
|
| MD5 |
c867250445c39079ce476b131f994139
|
|
| BLAKE2b-256 |
31925c73ce8566b519f6ead220364725190e2a1e9bd1c3199beb4d3f6eba8d61
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c21854e991214946dc17e0858b32244daa84cc1697d9eb647df89d2ced2c00c
|
|
| MD5 |
94f3d33dc967da6b26c2748d33460577
|
|
| BLAKE2b-256 |
f5737b7c2aab081796ecdef2c44514450f33239b5ba4e4c6f9deb8f392455912
|