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')
```
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.1.tar.gz
(2.9 kB
view details)
File details
Details for the file urllib_s3-0.0.1.tar.gz.
File metadata
- Download URL: urllib_s3-0.0.1.tar.gz
- Upload date:
- Size: 2.9 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
189ada1c9d9f7598533c2b5195fecb871a6254bc7592d5b56c21f907a327c1c5
|
|
| MD5 |
1d9824d11d519e4776b6d49cfcc323bd
|
|
| BLAKE2b-256 |
27cbab1382e532c4547182c92003a2738e59dc55d250dffe65997359d97e61d9
|