# -*- coding: utf-8 -*-
import tweepy

from ..constants import TWITTER_ACCESS, TWITTER_SECRET
from ..constants import TWITTER_CONSUMER_ACCESS, TWITTER_CONSUMER_SECRET

_auth = tweepy.OAuthHandler(TWITTER_CONSUMER_ACCESS, TWITTER_CONSUMER_SECRET)
_auth.set_access_token(TWITTER_ACCESS, TWITTER_SECRET)

api = tweepy.API(_auth)

# -*- coding: utf-8 -*-
import tweepy

from ..constants import TWITTER_ACCESS, TWITTER_SECRET
from ..constants import TWITTER_CONSUMER_ACCESS, TWITTER_CONSUMER_SECRET

_auth = tweepy.OAuthHandler(TWITTER_CONSUMER_ACCESS, TWITTER_CONSUMER_SECRET)
_auth.set_access_token(TWITTER_ACCESS, TWITTER_SECRET)

twiter_api = tweepy.API(_auth)

Change api to twitter_api to be explicit about what wrapper this is