<commit_before>pycli_tools
===========

A python module to help create predictable command line tools


installation
------------

The easiest way is to install using pip:

.. code-block:: bash

   $ pip install pycli_tools

Read the documentation for alternative ways of installing_


usage
-----

To create `myapp` command that reads its default configuration from
`~/.myapprc` do this:

.. code-block:: python

   from pycli_tools import get_argparser

   parser = get_argparser(prog='myapp', default_config='~/.myapprc')
   parser.add_argument('--database')
   parser.add_argument('file')
   args = parser.parse_args()

The file `~/.myapprc` can contain:

.. code-block:: python

   [myapp]
   database = /some/path/to/my/database.sqlite

Read the documentation for more examples_


documentation
-------------

Read the full documentation here_


Copyright (c) 2013 <NAME>.
License: MIT (see LICENSE for details).
<commit_msg>Added links to http://pythonhosted.org/pycli_tools/ documentation.<commit_after>pycli_tools
===========

A python module to help create predictable command line tools


installation
------------

The easiest way is to install using pip:

.. code-block:: bash

   $ pip install pycli_tools

Read the documentation for alternative ways of http://pythonhosted.org/pycli_tools/installation.html


usage
-----

To create `myapp` command that reads its default configuration from
`~/.myapprc` do this:

.. code-block:: python

   from pycli_tools import get_argparser

   parser = get_argparser(prog='myapp', default_config='~/.myapprc')
   parser.add_argument('--database')
   parser.add_argument('file')
   args = parser.parse_args()

The file `~/.myapprc` can contain:

.. code-block:: python

   [myapp]
   database = /some/path/to/my/database.sqlite

Read the documentation for an extensive usage http://pythonhosted.org/pycli_tools/usage.html


documentation
-------------

Read the full documentation here http://pythonhosted.org/pycli_tools/


Copyright (c) 2013 <NAME>.
License: MIT (see LICENSE for details).

{'fraction_non_alphanumeric': 0.13258317025440314, 'fraction_numerical': 0.003913894324853229, 'mean_word_length': 3.595505617977528, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '6733524', 'n_tokens_mistral': 625, 'n_tokens_neox': 589, 'n_words': 191}