<commit_before>==============
python-twitapi
==============
:Info: Python client library for the Twitter API.
:Author: <NAME> (http://github.com/rlr)

About
=====
Python-twitapi is a python client library for the Twitter API with full support for
OAuth and Basic Authentication. It is based on python-oauth2 and httplib2.

Installation
============
Fill me in...

Dependencies
============
- `httplib2 <http://code.google.com/p/httplib2/>` (``pip install httplib2``)
- `python-oauth2 <http://github.com/simplegeo/python-oauth2>` (``pip install oauth2``)
- `simplejson <http://code.google.com/p/simplejson/>` (``pip install simplejson``)
   not required for python 2.6+

Examples
========
Search::

    >>> from twitapi import Client
    >>> twitter = Client() # search API doesn't require authentication
    >>> resp, content = twitter.search('python')
    >>> if resp['status'] == '200':
    ...     for tweet in content['results']:
    ...         # do something with the tweet
    ...         pass


Post a tweet - Basic Authentication::

    >>> from twitapi import BasicAuth, Client
    >>> auth = BasicAuth('username', 'password')<commit_msg>reST is killing me<commit_after>==============
python-twitapi
==============
:Info: Python client library for the Twitter API.
:Author: <NAME> (http://github.com/rlr)

About
=====
Python-twitapi is a python client library for the Twitter API with full support for
OAuth and Basic Authentication. It is based on python-oauth2 and httplib2.

Installation
============
Fill me in...

Dependencies
============
`httplib2 <http://code.google.com/p/httplib2/>`
``pip install httplib2``

`python-oauth2 <http://github.com/simplegeo/python-oauth2>`
``pip install oauth2``

`simplejson <http://code.google.com/p/simplejson/>`  not required for python 2.6+
``pip install simplejson``

Examples
========
Search::

    >>> from twitapi import Client
    >>> twitter = Client() # search API doesn't require authentication
    >>> resp, content = twitter.search('python')
    >>> if resp['status'] == '200':
    ...     for tweet in content['results']:
    ...         # do something with the tweet
    ...         pass


Post a tweet - Basic Authentication::

    >>> from twitapi import BasicAuth, Client
    >>> auth = BasicAuth('username', 'password')
{'fraction_non_alphanumeric': 0.18567059851463522, 'fraction_numerical': 0.011358671909130624, 'mean_word_length': 3.692622950819672, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 47, 'https://': 0, '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': '6086930', 'n_tokens_mistral': 708, 'n_tokens_neox': 663, 'n_words': 214}