### Navigation

- index
- python-twitter 1.0 documentation »

# 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:

- SimpleJson
- Requests OAuthlib
- HTTPLib2

This branch is currently in development to replace the OAuth and HTTPLib2 libarays with the following:

- Requests

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

## Getting the code

The code is hosted at Github.

Check out the latest development version anonymously with:

    $ git clone git://github.com/bear/python-twitter.git
    $ cd python-twitter

# Indices and tables

- Index
- Module Index
- Search Page

### Navigation

- index
- python-twitter 1.0 documentation »