<commit_before># -*- coding: utf-8 -*-

"""
DataSift Python Client Library
==============================

This is the official Python library for accessing `DataSift <http://datasift.com/>`_.
See the examples folder for some simple example usage.

All examples and tests use the username and API key in ``config.py``.

DataSift Platform Documentation: http://dev.datasift.com/docs/


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

Install with ``pip``::

    pip install datasift

Install from source::

    git clone git@github.com:datasift/datasift-python.git
    cd datasift-python
    python setup.py install


Requirements
^^^^^^^^^^^^

Supports Python 2.6, 2.7 and 3.3.
Uses ``requests``, ``autobahn``, ``six`` and ``twisted``.

License
-------

All code contained in this repository is Copyright 2012-Present MediaSift Ltd.

This code is released under the BSD license. Please see the LICENSE file for
more details.

"""

__author__ = "<NAME> <<EMAIL>>"
__status__ = "beta"
__version__ = "1.0.0"
__date__ = "1st Nov 2013"

#-----------------------------------------------------------------------------
# Module constants
#-----------------------------------------------------------------------------
USER_AGENT = 'DataSift Python/%s' % __version__
WEBSOCKET_HOST = 'websocket.datasift.com'
API_HOST = 'api.datasift.com/'

from datasift.client import Client
from datasift.config import Config
<commit_msg>bumped internal version to 2.0.0<commit_after># -*- coding: utf-8 -*-

"""
DataSift Python Client Library
==============================

This is the official Python library for accessing `DataSift <http://datasift.com/>`_.
See the examples folder for some simple example usage.

All examples and tests use the username and API key in ``config.py``.

DataSift Platform Documentation: http://dev.datasift.com/docs/


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

Install with ``pip``::

    pip install datasift

Install from source::

    git clone git<EMAIL>:datasift/datasift-python.git
    cd datasift-python
    python setup.py install


Requirements
^^^^^^^^^^^^

Supports Python 2.6, 2.7 and 3.3.
Uses ``requests``, ``autobahn``, ``six`` and ``twisted``.

License
-------

All code contained in this repository is Copyright 2012-Present MediaSift Ltd.

This code is released under the BSD license. Please see the LICENSE file for
more details.

"""

__author__ = "<NAME> <<EMAIL>>"
__status__ = "beta"
__version__ = "2.0.0"
__date__ = "1st Nov 2013"

#-----------------------------------------------------------------------------
# Module constants
#-----------------------------------------------------------------------------
USER_AGENT = 'DataSift Python/%s' % __version__
WEBSOCKET_HOST = 'websocket.datasift.com'
API_HOST = 'api.datasift.com/'

from datasift.client import Client
from datasift.config import Config

{'fraction_non_alphanumeric': 0.2465166130760986, 'fraction_numerical': 0.014648088603072526, 'mean_word_length': 2.45679012345679, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '2183684', 'n_tokens_mistral': 824, 'n_tokens_neox': 762, 'n_words': 264}