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.2.tar.gz
(37.8 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.2-py3-none-any.whl
(34.1 kB
view details)
File details
Details for the file seed_html-0.1.2.tar.gz.
File metadata
- Download URL: seed_html-0.1.2.tar.gz
- Upload date:
- Size: 37.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ef149efc7ba1a01a656a7464c9a02f563fae113c6d5f0732451a523ac6d6887
|
|
| MD5 |
a32afa769767bbd6e8a370f11eb64fcc
|
|
| BLAKE2b-256 |
dde71392891ec3c707cf63087379366cf37e313ba559d23cbd60e60c382bbc0c
|
File details
Details for the file seed_html-0.1.2-py3-none-any.whl.
File metadata
- Download URL: seed_html-0.1.2-py3-none-any.whl
- Upload date:
- Size: 34.1 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 |
484e06112bcd365850457e08bfdd0919b1b9eb2f3e46c3dd48e22f52a0cd0fac
|
|
| MD5 |
575a2d8fd58dad3aa7ff81fc69aece43
|
|
| BLAKE2b-256 |
125f09051863e73c2dbcae3c283d7481984f946b8911dc542a354065a13be793
|