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


Release history Release notifications

This version
History Node

0.0.1

Download files

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

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page