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.5.tar.gz (19.2 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.5-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bombhtml-0.4.5.tar.gz
Algorithm Hash digest
SHA256 9aa2adb4c684e0f6ed70f938e1fd235f81778e2953bdc4410812b894cac8b703
MD5 8a445c667f8dd6b9518dea4c910ea28d
BLAKE2b-256 9bca0fb41b3e52922fdf21d441f060f756450aca83f6d343714a998e53d803f2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bombhtml-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c3f3463f7c78189984bb7d42faf7aa91df3da2f493dee696b3d091259fa8a36a
MD5 9e7352c62d712f1f4aec2c36d1294fa4
BLAKE2b-256 2b4517aa678a27a1a265f019dfee9560f55f5fcd637d73c0ec142a26794a03bc

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