favorite … and much more fun directly from terminal.\r
\r
This package is built on the top of `Python Twitter Tool`_ and `Twitter API`_, \r
-can run on Python 2.7.x and 3.4.x .\r
+can run on Python 2.7.x and 3.x .\r
\r
\r
Showcase\r
favorite … and much more fun directly from terminal.\r
\r
This package is built on the top of `Python Twitter Tool`_ and `Twitter API`_,\r
-can run on Python 2.7.x and 3.4.x .\r
+can run on Python 2.7.x and 3.x .\r
\r
Install\r
-------\r
{
// Themes
"THEME" : "monokai",
+ // Ascii Art
+ "ASCII_ART" : true,
// 'search': max search record
"SEARCH_MAX_RECORD" : 5,
// 'home': default number of home's tweets
# Config dictionary
c = {}
+# Load the initial config
+config = os.path.dirname(
+ __file__) + '/colorset/config'
+try:
+ data = load_config(config)
+ for d in data:
+ c[d] = data[d]
+except:
+ pass
+
# Load user's config
rainbow_config = os.environ.get(
'HOME',
name = '@' + t.account.verify_credentials()['screen_name']
g['original_name'] = name[1:]
g['decorated_name'] = color_func(c['DECORATED_NAME'])('[' + name + ']: ')
- g['ascii_art'] = True
files = os.listdir(os.path.dirname(__file__) + '/colorset')
themes = [f.split('.')[0] for f in files if f.split('.')[-1] == 'json']
if args.ignore:
printNicely(red('Ignore: ' + str(args.ignore)))
printNicely('')
- g['ascii_art'] = True
except:
printNicely(red('Sorry I can\'t understand.'))
c['PUBLIC_DOMAIN']: args.track_keywords,
c['SITE_DOMAIN']: name,
}
- if g['ascii_art']:
+ if c['ASCII_ART']:
ascii_art(art_dict[domain])
# These arguments are optional:
import os, sys
# Bumped version
-version = '0.3.7'
+version = '0.3.8'
# Require
install_requires = [
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
+ "Programming Language :: Python :: 3.2",
+ "Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
"Topic :: Utilities",