An Python-based static site generator using Jinja templates.
Project description
Jinjabread
WORK IN PROGRESS
A Python-based static site generator using Jinja templates.
Inspired by staticjinja
and hugo
.
Install
pip install jinjabread
Usage
Create new site project
python -m jinjabread new mysite
Build site project
python -m jinjabread build mysite
Run development server
python -m jinjabread serve mysite
Contributing
Setup
python -m venv venv && \
. venv/bin/activate && \
pip install pip pip-tools --upgrade && \
pip-sync requirements.txt
Test
python -m unittest discover .
Build
python -m build
Release
export TWINE_USERNAME='__token__'
export TWINE_PASSWORD='secret-token'
python -m twine upload dist/*
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
jinjabread-0.6.0a4.tar.gz
(13.1 kB
view details)
Built Distribution
File details
Details for the file jinjabread-0.6.0a4.tar.gz
.
File metadata
- Download URL: jinjabread-0.6.0a4.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb611e46e63acf8f60b38d66efc82e18cc8f31c97f9ea285f2668d4371100117 |
|
MD5 | a66d35f17087dfabfc58f9183adc647a |
|
BLAKE2b-256 | 1b20e6c4e3492ec16d9e77727937a466cf4dc3e0dad91f8ff7e7911019314c9c |
File details
Details for the file jinjabread-0.6.0a4-py3-none-any.whl
.
File metadata
- Download URL: jinjabread-0.6.0a4-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea34fcb1f3075f2a88bba7f069cdf9be7273e396a45ef41f31f5f56a0f44fca7 |
|
MD5 | 14c7c587ca0ab14fa00b89cf140da74d |
|
BLAKE2b-256 | c6b21ce2e7b740e98709813a762e4334a0c2c0a39b7f3fcce8084cc9ea231c74 |