pyssgen
pyssgen is a lightweight alternative to hugo and other static site generators. I used it to build my static blog and included the templates and css that I use along with it.
Please note that it's only a side project and might not be suitable for bigger websites.
Installation
>>> pip install --user pyssgen
Usage
>>> python3 -m pyssgen <input-dir> <output-dir> (optional: <templates-dir>)
customizing
You can make your own templates and css by adding the following files to your custom templates folder:
base.htmlcommon to all fileshome.htmlmain page templateposts.htmlother pages templates
and adding a styles.css to static/ directory.
Metadata
Release files for pyssgen 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyssgen-1.1.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyssgen-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / pyssgen-1.1.0.tar.gz
| Download URL | pyssgen-1.1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a57d07aaac26cdddd1094088e24d938b1897e9759c24a945bacecce5e9ef934
|
|
BLAKE2b-256 checksum How to use checksums |
7499bc25670d453b7dfda64dad3f2815ea893e885b032af13a1878a2c2ba5bc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Release files / pyssgen-1.1.0-py3-none-any.whl
| Download URL | pyssgen-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac3b2ed13c44519f097acc3d5d635cf2bfaae5f67e12cd79f6febd5439386cf5
|
|
BLAKE2b-256 checksum How to use checksums |
dfa0ed7d7724ee76317fb6fb3f27a25c9c71a68db312a2b7ff6f7bc3e8c2d0e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|