<commit_before>curmit
======

[![Build Status](https://travis-ci.org/jacebrowning/curmit.png?branch=master)](https://travis-ci.org/jacebrowning/curmit)
[![Coverage Status](https://coveralls.io/repos/jacebrowning/curmit/badge.png?branch=master)](https://coveralls.io/r/jacebrowning/curmit?branch=master)
[![PyPI Version](https://badge.fury.io/py/curmit.png)](http://badge.fury.io/py/curmit)

Grabs text from a URL and commits it.


Requirements
------------

* Python 3.3: http://www.python.org/download/releases/3.3.3/#download
* git: http://git-scm.com/downloads


Installation
------------

curmit can be installed with ``pip``:

    pip install curmit

Or directly from the source code:

    python setup.py install


Setup
-----

1. Create a new text file
2. Add the following somewhere in the first few lines:

        curmit: https://docs.google.com/document/d/<DocumentID>/pub?embedded=true

    (with a URL of your chosing)



Usage
-----

To update every flagged file with the current URL text, commit, and push:

    curmit

**That's it!**
<commit_msg>Added a link to the sample.<commit_after>curmit
======

[![Build Status](https://travis-ci.org/jacebrowning/curmit.png?branch=master)](https://travis-ci.org/jacebrowning/curmit)
[![Coverage Status](https://coveralls.io/repos/jacebrowning/curmit/badge.png?branch=master)](https://coveralls.io/r/jacebrowning/curmit?branch=master)
[![PyPI Version](https://badge.fury.io/py/curmit.png)](http://badge.fury.io/py/curmit)

Grabs text from a URL and commits it.


Requirements
------------

* Python 3.3: http://www.python.org/download/releases/3.3.3/#download
* git: http://git-scm.com/downloads


Installation
------------

curmit can be installed with ``pip``:

    pip install curmit

Or directly from the source code:

    python setup.py install


Setup
-----

1. Create a new text file
2. Add the following somewhere in the first few lines:

        curmit: https://docs.google.com/document/d/<DocumentID>/pub?embedded=true


For an example, see: [sample.md](https://github.com/jacebrowning/curmit/blob/master/docs/sample.md)



Usage
-----

To update every flagged file with the current URL text, commit, and push:

    curmit

**That's it!**

{'fraction_non_alphanumeric': 0.17180417044424298, 'fraction_numerical': 0.006346328195829556, 'mean_word_length': 3.5225409836065573, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 13, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3154145', 'n_tokens_mistral': 784, 'n_tokens_neox': 741, 'n_words': 168}