]> projects.mako.cc - twitter-api-cdsw/blob - tweepy/__init__.py
Changed gitignore to not grab auth
[twitter-api-cdsw] / tweepy / __init__.py
1 # Tweepy
2 # Copyright 2009-2010 Joshua Roesslein
3 # See LICENSE for details.
4
5 """
6 Tweepy Twitter API library
7 """
8 __version__ = '2.3'
9 __author__ = 'Joshua Roesslein'
10 __license__ = 'MIT'
11
12 from tweepy.models import Status, User, DirectMessage, Friendship, SavedSearch, SearchResults, ModelFactory, Category
13 from tweepy.error import TweepError
14 from tweepy.api import API
15 from tweepy.cache import Cache, MemoryCache, FileCache
16 from tweepy.auth import OAuthHandler
17 from tweepy.streaming import Stream, StreamListener
18 from tweepy.cursor import Cursor
19
20 # Global, unauthenticated instance of API
21 api = API()
22
23 def debug(enable=True, level=1):
24
25     import httplib
26     httplib.HTTPConnection.debuglevel = level
27

Benjamin Mako Hill || Want to submit a patch?