Find the closest/best AWS region from your code bassed on latency
Project description
py-find-aws-region
Python package to choose the best AWS region based on latency.
Basic Usage
from find_aws_regions import get_regions_by_latency
results = get_regions_by_latency()
print(results)
get_regions_by_latency() will return a list of dictionaries with the following keys:
region_name: The AWS region code (e.g.us-east-1)latency: The latency in milliseconds (e.g.47.345)
Limit the tested regions
You can limit the tested regions by passing a list of region codes to get_regions_by_latency():
from find_aws_regions import get_regions_by_latency
results = get_regions_by_latency(['us-east-1', 'us-west-2'])
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 find_aws_regions-0.0.3.tar.gz.
File metadata
- Download URL: find_aws_regions-0.0.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1476f824e0e0ffad81d1d1eae6c4181285b93fb95d0d0266f79fed6db6baab19
|
|
| MD5 |
80ad42b04a60bb1fa39a20ad8031a0f5
|
|
| BLAKE2b-256 |
7cd9c065b2e414ed30b7dad70c41a88c4c646e42f0fca9469197c2a313afe99b
|
File details
Details for the file find_aws_regions-0.0.3-py3-none-any.whl.
File metadata
- Download URL: find_aws_regions-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5df8a677af5a79a6541ce11037fb5ea937a0ad9dabaf5ae8a719d3d9dd7bf84
|
|
| MD5 |
0da40d552b6795f140830cf7d0e702d4
|
|
| BLAKE2b-256 |
7a360131e590718979583f7e08b99050eb042a52cca733d21ce24cd76b9b0bd4
|