<commit_before>===============================
Iconframer
===============================

.. image:: https://badge.fury.io/py/iconframer.png
    :target: http://badge.fury.io/py/iconframer


Generate framed, labeled SVG icons.

Features
--------

* Frame SVG icons using a template and apply a label (localized via gettext)
* Optionally, convert to PNG (requires pycairo/cairocffi & python-rsvg)
* Optionally, inverse the icon (assumes icon is black & white only)


How to use
-----------

Create SVG file with one layer per icon. Create another SVG to use as the frame template.
Then configure the settings (see config example at docs/iconframer.yaml) and run the
'iconframer' command line to generate icons:

::
  Usage:

   iconframer (svg | pdf | png) <language> ... [--config=<file>] [--size=<size>] [--nolabel] [--inverse] [--translations=<path>]
   iconframer -h | --help
   iconframer --version

  Options:

   -i --inverse                     Inverse the icon colors
   -n --nolabel                     Do not generate labeling
   -t <path> --translations=<path>  Specify path of i18n file (locale) structure, by default 'i18n'
   -s <size> --size=<size>          Specify the diameter of the frame for PNG/PDF [default: 64]
   -c <file> --config=<file>        Override config file [default: iconframer.yaml]
   -h --help                        Show this screen.
   -v --version                     Show version.


Similar software
-----------------

* svglue
* pyconizr<commit_msg>fix formatting<commit_after>===============================
Iconframer
===============================

.. image:: https://badge.fury.io/py/iconframer.png
    :target: http://badge.fury.io/py/iconframer


Generate framed, labeled SVG icons.

Features
--------

* Frame SVG icons using a template and apply a label (localized via gettext)
* Optionally, convert to PNG (requires pycairo/cairocffi & python-rsvg)
* Optionally, inverse the icon (assumes icon is black & white only)


How to use
-----------

Create SVG file with one layer per icon. Create another SVG to use as the frame template.
Then configure the settings (see config example at docs/iconframer.yaml) and run the
'iconframer' command line to generate icons::

    Usage:

     iconframer (svg | pdf | png) <language> ... [--config=<file>] [--size=<size>] [--nolabel] [--inverse] [--translations=<path>]
     iconframer -h | --help
     iconframer --version

    Options:

     -i --inverse                     Inverse the icon colors
     -n --nolabel                     Do not generate labeling
     -t <path> --translations=<path>  Specify path of i18n file (locale) structure, by default 'i18n'
     -s <size> --size=<size>          Specify the diameter of the frame for PNG/PDF [default: 64]
     -c <file> --config=<file>        Override config file [default: iconframer.yaml]
     -h --help                        Show this screen.
     -v --version                     Show version.


Similar software
-----------------

* svglue
* pyconizr
{'fraction_non_alphanumeric': 0.1653910149750416, 'fraction_numerical': 0.003993344425956739, 'mean_word_length': 2.427594070695553, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 2, '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': '7672979', 'n_tokens_mistral': 935, 'n_tokens_neox': 858, 'n_words': 312}