6afffd5f519526b705d9aef6f3313b0e2165d5e4
[rainbowstream.git] / rainbowstream / config.py
1 from .colors import *
2
3 # 'search': max search record
4 SEARCH_MAX_RECORD = 5
5 # 'home': default number of home's tweets
6 HOME_TWEET_NUM = 5
7 # 'allrt': default number of retweets
8 RETWEETS_SHOW_NUM = 5
9 # 'inbox','sent': default number of direct message
10 MESSAGES_DISPLAY = 5
11 # 'trend': max trending topics
12 TREND_MAX = 10
13 # 'switch': Filter and Ignore list ex: ['@fat','@mdo']
14 ONLY_LIST = []
15 IGNORE_LIST = []
16
17 # Autocomplete history file name
18 HISTORY_FILENAME = 'completer.hist'
19
20 USER_DOMAIN = 'userstream.twitter.com'
21 PUBLIC_DOMAIN = 'stream.twitter.com'
22 SITE_DOMAIN = 'sitestream.twitter.com'
23 DOMAIN = USER_DOMAIN
24
25 IMAGE_SHIFT = 10
26 IMAGE_MAX_HEIGHT = 40
27
28 # Following 16 basic colors is supported:
29 # default
30 # black
31 # red
32 # green
33 # yellow
34 # blue
35 # magenta
36 # cyan
37 # grey
38 # light_red
39 # light_green
40 # light_yellow
41 # light_blue
42 # light_magenta
43 # light_cyan
44 # white
45
46 TWEET = {
47 'nick' : grey,
48 'clock' : grey,
49 'id' : grey,
50 'favourite' : light_green,
51 'rt' : grey,
52 'link' : light_cyan,
53 'keyword' : on_light_yellow,
54 }
55
56 MESSAGE = {
57 'sender' : grey,
58 'recipient' : grey,
59 'to' : light_magenta,
60 'clock' : grey,
61 'id' : grey,
62 }
63
64 PROFILE = {
65 'statuses_count' : light_green,
66 'friends_count' : light_green,
67 'followers_count' : light_green,
68 'nick' : grey,
69 'profile_image_url' : light_cyan,
70 'description' : light_yellow,
71 'location' : light_magenta,
72 'url' : light_cyan,
73 'clock' : white,
74 }
75
76 TREND = {
77 'url': light_cyan
78 }