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.7.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.7-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bombhtml-0.4.7.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.7.tar.gz
Algorithm Hash digest
SHA256 246908106704cf22d092a7377d3a0f47e6054fd88de4a7ae7b151d4f7f414eeb
MD5 6f8380c9b590467b61eb79f678e6d33c
BLAKE2b-256 c9a714b5c20ce0d9f759aa8e9e795414d90489bf3c073f1b644b47b29df56570

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bombhtml-0.4.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c862d79b3b9c96b868617df90fe6fe80cddda4b5b1a12f83aa1626d74310cce4
MD5 6061aedd0869fa9e0b20c58ea38717cf
BLAKE2b-256 710f3312f66f2571dfdd140108a3ed3bf589a5b20ceb1bc3361a37a4291f9fad

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