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.
|Filename, Size & Hash SHA256 Hash Help||File Type||Python Version||Upload Date|
(3.1 kB) Copy SHA256 Hash SHA256
|Wheel||py2.py3||May 10, 2016|
(1.9 kB) Copy SHA256 Hash SHA256
|Source||None||May 10, 2016|