An opinionated sweet spot between staticjinja and a full-blown static site generator.
Project description
staticjinjaplus
An opinionated sweet spot between staticjinja and a full-blown static site generator.
PyPI - Documentation - Source Code - Issue Tracker - Changelog
Citing staticjinja's documentation, "most static site generators are cumbersome to use". While I fully agree, and while I find staticjinja to be an awesome piece of software, there's still some gaps here and there that needs to be filled in order to be able to generate a static website that will actually be ready for real world usage.
staticjinjaplus try to fill these gaps, while still keeping in line with staticjinja's philosophy: keep it simple, stupid. That's also why "opinionated" is an important keyword in this project's description: choices have been made and there's no way to do using another manner.
Maybe one day, this project will be properly released for public use on PyPI. In the meantime, it's serving me perfectly.
Prerequisites
- Python >= 3.12
Installation
From PyPI:
$ pip install staticjinjaplus
Locally, after cloning/downloading the repo:
$ pip install .
Development
Getting source code and installing the package with dev dependencies
- Clone the repository
- From the root directory, run:
pip install -e .[dev]
on Linux orpip install -e ".[dev]"
on Windows
Releasing the package
From the root directory, run python setup.py upload
. This will build the package, create a git tag and publish on PyPI.
__version__
in staticjinjaplus/__version__.py
must be updated beforehand. It should adhere to Semantic Versioning.
An associated GitHub release must be created following the Keep a Changelog format.
Project details
Release history Release notifications | RSS feed
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
Hashes for staticjinjaplus-1.0.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f21d32a2754056ca31664a5d3a35c606eaaa8c9dd8972f313a8d2897c17f0d97 |
|
MD5 | a8edfaa9f9b6e7ee9323597bb0dc9543 |
|
BLAKE2b-256 | 37d0f2e708883010c3c0c600cf0543d40991734f9100a7d364966558bb89ca51 |