Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

urllib_s3

urllib_s3 is a urllib handler for s3 protocol

Usage

install library

pip install urllib_s3
from six.moves.urllib.request import urlopen
import urllib_s3

server_settings = {
    'server-url': {
        'access_key': 'xx',
        'secret_key': 'xxx',
        'secure': True
    }
}

urllib_s3.setup(server_settings)

# now you use s3 protocol
urlopen('s3://server-url/bucket/foo.png')

About

No description or website provided.

Topics

Resources

License

Packages

No packages published

Languages