lintc 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lintc-0.1.0.dist-info/METADATA +86 -0
- lintc-0.1.0.dist-info/RECORD +7 -0
- lintc-0.1.0.dist-info/WHEEL +5 -0
- lintc-0.1.0.dist-info/entry_points.txt +2 -0
- lintc-0.1.0.dist-info/licenses/LICENSE +21 -0
- lintc-0.1.0.dist-info/top_level.txt +1 -0
- lintc.py +2576 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: lintc
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Zero-dependency Python static-site generator. Hugo-conceptual: base layout + partials + Markdown content + YAML data + shortcodes. One file, stdlib only.
|
|
5
|
+
Author-email: Alexis Charytonow <me@lintuxt.ai>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/lintuxt/lintc
|
|
8
|
+
Project-URL: Issues, https://github.com/lintuxt/lintc/issues
|
|
9
|
+
Project-URL: Changelog, https://github.com/lintuxt/lintc/blob/main/docs/changelog.md
|
|
10
|
+
Keywords: static-site-generator,ssg,stdlib,zero-dependency
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Topic :: Text Processing :: Markup :: HTML
|
|
18
|
+
Requires-Python: >=3.9
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
Dynamic: license-file
|
|
22
|
+
|
|
23
|
+
# lintc
|
|
24
|
+
|
|
25
|
+
Zero-dependency Python static-site generator. Hugo-conceptual:
|
|
26
|
+
base layout + partials + Markdown content + YAML data + shortcodes.
|
|
27
|
+
One file, stdlib only.
|
|
28
|
+
|
|
29
|
+
[](https://pypi.org/project/lintc/)
|
|
30
|
+
[](https://github.com/lintuxt/lintc/actions/workflows/test.yml)
|
|
31
|
+
[](https://opensource.org/licenses/MIT)
|
|
32
|
+
|
|
33
|
+
## Install
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
uv tool install lintc # recommended — isolated, no env needed
|
|
37
|
+
pipx install lintc # equivalent if you prefer pipx
|
|
38
|
+
pip install --user lintc # also fine
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Requires Python 3.9 or newer. No other dependencies.
|
|
42
|
+
|
|
43
|
+
## Quickstart
|
|
44
|
+
|
|
45
|
+
Scaffold a site:
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
src/
|
|
49
|
+
├── content/
|
|
50
|
+
│ ├── pages/home.yaml # structured pages
|
|
51
|
+
│ ├── blog/*.md # Markdown posts with YAML front matter
|
|
52
|
+
│ └── products/*.yaml
|
|
53
|
+
├── layouts/
|
|
54
|
+
│ ├── _base.html # the master layout
|
|
55
|
+
│ ├── home.html # page layouts
|
|
56
|
+
│ └── partials/ # shared chrome (head, header, footer, components)
|
|
57
|
+
├── data/ # site-wide data (site.yaml, nav.yaml, etc.)
|
|
58
|
+
└── static/ # copied verbatim into dist/
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Build it:
|
|
62
|
+
|
|
63
|
+
```sh
|
|
64
|
+
lintc build # emits dist/
|
|
65
|
+
lintc serve # dev server with live reload at http://127.0.0.1:8000/
|
|
66
|
+
lintc check # post-emit validations + GitHub-repo parity
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## CLI
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
lintc build [--include-drafts]
|
|
73
|
+
lintc serve [--port N] [--host H] [--no-reload] [--include-drafts]
|
|
74
|
+
lintc check
|
|
75
|
+
lintc --version
|
|
76
|
+
lintc --help
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Documentation
|
|
80
|
+
|
|
81
|
+
Full docs: [`docs/index.md`](docs/index.md).
|
|
82
|
+
Changelog: [`docs/changelog.md`](docs/changelog.md).
|
|
83
|
+
|
|
84
|
+
## License
|
|
85
|
+
|
|
86
|
+
MIT — see [`LICENSE`](LICENSE).
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
lintc.py,sha256=7tuMlACCcOwanDD9p4NCvooH-mzz4cFPKveLyXARu9o,88260
|
|
2
|
+
lintc-0.1.0.dist-info/licenses/LICENSE,sha256=P4mPX2L6MzkNhE53JNZgBDafaHPrWxlEKBdskSd-zPo,1074
|
|
3
|
+
lintc-0.1.0.dist-info/METADATA,sha256=Ga-jkRj2EaUQJ37WQbX45UcxHORUhLi09mYUwpFnWok,2843
|
|
4
|
+
lintc-0.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
5
|
+
lintc-0.1.0.dist-info/entry_points.txt,sha256=XXDXHFzkcjQ3miNuZ84H0dxs_wk8MFjGSXLOhxg6OOw,36
|
|
6
|
+
lintc-0.1.0.dist-info/top_level.txt,sha256=izXjMlOIUIZBRtuo3cqOssn8o28bHsALrHb9ccDqci8,6
|
|
7
|
+
lintc-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Alexis Charytonow
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
lintc
|