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.7.tar.gz
(61.1 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.7-py3-none-any.whl
(58.6 kB
view details)
File details
Details for the file seed_html-0.1.7.tar.gz.
File metadata
- Download URL: seed_html-0.1.7.tar.gz
- Upload date:
- Size: 61.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c349e7264096cc10fee2bbfe4aff19ed9aded3134c0e6c1d311de8268cb9d35
|
|
| MD5 |
00fd5327c8bdc7dbe7869394e7b4a7ff
|
|
| BLAKE2b-256 |
b9fbd88dd5d8153ac0e69ed8aff365cd52fdfa579c3e99649527e9768cf39953
|
File details
Details for the file seed_html-0.1.7-py3-none-any.whl.
File metadata
- Download URL: seed_html-0.1.7-py3-none-any.whl
- Upload date:
- Size: 58.6 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 |
3ecc5f64e77664b614ea8d16fe8e5eaa59b3114bcd1db7b55ba69228a5af972e
|
|
| MD5 |
b9a9a508d37cca65fa546912c53bc958
|
|
| BLAKE2b-256 |
46d9516878d8453b951b9ab5b3d2dc2eaf002c08e19b471f164372b70fdd26f0
|