<commit_before>seriesly-python-client
======================

Python client for [seriesly](https://github.com/dustin/seriesly) database.


Prerequisites
=============

* Python 2.6
* pip

Dependencies
============

    pip install requests

API overview
============

    from seriesly import Seriesly

    seriesly = Seriesly(host='127.0.0.1', port=3133)

    seriesly.create_db('testdb')

    seriesly.list_dbs()

    seriesly.testdb.append({'key': 'value'})

    seriesly['testdb'].query(params={})

    seriesly.drop_db('testdb')
<commit_msg>add link to API reference<commit_after>seriesly-python-client
======================

Python client for [seriesly](https://github.com/dustin/seriesly) database.


Prerequisites
=============

* Python 2.6
* pip

Dependencies
============

    pip install requests

API overview
============

    from seriesly import Seriesly

    seriesly = Seriesly(host='127.0.0.1', port=3133)

    seriesly.create_db('testdb')

    seriesly.list_dbs()

    seriesly.testdb.append({'key': 'value'})

    seriesly['testdb'].query(params={})

    seriesly.drop_db('testdb')

See [API reference](http://seriesly.readthedocs.org/en/latest/api.html) for details.
{'fraction_non_alphanumeric': 0.21867115222876365, 'fraction_numerical': 0.020185029436501262, 'mean_word_length': 4.433789954337899, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '2155048', 'n_tokens_mistral': 413, 'n_tokens_neox': 369, 'n_words': 67}