Skip to main content

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.

Python versions Version License

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

  1. Clone the repository
  2. From the root directory, run: pip install -e .[dev] on Linux or pip 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

staticjinjaplus-1.0.0b1.tar.gz (9.1 kB view hashes)

Uploaded Source

Built Distribution

staticjinjaplus-1.0.0b1-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page