<commit_before>Benolot's cookie API, python version
------------------------------------

.. image:: https://img.shields.io/pypi/v/realcookie.svg?style=flat-square
   :target: https://pypi.python.org/pypi/realcookie
.. image:: https://img.shields.io/pypi/pyversions/realcookie.svg?style=flat-square
   :target: https://pypi.python.org/pypi/realcookie
.. image:: ball1.gif

|
Can also be found here: https://pypi.python.org/pypi/realcookie  

This python package gives you three functions, add, gib, count, and rm, explained below:

add
  The 'add' function takes a cookie image url as argument and saves that image to a database folder.
gib
  The 'gib' function takes no argumens and returns the path to one of the images in the previously mentioned databse folder, randomely picked.
count
  The 'count' function returns the number of images currently in the database folder.
rm
  The 'rm' function deletes the database folder and all the images in it.


To install, simply get to a command line in a computer with python installed, and do::

    pip install realcookie



To use, simply do::

    >>> import realcookie
    >>> a = realcookie.cookie()
    >>> a.add('some cookie image url')
    >>> a.gib()<commit_msg>readme updates and travis test 2<commit_after>Benolot's cookie API, python version
------------------------------------

.. image:: https://img.shields.io/pypi/v/realcookie.svg?style=flat-square
   :target: https://pypi.python.org/pypi/realcookie
.. image:: https://img.shields.io/pypi/pyversions/realcookie.svg?style=flat-square
   :target: https://pypi.python.org/pypi/realcookie
.. image:: ball1.gif

|
This python package gives you three functions, add, gib, count, and rm, explained below:

add
  The 'add' function takes a cookie image url as argument and saves that image to a database folder.
gib
  The 'gib' function takes no argumens and returns the path to one of the images in the previously mentioned databse folder, randomely picked.
count
  The 'count' function returns the number of images currently in the database folder.
rm
  The 'rm' function deletes the database folder and all the images in it.


To install, simply get to a command line in a computer with python installed, and do::

    pip install realcookie



To use, simply do::

    >>> import realcookie
    >>> a = realcookie.cookie()
    >>> a.add('some cookie image url')
    >>> a.gib()
{'fraction_non_alphanumeric': 0.12646566164154105, 'fraction_numerical': 0.001256281407035176, 'mean_word_length': 3.335753176043557, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, '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': '6043051', 'n_tokens_mistral': 710, 'n_tokens_neox': 676, 'n_words': 274}