A declarative .seed to HTML renderer
Project description
Seed
Seed is a Python framework that compiles .seed files into static HTML.
It includes:
- A lexer/parser/renderer pipeline for
.seed - YAML +
.designcomponent system - Layouts and includes
- CLI commands for init, dev server, and build
Install
python -m pip install seed
CLI
seed init my-site
seed dev my-site
seed build my-site
Python API
from seed import Seed
engine = Seed()
html = engine.render_string("@h1\n Hello", full_page=True)
Development
python -m pip install -e ".[dev]"
python -m pytest tests -v
License
MIT. 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
seed_html-0.1.5.tar.gz
(59.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
seed_html-0.1.5-py3-none-any.whl
(56.6 kB
view details)
File details
Details for the file seed_html-0.1.5.tar.gz.
File metadata
- Download URL: seed_html-0.1.5.tar.gz
- Upload date:
- Size: 59.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4d8fd7c5387cea1ffad9000701912b301386ad55a723e78e9e779f76406e14e
|
|
| MD5 |
dbf941e4e2bb858cddc233aa8971bd33
|
|
| BLAKE2b-256 |
371055b839b6db057c438ffb4a75e47624c8214e637231681209e81e1962e96a
|
File details
Details for the file seed_html-0.1.5-py3-none-any.whl.
File metadata
- Download URL: seed_html-0.1.5-py3-none-any.whl
- Upload date:
- Size: 56.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d953cd2136ca61f5cb13ff61ca1b870f44e6275e3e696343c8e2f89a11de162b
|
|
| MD5 |
868674c2bf552b57127f27cd856a6cb1
|
|
| BLAKE2b-256 |
583fdbea83cb27301113d074832c97968e2e4470ef8ed5128ac0fd0919d8431b
|