Skip to main content

Publish a folder of html to AWS S3

Project description

S3P is a library for publishing a local folder containing a build of a static website, to S3.

Installation

The recommended installation method is pip:

pip install s3p

Quickstart

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()

Acknowledgements

Most of S3P was built off of spenczar’s lektor-s3 library.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

s3publish-0.0.1.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

s3publish-0.0.1-py2.py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page