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
- Enhance; 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.
Metadata
Release files for ssite 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 | Provenance | Actions |
|---|---|---|---|---|
| ssite-0.4.1.tar.gz | 16.6 kB | Without provenance | Details for ssite-0.4.1.tar.gz |
Release files / ssite-0.4.1.tar.gz
| Download URL | ssite-0.4.1.tar.gz |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
996e6c31ab7c4fc54d2257ad662991468eac2047398613698b4b426b09089d1b
|
|
BLAKE2b-256 checksum How to use checksums |
8de06415bc5a0b69962d886fc825c2cff9021c82bff48fdd526f9355b7f4c02b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.5
|
Security for ssite 0.4.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.