Ssite is not a static site generator. It is a collection of scripts to maintain a static site.
Project description
Ssite
Ssite is not a static site generator. It is a collection of scripts to maintain a static site. All build steps are optional; the source code for a static site that uses Ssite is hostable without any modifications.
Installation
pip install --upgrade ssite
Principles
- Amend, don't generate.
Ssite works directly with the source and never creates separate build directories. The source of your static site is always publishable without ssite.
Usage
ssite index INDEXED_DIR
generates an index file for a collection of
timestamped HTML documents.
ssite clean INPUT_PATH
removes style
, class
, and id
, <span>
and
other messy markup from an HTML document.
Help text is rendered using the argparse library.
ssite --help
displays the list of commands.
ssite COMMAND --help
displays parameters for COMMAND.
Contributing
Contributions welcome. Fork and send a pull request to the GitHub repository.
- Linter:
flake8
- Test harness:
pytest
License
Licensed under Apache License, Version 2.0. See LICENSE.
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
Built Distributions
File details
Details for the file ssite-0.2.0.tar.gz
.
File metadata
- Download URL: ssite-0.2.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dfa9a28cc476802ceba3b78175e87ec8541d6588b1fdc38203ecec453ded454 |
|
MD5 | d6a1d3a6ad6e134ffb094431eae31b6f |
|
BLAKE2b-256 | af907a19dbb2d00c2f7b5bb3908fc9087060043d5cabea24e937695e0c0eb6b2 |
File details
Details for the file ssite-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: ssite-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50e0e9a2882a755405a899b4f8f3be872f760fd4331a9faab9e5eea6ad6f5339 |
|
MD5 | 02aa12be6939b38339c06b56403dbf2e |
|
BLAKE2b-256 | ca70e091ac9fe5828decedfa75c78a852d5f78f0277a15ca69d4e6c5b18fe657 |
File details
Details for the file ssite-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: ssite-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 248c1250af13ca958e9ffcf2d8634ba157d17184ca33b75fe486cbb200ba6e2c |
|
MD5 | 378fb01ce19473db76bbfe6851f8ac4b |
|
BLAKE2b-256 | 8e997f768d3c0a2bd61ff88f27356218fee7fd3f0522d63b56b38365b67b6865 |