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.6.tar.gz
(60.4 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.6-py3-none-any.whl
(57.9 kB
view details)
File details
Details for the file seed_html-0.1.6.tar.gz.
File metadata
- Download URL: seed_html-0.1.6.tar.gz
- Upload date:
- Size: 60.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cf3e1c4f96ad35cd788aa5c53a7109b850b45521e03070daf04f6b92baa9d7e
|
|
| MD5 |
d20096e3f08004b6c25f2f1e8a450f2f
|
|
| BLAKE2b-256 |
6cb833d0819494a2886bffa40b151d77dfecf370f200b607593cbccb34df325b
|
File details
Details for the file seed_html-0.1.6-py3-none-any.whl.
File metadata
- Download URL: seed_html-0.1.6-py3-none-any.whl
- Upload date:
- Size: 57.9 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 |
8ce7e93802972f9b994a956ad0894117ba93926b708a6f2bebd502dfa9d82b9a
|
|
| MD5 |
8d371d1d74464aaf291a199e3dedfa4d
|
|
| BLAKE2b-256 |
b602ab88ce9014dbe24492c1b5febc23848c9fe8f22a4a30715e6f7dab7b741e
|