Welcome to python-twitter’s documentation!¶
A Python wrapper around the Twitter API.
Author: The Python-Twitter Developers <python-twitter@googlegroups.com>
Introduction¶
This library provides a pure Python interface for the Twitter API. It works with Python versions from 2.5 to 2.7. Python 3 support is under development.
Twitter provides a service that allows people to connect via the web, IM, and SMS. Twitter exposes a web services API and this library is intended to make it even easier for Python programmers to use.
Building¶
From source:
Install the dependencies:
This branch is currently in development to replace the OAuth and HTTPLib2 libarays with the following:
Alternatively use pip:
$ pip install -r requirements.txt
Download the latest python-twitter library from: http://code.google.com/p/python-twitter/
Extract the source distribution and run:
$ python setup.py build
$ python setup.py install
Testing¶
With setuptools installed:
$ python setup.py test
Without setuptools installed:
$ python twitter_test.py