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.1.tar.gz
(35.7 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.1-py3-none-any.whl
(32.1 kB
view details)
File details
Details for the file seed_html-0.1.1.tar.gz.
File metadata
- Download URL: seed_html-0.1.1.tar.gz
- Upload date:
- Size: 35.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d8e9536648731506405f2527e40a342891485396dcb46e939b99997705f2345
|
|
| MD5 |
d80a71c0599ce1d9afbc84aac28bba7b
|
|
| BLAKE2b-256 |
1b2f212cb9f1e8c13b2777b783b22c633847403274062efbeaf1a918fd14a43f
|
File details
Details for the file seed_html-0.1.1-py3-none-any.whl.
File metadata
- Download URL: seed_html-0.1.1-py3-none-any.whl
- Upload date:
- Size: 32.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d7a73cc741292c0e817ecca7156b3422bf4675365faa1af7f849b0e8f522528
|
|
| MD5 |
4d018e8cda57afd3778bbf803f6ea47d
|
|
| BLAKE2b-256 |
9e37ce8de330907186c212c2ba32b4847d1682f810e6cadf1ecebd1503c8e651
|