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|
|s3publish-0.0.1-py2.py3-none-any.whl (3.1 kB) Copy SHA256 hash SHA256||Wheel||py2.py3||May 10, 2016|
|s3publish-0.0.1.tar.gz (1.9 kB) Copy SHA256 hash SHA256||Source||None||May 10, 2016|