Zero-dependency Python static-site generator. Base layout + partials + Markdown content + YAML data + shortcodes. One file, stdlib only.
Project description
lintc
Zero-dependency Python static-site generator. Base layout + partials
- Markdown content + YAML data + shortcodes. One file, stdlib only.
Install
uv tool install lintc # recommended — isolated, no env needed
pipx install lintc # equivalent if you prefer pipx
pip install --user lintc # also fine
Requires Python 3.9 or newer. No other dependencies.
Quickstart
Scaffold a site:
src/
├── content/
│ ├── pages/home.yaml # structured pages
│ ├── blog/*.md # Markdown posts with YAML front matter
│ └── products/*.yaml
├── layouts/
│ ├── _base.html # the master layout
│ ├── home.html # page layouts
│ └── partials/ # shared chrome (head, header, footer, components)
├── data/ # site-wide data (site.yaml, nav.yaml, etc.) + optional lintc.yaml
└── static/ # copied verbatim into dist/
Build it:
lintc build # emits dist/
lintc serve # dev server with live reload at http://127.0.0.1:8000/
lintc check # post-emit validations + GitHub-repo parity
CLI
lintc build [--root DIR] [--include-drafts]
lintc serve [--root DIR] [--host HOST] [--port PORT] [--no-reload] [--no-drafts]
lintc check [--root DIR]
lintc --version
lintc --help
build hides drafts by default — use --include-drafts to opt them in. serve shows drafts by default — use --no-drafts to hide them.
lintc check's validators are configurable via src/data/lintc.yaml — see docs/index.md for the schema.
Documentation
Full docs: docs/index.md.
Changelog: docs/changelog.md.
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
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
File details
Details for the file lintc-0.2.1.tar.gz.
File metadata
- Download URL: lintc-0.2.1.tar.gz
- Upload date:
- Size: 42.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
426af7c3707d16e37b08f2834b79cbe6e3ded07a2f9bc438f76f3fe9f6b76711
|
|
| MD5 |
b95bffd98a8c5bc28b2c7e199bad858c
|
|
| BLAKE2b-256 |
84aea8590ef2ec2f688825572d6e52a8cbfcb23a297b62ee87b47620d746edbc
|
Provenance
The following attestation bundles were made for lintc-0.2.1.tar.gz:
Publisher:
release.yml on lintuxt/lintc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lintc-0.2.1.tar.gz -
Subject digest:
426af7c3707d16e37b08f2834b79cbe6e3ded07a2f9bc438f76f3fe9f6b76711 - Sigstore transparency entry: 1629728943
- Sigstore integration time:
-
Permalink:
lintuxt/lintc@b54eebe36020debba7a7076e8482d5c56dc761fc -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/lintuxt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b54eebe36020debba7a7076e8482d5c56dc761fc -
Trigger Event:
push
-
Statement type:
File details
Details for the file lintc-0.2.1-py3-none-any.whl.
File metadata
- Download URL: lintc-0.2.1-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fd30da9339a480d2ce0a9c8efea50b77fb342bf410cf3c9be351a4b8b7f5468
|
|
| MD5 |
794b80020e7b9b7e95b97c19d7770509
|
|
| BLAKE2b-256 |
ed106f070c6fe029a19e4579fb4162eb2a2b6557ed0fadd8b15cc80dfc4173e4
|
Provenance
The following attestation bundles were made for lintc-0.2.1-py3-none-any.whl:
Publisher:
release.yml on lintuxt/lintc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lintc-0.2.1-py3-none-any.whl -
Subject digest:
4fd30da9339a480d2ce0a9c8efea50b77fb342bf410cf3c9be351a4b8b7f5468 - Sigstore transparency entry: 1629728952
- Sigstore integration time:
-
Permalink:
lintuxt/lintc@b54eebe36020debba7a7076e8482d5c56dc761fc -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/lintuxt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b54eebe36020debba7a7076e8482d5c56dc761fc -
Trigger Event:
push
-
Statement type: