<commit_before>polyline
========

.. image:: http://img.shields.io/travis/hicsail/polyline.svg?style=flat
    :target: https://travis-ci.org/hicsail/polyline

.. image:: http://img.shields.io/pypi/v/polyline.svg?style=flat
    :target: https://pypi.python.org/pypi/polyline/

.. image:: http://img.shields.io/pypi/dm/polyline.svg?style=flat
    :target: https://pypi.python.org/pypi/polyline/

``polyline`` is a Python implementation of Google's Encoded Polyline Algorithm
Format (http://goo.gl/PvXf8Y). It is essentially a port of
https://github.com/mapbox/polyline built with Python 2 and 3 support in mind.

Installation
============

``polyline`` can be installed using ``pip`` or ``easy_install``::

    $ pip install polyline
    or
    $ easy_install polyline

API Documentation
=================

Encoding<commit_msg>Remove downloads from readme<commit_after>polyline
========

.. image:: http://img.shields.io/travis/hicsail/polyline.svg?style=flat
    :target: https://travis-ci.org/hicsail/polyline

.. image:: http://img.shields.io/pypi/v/polyline.svg?style=flat
    :target: https://pypi.python.org/pypi/polyline/

``polyline`` is a Python implementation of Google's Encoded Polyline Algorithm
Format (http://goo.gl/PvXf8Y). It is essentially a port of
https://github.com/mapbox/polyline built with Python 2 and 3 support in mind.

Installation
============

``polyline`` can be installed using ``pip`` or ``easy_install``::

    $ pip install polyline
    or
    $ easy_install polyline

API Documentation
=================

Encoding
{'fraction_non_alphanumeric': 0.1777634130575307, 'fraction_numerical': 0.003878474466709761, 'mean_word_length': 4.212121212121212, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '699265', 'n_tokens_mistral': 533, 'n_tokens_neox': 505, 'n_words': 116}