<commit_before>Twython - Easy Twitter utilities in Python
=========================================================================================
I wrote Twython because I found that other Python Twitter libraries weren't that up to date. Certain
things like the Search API, OAuth, etc, don't seem to be fully covered. This is my attempt at
a library that offers more coverage.

This is my first library I've ever written in Python, so there could be some stuff in here that'll
make a seasoned Python vet scratch his head, or possibly call me insane. It's open source, though,
and I'm open to anything that'll improve the library as a whole.

OAuth and Streaming API support is in the works, but every other part of the Twitter API should be covered. Twython
handles both Basic (HTTP) Authentication and OAuth (Older versions (pre 0.9) of Twython need Basic Auth specified -
to override this, specify 'authtype="Basic"' in your twython.setup() call).

Twython has Docstrings if you want function-by-function plays; otherwise, check the Twython Wiki or 
Twitter's API Wiki (Twython calls mirror most of the methods listed there).

Requirements
-----------------------------------------------------------------------------------------------------
Twython (for versions of Python before 2.6) requires a library called
"simplejson". You can grab it at the following link:

> http://pypi.python.org/pypi/simplejson

Installation
-----------------------------------------------------------------------------------------------------
Installing Twython is fairly easy. You can...

> easy_install twython

...or, you can clone the repo and install it the old fashioned way.

> git clone git://github.com/ryanmcgrath/twython.git  
> cd twython  
> sudo python setup.py install  

Example Use
-----------------------------------------------------------------------------------------------------
> import twython
>
> twitter = twython.setup(username="example", password="<PASSWORD>")  
> twitter.updateStatus("See how easy this was?")


Twython 3k
-----------------------------------------------------------------------------------------------------
There's an experimental version of Twython that's made for Python 3k. This is currently not guaranteed<commit_msg>Properly instantiating an instance of twython.core in the README example<commit_after>Twython - Easy Twitter utilities in Python
=========================================================================================
I wrote Twython because I found that other Python Twitter libraries weren't that up to date. Certain
things like the Search API, OAuth, etc, don't seem to be fully covered. This is my attempt at
a library that offers more coverage.

This is my first library I've ever written in Python, so there could be some stuff in here that'll
make a seasoned Python vet scratch his head, or possibly call me insane. It's open source, though,
and I'm open to anything that'll improve the library as a whole.

OAuth and Streaming API support is in the works, but every other part of the Twitter API should be covered. Twython
handles both Basic (HTTP) Authentication and OAuth (Older versions (pre 0.9) of Twython need Basic Auth specified -
to override this, specify 'authtype="Basic"' in your twython.setup() call).

Twython has Docstrings if you want function-by-function plays; otherwise, check the Twython Wiki or 
Twitter's API Wiki (Twython calls mirror most of the methods listed there).

Requirements
-----------------------------------------------------------------------------------------------------
Twython (for versions of Python before 2.6) requires a library called
"simplejson". You can grab it at the following link:

> http://pypi.python.org/pypi/simplejson

Installation
-----------------------------------------------------------------------------------------------------
Installing Twython is fairly easy. You can...

> easy_install twython

...or, you can clone the repo and install it the old fashioned way.

> git clone git://github.com/ryanmcgrath/twython.git  
> cd twython  
> sudo python setup.py install  

Example Use
-----------------------------------------------------------------------------------------------------
> import twython
>
> twitter = twython.core.setup(username="example", password="<PASSWORD>")  
> twitter.updateStatus("See how easy this was?")


Twython 3k
-----------------------------------------------------------------------------------------------------
There's an experimental version of Twython that's made for Python 3k. This is currently not guaranteed
{'fraction_non_alphanumeric': 0.2655293088363955, 'fraction_numerical': 0.0026246719160104987, 'mean_word_length': 2.0940460081190797, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, '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': '2680641', 'n_tokens_mistral': 1065, 'n_tokens_neox': 997, 'n_words': 512}