<commit_before>python-docraptor
================

.. image:: https://travis-ci.org/jkeyes/python-docraptor.png?branch=master
    :target: https://travis-ci.org/jkeyes/python-docraptor

.. image:: https://codecov.io/gh/jkeyes/python-docraptor/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/jkeyes/python-docraptor

python-docraptor is an MIT Licensed wrapper for the docraptor API.

Synchronous Example
-------------------

.. code-block:: pycon

    from docraptor import DocRaptor

    docraptor = DocRaptor()<commit_msg>Add link to DocRaptor in the README<commit_after>python-docraptor
================

.. image:: https://travis-ci.org/jkeyes/python-docraptor.png?branch=master
    :target: https://travis-ci.org/jkeyes/python-docraptor

.. image:: https://codecov.io/gh/jkeyes/python-docraptor/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/jkeyes/python-docraptor

python-docraptor is an MIT Licensed wrapper for the `DocRaptor API <https://docraptor.com/>`_.

Synchronous Example
-------------------

.. code-block:: pycon

    from docraptor import DocRaptor

    docraptor = DocRaptor()
{'fraction_non_alphanumeric': 0.18738898756660746, 'fraction_numerical': 0.0, 'mean_word_length': 3.5443548387096775, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 9, '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': '4382843', 'n_tokens_mistral': 391, 'n_tokens_neox': 408, 'n_words': 64}