py3s3:AWS S3 和 Python 3.3+

时间:2021-07-10 21:18:58
【文件属性】:
文件名称:py3s3:AWS S3 和 Python 3.3+
文件大小:384KB
文件格式:ZIP
更新时间:2021-07-10 21:18:58
JavaScript 更新 这个包的工作已经停止。 开发工作已转移到 openS3。 安装 安装最新的稳定版 py3s3: $ pip install py3s3 要安装最新的开发版本: $ git clone git@github.com:logston/py3s3.git $ cd py3s3 $ python setup.py install 用法 >>> file_name = '/testdir/test.txt' >>> file = S3ContentFile("My file's content", file_name, mimetype='') >>> storage = S3Storage('file/name/prefix', 'my_bucket', AWS_ACCESS_KEY, AWS_SECRET_KEY) >>> storage._save(file_name, file)
【文件预览】:
py3s3-master
----MANIFEST.in(254B)
----README.rst(1KB)
----py3s3()
--------utils.py(1KB)
--------__init__.py(80B)
--------storage.py(14KB)
--------files.py(7KB)
----tests.py(7KB)
----.travis.yml(654B)
----tox.ini(138B)
----LICENSE(1KB)
----setup.py(2KB)
----Makefile(74B)
----docs()
--------make.bat(7KB)
--------conf.py(8KB)
--------__init__.py(1B)
--------index.rst(1KB)
--------Makefile(7KB)
--------_build()
----.gitignore(99B)

网友评论