Skip to main content

A simple static website generator

Project description

sssimp :snake:

Simple Static Site Inductor Made in Python

How to use

Create a folder called input, inside create a folder called content and an empty file called __init__.py

Running python -m sssimp will generate output using the content folder

Generators

  • HTML files from the content folder will be parsed as Jinja2 templates, they can use templates defined in the input/templates folder
  • CSS files in input/content/css will be merged together in a single file output/bundle.css
  • Markdown files with the suffix .md from the content folder will be parsed to HTML and passed to a template with the same name as their parent folder as the parameter markdown
    Example: ./input/content/post/hello-world.md -> ./output/post/hello-world.html
    Using the template ./input/templates/post.html
    Generated with context {'markdown': 'the markdown file converted to HTML'}

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

sssimp-0.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

sssimp-0.0.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file sssimp-0.0.1.tar.gz.

File metadata

  • Download URL: sssimp-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for sssimp-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b8f75dc823fb67e1ee35bdc4330af174ce726c76f032b952fc21d10527b09e2c
MD5 404fd69bfdb45f013a14591648e61df4
BLAKE2b-256 88f20a601b59c6d02e9237125f4329c3aeee88a585b1f4c673b2e64a520191c9

See more details on using hashes here.

File details

Details for the file sssimp-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sssimp-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for sssimp-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5ed0caf72f2cc8d7059ecf2f28a0a66b86d10235938c4190853f5a185a1bb631
MD5 c7017f95d6623b812d5bba95dd5f0ac2
BLAKE2b-256 9250cf8f47f1e3ea92dccb60eb40a3334a66b4edacd85509b70dfd1cbab1d25e

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