S3P: Easily Publish Static HTML to S3
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.
Metadata
Release files for s3publish 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| s3publish-0.0.1.tar.gz | 1.9 kB | Without provenance | Details for s3publish-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| s3publish-0.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for s3publish-0.0.1-py2.py3-none-any.whl |
Total release size: 5.0 kB
Release files / s3publish-0.0.1.tar.gz
| Download URL | s3publish-0.0.1.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c9aa8830a97571de9a46bb8c223f5f40ebc996855edee19d8a578f99e638d38
|
|
BLAKE2b-256 checksum How to use checksums |
caeb0212269ff90f4e23b8989785983df831cbc1e6b99f32412f50022518f2f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / s3publish-0.0.1-py2.py3-none-any.whl
| Download URL | s3publish-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9ba2385bac69af61e007841c2c89715aeb8c51c49250397a3732b9e3b1825322
|
|
BLAKE2b-256 checksum How to use checksums |
9a4fa41ba9f1ac9afb424bb08ae5b5c14d81896838c6403fbc977ae542c92f3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for s3publish 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.