Skip to main content

simple html/css templating / static site generator system written in python

Project description

<bomb>HTML</bomb>

simple html/css templating / static site generator system written in python

Keep your html DRY! This tool helps to bomb away useless repetitions.

Alpha warning

things may break or will not work properly. Things may break, so consider making a backup of your work the first time trying to use this.

Usage

Install/update

NOTE: you might want to make this in a virtual environment.

$ pip install -U wheel
$ pip install -U bombhtml

Config and Usage

Moved here

Development

This guide assumes you have already a virtual enviroment set up and activated.

You can for example us emailbomb/bombdotemail to test your changes, as the repository uses this build system.

  1. Optional: debug infos in terminal

in the config file set

build.debug_print = True
  1. Build
$ python3 -m build
  1. Load the package
$ pip install --force-reinstall dist/bombhtml-v.v.v-py3-none-any.whl

replace v.v.v with the actual version number. The version number can be found in ./bombhtml/__init__.py

  1. Test pypi only required before upload un actual pypi PLEASE NOTE: make sure only one version is inside the dist directroy
$ python3 -m twine upload --repository testpypi dist/*
  1. Run the tests
$ test test test

not available yet

LICENSE

Double licensed as GPLv3+ and MIT (before version 0.4.0 only as GPLv3+)

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

bombhtml-0.4.6.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bombhtml-0.4.6-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file bombhtml-0.4.6.tar.gz.

File metadata

  • Download URL: bombhtml-0.4.6.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for bombhtml-0.4.6.tar.gz
Algorithm Hash digest
SHA256 1b5e2c0f35a52e2834347cfd8cf0e31a12c258dcaedbc8d3a5a119033493dc79
MD5 6706b264aadac89ee1f1c5b8a720800a
BLAKE2b-256 138a8981cb3130294ac08e3dcc6b5db52fea1ae09f48d473fc68723387804264

See more details on using hashes here.

File details

Details for the file bombhtml-0.4.6-py3-none-any.whl.

File metadata

  • Download URL: bombhtml-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for bombhtml-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f5449e92fc6acaf19513db3bff76c894117a303c21f843cb65b78540897b0df5
MD5 ce6b688efd0348b5e72f45f791a274e9
BLAKE2b-256 f85f50c50e2e8c68bd59552eb5b94c405a3c5405f0893f8674f6dff56095bf07

See more details on using hashes here.

Supported by

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