html-gen
零依赖 Python CLI 工具:将 Markdown/JSON 注入 HTML 模板,输出自包含单文件 HTML。深色主题,中文优先。
- 站点首页(四型模板展示 + 安装使用): https://html-gen.cli.jaden.tech/
- 模板源码:
layout-table.html(A 型表格) /layout-doc.html(B 型文档) /layout-knowledge.html(C 型知识库) /layout-slide.html(D 型幻灯片) - 生成器:
html-gen.py(仅 Python 3 标准库,零外部依赖) - 主题基座:
style-guide.css(--cobalt-* 深色变量)
本地开发
python3 -m http.server 8089 # 项目根目录起服务
# 访问 http://localhost:8089/ (根落地页)/ http://localhost:8089/demos/ (demo 目录)
快速开始
bash install.sh install # 注册 html-gen 到 ~/.local/bin
html-gen doc -i report.md -o report.html # B 型文档
html-gen table -d data.json -o index.html # A 型表格
html-gen knowledge -d data.json -o kb.html # C 型知识库
html-gen slide -i slides.md -o slides.html # D 型幻灯片
完整使用说明见站点首页与 html-gen help。
Metadata
Release files for html-gen-cli 3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| html_gen_cli-3.2.tar.gz | 126.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| html_gen_cli-3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 222.3 kB
Release files / html_gen_cli-3.2.tar.gz
| Download URL | html_gen_cli-3.2.tar.gz |
|---|---|
| Size | 126.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c66f7d51aabe2f276d459ae19788f275461d85c07f6e75541b339c97d288cb53
|
|
BLAKE2b-256 checksum How to use checksums |
5a024629c4a4e40bc920f1e6b4549e3a58b654cfbd2e323ae6bbb4b08bedaf3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / html_gen_cli-3.2-py3-none-any.whl
| Download URL | html_gen_cli-3.2-py3-none-any.whl |
|---|---|
| Size | 95.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ca5b945b8f968e773ff2214a383ced2d12cbb8f20eacb72539f369a719b76ab
|
|
BLAKE2b-256 checksum How to use checksums |
eaf3efd8671c77b66521ad0d557814222fbdfc020a54f99b7365741655c75f8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for html-gen-cli 3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.