Skip to main content

Static website generation tool

Project description

Landspout is a static website generation tool, using Tornado Template. Create your template structure, and your content, and point landspout at it.

Version License

Landspout has three operational modes:

  • Single run build of the site

  • Watch for changes in the source or template directory, rendering on change

  • Run a HTTP server while watching for changes and rendering them

Usage

See the example directory for template and content usage examples.

usage: Static website generation tool

positional arguments:
  {build,watch,serve}   The command to run (default: build)

optional arguments:
  -h, --help            show this help message and exit
  -s SOURCE, --source SOURCE
                        Source content directory (default: content)
  -d DEST, --destination DEST
                        Destination directory for built content (default:
                        build)
  -t TEMPLATE DIR, --templates TEMPLATE DIR
                        Template directory (default: templates)
  -b BASE_URI_PATH, --base-uri-path BASE_URI_PATH
  --whitespace {all,single,oneline}
                        Compress whitespace (default: all)
  -n NAMESPACE, --namespace NAMESPACE
                        Load a JSON file of values to inject into the default
                        rendering namespace. (default: None)
  -i INTERVAL, --interval INTERVAL
                        Interval in seconds between file checks while watching
                        or serving (default: 3)
  --port PORT           The port to listen on when serving (default: 8080)
  --debug               Extra verbose debug logging (default: False)
  -v, --version         output version information, then exit

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

landspout-0.5.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

landspout-0.5.0-py2.py3-none-any.whl (6.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file landspout-0.5.0.tar.gz.

File metadata

  • Download URL: landspout-0.5.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3

File hashes

Hashes for landspout-0.5.0.tar.gz
Algorithm Hash digest
SHA256 80ea8b85802ad718bf7a7c38bbbd3638f732c6ece4333f3d43703315e0cf0b91
MD5 3fbe1027b7402ff827bf43958e385358
BLAKE2b-256 d34c228f1461ef76a26745a027b2d68d36a9a424f209d2adbb241e7d2b1ed9c1

See more details on using hashes here.

File details

Details for the file landspout-0.5.0-py2.py3-none-any.whl.

File metadata

  • Download URL: landspout-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.3

File hashes

Hashes for landspout-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cc0d74d7d80539814bc36d451342ed35f1bd1da532a748382e64ae2a60883779
MD5 b14cc0995a60cf07576be487d06bbf98
BLAKE2b-256 f6f3f5e58a4bd8e7f36b5390bed64c82d799ff1950c9eac7499e7e70ca997912

See more details on using hashes here.

Supported by

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