![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
This package provides a very simple API for retrieving the most up-to-date region list. The region info is pulled from the botocore Github project so this requires a network connection. The advantage to using botocore directly is that the region list is not reliant on the botocore version which is installed. This can be an issue if you are using system packages for example, which may get updates very infrequently and thus may be missing new regions.
pip install aws-regions
There are two main functions in aws-regions. The first function will provide a list of regions based on the AWS partition. By default this is this public AWS partition:
from aws_regions.endpoints import get_regions
# Defaults to "aws" partition
regions = get_regions()
# "aws-cn" partition
cn_region = get_regions(partition='aws-cn')
The second function will return a list of all regions from all three partitions:
from aws_regions.endpoints import get_all_regions
all_regions = get_all_regions() # From aws, aws-cn and aws-us-gov
Please submit issues and requests to Github.
Contributions to aws-regions are welcome and encouraged. See CONTRIBUTING for info on getting started.
Copyright (c) 2021 SUSE LLC.
Distributed under the terms of MIT license, see LICENSE for details.
FAQs
Provides functions to get up-to-date AWS regions lists.
We found that aws-regions demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.