<commit_before>Compose dynamic templates and markup into a static website.

Used to generate `shazow.net <http://shazow.net>`_.

Usage
=====

Install
-------

::

    $ pip install https://github.com/shazow/composer/tarball/master
    $ pip install mako markdown2 # If you're using the built-in filters (optional)

Auto-reloading server
---------------------

Great for live preview and debugging. ::

    $ composer serve examples/simple_mako/index.json
    $ open http://localhost:8080/foo

Static build
------------

::

    $ composer build examples/simple_mako/index.json<commit_msg>Added link to shazow.net source.<commit_after>Compose dynamic templates and markup into a static website.

Used to generate `shazow.net <http://shazow.net>`_ (`source repo <https://github.com/shazow/shazow.net>`_).

Usage
=====

Install
-------

::

    $ pip install https://github.com/shazow/composer/tarball/master
    $ pip install mako markdown2 # If you're using the built-in filters (optional)

Auto-reloading server
---------------------

Great for live preview and debugging. ::

    $ composer serve examples/simple_mako/index.json
    $ open http://localhost:8080/foo

Static build
------------

::

    $ composer build examples/simple_mako/index.json
{'fraction_non_alphanumeric': 0.16546762589928057, 'fraction_numerical': 0.007993605115907274, 'mean_word_length': 2.817073170731707, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1289739', 'n_tokens_mistral': 389, 'n_tokens_neox': 364, 'n_words': 102}