https://github.com/waydotnet/urllib_s3
https://github.com/waydotnet/urllib_s3
aws-s3 minio minio-client python s3 s3-bucket urllib
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/waydotnet/urllib_s3
- Owner: WaYdotNET
- License: mit
- Created: 2018-07-31T13:04:17.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-04T08:01:14.000Z (over 1 year ago)
- Last Synced: 2025-04-11T13:16:52.585Z (about 2 months ago)
- Topics: aws-s3, minio, minio-client, python, s3, s3-bucket, urllib
- Language: Python
- Size: 14.6 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# urllib_s3
[](https://pepy.tech/project/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_s3server_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')```