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 | RSS feed
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 details)
Built Distribution
File details
Details for the file s3publish-0.0.1.tar.gz
.
File metadata
- Download URL: s3publish-0.0.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c9aa8830a97571de9a46bb8c223f5f40ebc996855edee19d8a578f99e638d38 |
|
MD5 | c11dfcb5424cc06beb47c4a2daab4e33 |
|
BLAKE2b-256 | caeb0212269ff90f4e23b8989785983df831cbc1e6b99f32412f50022518f2f6 |
File details
Details for the file s3publish-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: s3publish-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ba2385bac69af61e007841c2c89715aeb8c51c49250397a3732b9e3b1825322 |
|
MD5 | f3a4241b19a582004ff06e80261b3b6f |
|
BLAKE2b-256 | 9a4fa41ba9f1ac9afb424bb08ae5b5c14d81896838c6403fbc977ae542c92f3d |