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.6.tar.gz
(3.1 kB
view details)
File details
Details for the file urllib_s3-0.0.6.tar.gz.
File metadata
- Download URL: urllib_s3-0.0.6.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b39b1af15c69d72855448bd1fe82a650ccd6e30c8a7f073b006410aa3e0f5bd2
|
|
| MD5 |
a492963fb9d82ee37050ba27db891305
|
|
| BLAKE2b-256 |
cc447141ad061be262ceaf56c2da43e6e2c97cb6e266a47eaa945083e96625ae
|