Flexibly extract information from S3 endpoint URL/URI strings
Project description
s3-endpoint-parse
Flexibly parses S3 URL/URIs, including legacy formats and new fips / dualstack formats.
Returns a dict:
{
"match": bool # True if library matched
"protocol": string # May be empty
"bucket": string # Set if match is True
"key": string # May be empty
"region": string # May be empty
}
See /tests for examples.
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
Built Distribution
Close
Hashes for s3_endpoint_parse-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7434197a50f9b24734e140a63da5edd169ca447af6e81944e74600693bf41f00 |
|
MD5 | 2e352b206f083b667bcae0589a2126ca |
|
BLAKE2b-256 | 09dc6812d43f5d960269cf0a1fa4517eb812afb1b11f868f95e9d48693538ba4 |