Skip to main content

S3 handler for urllib

Project description

# urllib_s3

urllib_s3 is a urllib handler for s3 protocol


## Usage

install library

```bash
pip install urllib_s3

```

```python
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')

```

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

urllib_s3-0.0.2.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file urllib_s3-0.0.2.tar.gz.

File metadata

  • Download URL: urllib_s3-0.0.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.2

File hashes

Hashes for urllib_s3-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9a6fe2370d78567a1b8300280daf47b570ad8b227226f2b4cd2ef5e74fd98232
MD5 7ea22fae30ca35d80a92d10f7b7ffb12
BLAKE2b-256 959e27a56cced42da8d7b2bda111d33dc60bfb1e7333a873295aa81bd21db42e

See more details on using hashes here.

Supported by

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