Skip to main content

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.

PyPI

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.

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

ssite-0.4.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

ssite-0.4.0-py2.py3-none-any.whl (19.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ssite-0.4.0.tar.gz.

File metadata

  • Download URL: ssite-0.4.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • 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

Hashes for ssite-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e73da95dcb5f80caab62398ec9f3596b00c5a0df26463c33b86aafd989d6c563
MD5 a9b2ae6b280ccd353a9162e00f6a5880
BLAKE2b-256 784da3168c6bf13267839df99f13508adba1da04e547d28b13fb1b946aa619f5

See more details on using hashes here.

File details

Details for the file ssite-0.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: ssite-0.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 19.1 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

Hashes for ssite-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2f3d1835687196cb17338234ee33097aa78b7a37ddffd7adeab7b33ba71813d0
MD5 8d4796bca4f6422b07115d34a378655f
BLAKE2b-256 48371d2cd2cfeedf0024e500346464724d33ad4671ba7a2d1e2ab81605922096

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page