Skip to main content

A KISS Plugin Based Static Site Generator

Project description

Budg

A KISS Plugin Based Static Site Generator

Budg is 1.0! Budg is done and no further improvements will be made to the project. In the case of a security vulnerability, please read SECURITY.md.

Extend Budg

Budg is very barebones on its own, the source code is only ~500 LOC with one dependency (dacite), and also one built-in plugin (copier.py).

Users are able to add plugins of their own without changing budg's source code (see the example budgie) but there's still room for improvement:

  • Add a new config format (see decoders.py)
  • Better error messages, maybe colored?
  • More built-in plugins

All of that requires modifying Budg's source code so please fork Budg, extend it, patch what you don't like about it and never think about it, the license is 0BSD!

Development Mode

Create a virtual environment and use pip's -e/--editable flag to install budg with the necessary dependencies for development.

> git clone git@github.com:faresbakhit/budg.git
> python -m venv .venv
# check venv's docs for instructions on how to
# activate the environment in your shell
(.venv) > pip install -e .[dev]

Installation

Budg requires Python 3.8 or later, install with pip:

> python3 -m pip install budg
> budg --help
Usage: budg [OPTIONS]

  A KISS Plugin Based Static Site Generator

Options:
  --config [PATH]  Get configurations from a file or a python-funcion path.
                   [default: ./config.toml]
  --config-format  Format for configurations file.  [default: toml]
  --version        Show the version and exit.
  --help           Show this message and exit.

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

budg-1.0.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

budg-1.0.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file budg-1.0.0.tar.gz.

File metadata

  • Download URL: budg-1.0.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for budg-1.0.0.tar.gz
Algorithm Hash digest
SHA256 04891afcd7b86cdbcfe5b040be2b801e339b521b9e1118a519819bd87e6e1fbd
MD5 1150d4cb180d30dfee6702506a8fc9e0
BLAKE2b-256 e361c1504d3614eba05ed9d644e6ece75a080a3c9fc0ec0b3465c422a90dc8af

See more details on using hashes here.

File details

Details for the file budg-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: budg-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for budg-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42acc0e4f377ed2be491b884d2ee732070c71b741fd095a5f8d956c657006b79
MD5 2b927c85318703ac841aa7f745e5e487
BLAKE2b-256 f20ef63eef6522f1ddaa5be945ac14a8cc436df97a6febe2bd6848c67d7ab816

See more details on using hashes here.

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