Skip to main content

Micropackage that changes boto3 to return the standard service endpoints

Project description

awsserviceendpoints

Micropackage that changes boto3 to return the standard service endpoints

This package will replace the legacy AWS endpoints for all services with the modern endpoints. Boto3 (really, botocore) is still using the legacy endpoints for some services (most notably SQS) in order to support Python 2.6/2.7. This is unnecessary for Python 3 (and some Python 2.7) users, and causes problems with other libraries (and VPC endpoints) that have moved to the new service endpoints.

Note that this will only enable the modern endpoints if ssl.HAS_SNI returns True.

To use, simply ensure that this library is imported prior to boto3 being imported.

import awsserviceendpoints
import boto3

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

awsserviceendpoints-0.0.2.tar.gz (19.2 kB view hashes)

Uploaded Source

Built Distribution

awsserviceendpoints-0.0.2-py2.py3-none-any.whl (19.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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