reverted the encoding fix that tommy made in lieu of a different crazy hack
[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__ = '3.3.0'
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, AppAuthHandler
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     from six.moves.http_client import HTTPConnection
25     HTTPConnection.debuglevel = level

Benjamin Mako Hill || Want to submit a patch?