Skip to main content

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 + .design component 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.4.tar.gz (44.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seed_html-0.1.4-py3-none-any.whl (40.6 kB view details)

Uploaded Python 3

File details

Details for the file seed_html-0.1.4.tar.gz.

File metadata

  • Download URL: seed_html-0.1.4.tar.gz
  • Upload date:
  • Size: 44.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for seed_html-0.1.4.tar.gz
Algorithm Hash digest
SHA256 4608b6db9ef9158f917be405f3ecde790a2c45b60eb0e82c97ba29a3cf96c820
MD5 ad5ff37eabcfed560aa39a033153616e
BLAKE2b-256 737a25bb5aa74e508f3bfde927727caa9774c7cbe9034e76a61f5de89a1662d4

See more details on using hashes here.

File details

Details for the file seed_html-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: seed_html-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 40.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for seed_html-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c4a1d8bf52e6f2a2353ac35ff8ebe89c5be9c6afacb938c93c9821b7ee169af4
MD5 feead4b28277badc8ed0657dd73b7d9b
BLAKE2b-256 71d742979441d7705ddff06bb07c5c492a2a9f0984b66d2e944472e5048305b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page