Instantly deploy static HTML sites to S3 at the command line.
I created this out of frustration, after spending a lot of effort trying to find a PyPI package that did this without problems.
Documentation
The full documentation is at http://alotofeffort.rtfd.org.
Quickstart
Install it:
pip install alotofeffort
Configure Boto the standard way in ~/.boto:
[Credentials] aws_access_key_id = ... aws_secret_access_key = ...
Then use it to deploy a static HTML website to an S3 bucket:
$ alotofeffort www/ mybucket
Features
Uses standard Boto configuration.
Prints the S3 endpoint URL after deploying.
Auto-configures the bucket to be a website, with all files public.
Only files that have changed get uploaded. Files are checked for changes by comparing the local and remote MD5 hashes of the files.
Never auto-deletes. In fact, it doesn’t delete files at all! (In the future, it will check if any files need to be deleted from S3, and prompt you before deleting anything.)
History
0.4.0 (2015-09-15)
Upgraded boto to 2.38.0.
Added tox envs for Python 3.3, 3.4, 3.5.
PEP 8 cleanup.
README cleanup.
Improvements to setup.py.
0.3 (2013-07-27)
Only files that have changed get uploaded. Files are checked for changes by comparing the local and remote MD5 hashes of the files.
0.2 (2013-07-17)
It works on Python 2.6 and 2.7.
0.1 (2013-07-14)
First release on PyPI.
Metadata
Release files for alotofeffort 0.4.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 | |
|---|---|---|---|
| alotofeffort-0.4.1.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alotofeffort-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / alotofeffort-0.4.1.tar.gz
| Download URL | alotofeffort-0.4.1.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
617bf8084826a3d2eb3536c665ca2cb2d97d095fe0154dca07055cf8ef0cd0c1
|
|
BLAKE2b-256 checksum How to use checksums |
fb0e219e3b01e848a9114277305ebd3cc9e8cd24a27b0374efb122209b651b0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / alotofeffort-0.4.1-py3-none-any.whl
| Download URL | alotofeffort-0.4.1-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa523551e015976782ae99b80c696c3b28694fc46b0db4f1df833e9b7ee34bd6
|
|
BLAKE2b-256 checksum How to use checksums |
5b43b47413586f2e8ef839816fb1267ab73b1b030f73e2d26f67e7f8a37fe9b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |