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.0.tar.gz
(40.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.0-py3-none-any.whl
(42.3 kB
view details)
File details
Details for the file seed_html-0.1.0.tar.gz.
File metadata
- Download URL: seed_html-0.1.0.tar.gz
- Upload date:
- Size: 40.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 |
4464d19742738c5f3d55090073e8f9201c388dbf7f7cddb5c419e20631e3b6b0
|
|
| MD5 |
35e056f23012aa1acca162c31c329e94
|
|
| BLAKE2b-256 |
301bd9e70e023089d4ebba313243c80afcd91292990f43e9c9aa1e150f92e4fe
|
File details
Details for the file seed_html-0.1.0-py3-none-any.whl.
File metadata
- Download URL: seed_html-0.1.0-py3-none-any.whl
- Upload date:
- Size: 42.3 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 |
1b73161c615bc2aebf3ffa31d78cc281e3f2ede5952249629c43b92b23b2285b
|
|
| MD5 |
9db5c9a2567507b9a236abc9b453702b
|
|
| BLAKE2b-256 |
7e97984fe21a6e71cfbfa12fb093aaeae576f91e57ecf9715dd750cbc7300426
|