<commit_before># whizkers
pystache based config templater

Based on https://gist.github.com/coleifer/33484bff21c34644dae1<commit_msg>add a bit more detail to the readme<commit_after># whizkers
Pystache based config templater.

# Usage
```
usage: whizkers [-h] [-l] [-t TEMPLATE_DIR] [-d DEST_DIR] [-i IGNORES_FILE]
                [variable_files [variable_files ...]]

A pystache based config templater. Searches for a yaml file with a variable
mapping in ~/.config/whizkers/variables.yaml, a yaml file with an ignore
sequence in (by default) ~/.config/whizkers/ignores.yaml, and uses the
templates in (by default) ~/.config/whizkers/templates/ to render into your
home directory (by default). Additional variable files can be applied by
supplying them as arguments, in order of application. They can either be paths
or, if located in ~/.config/whizkers/variable_sets/, extension-less filenames.

positional arguments:
  variable_files   additional variable files

optional arguments:
  -h, --help       show this help message and exit
  -l               list variable sets.
  -t TEMPLATE_DIR  template directory. Default:
                   /home/echan/.config/whizkers/templates
  -d DEST_DIR      destination directory. Default: /home/echan
  -i IGNORES_FILE  ignores file. Default:
                   /home/echan/.config/whizkers/ignores.yaml
```

# Thanks to
- https://gist.github.com/coleifer/33484bff21c34644dae1
- https://github.com/defunkt/pystache
- http://yaml.org/
{'fraction_non_alphanumeric': 0.0947867298578199, 'fraction_numerical': 0.017603249830737983, 'mean_word_length': 3.347058823529412, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3761668', 'n_tokens_mistral': 478, 'n_tokens_neox': 458, 'n_words': 147}