Publish a folder of html to AWS S3
S3P is a library for publishing a local folder containing a build of a static website, to S3.
The recommended installation method is pip:
pip install s3p
Create a bucket on S3 through the AWS console, if you don’t have one already and configure it for website hosting.
Publish your build folder to the S3 bucket:
import s3p publisher = s3p.Publisher('mybucket', 'path/to/folder') publisher.publish()
Most of S3P was built off of spenczar’s lektor-s3 library.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|s3publish-0.0.1-py2.py3-none-any.whl (3.1 kB) Copy SHA256 Checksum SHA256||py2.py3||Wheel||May 10, 2016|
|s3publish-0.0.1.tar.gz (1.9 kB) Copy SHA256 Checksum SHA256||–||Source||May 10, 2016|