source venv/bin/activate\r
pip install -e .\r
which rainbowstream # /this-directory/venv/bin/rainbowstream\r
- pip list | grep rainbowstream # rainbowstream (0.x.x, /this-directory)\r
# Remove ~/.rainbow_oauth if exists\r
rainbowstream # local version of rainbowstream\r
\r
# built documents.
#
# The short X.Y version.
-version = '1.0.5'
+version = '1.0.6'
# The full version, including alpha/beta/rc tags.
-release = '1.0.5'
+release = '1.0.6'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
+ ``#recipient_name``: Message's recipient name\r
+ ``#recipient_nick``: Message's recipient screen name\r
\r
-In every format, you can use unicode characters like ``\u2665``. \r
-Mac users also can use emoji characters as well (Ex: ``::zap::``). \r
+In every format, you can use unicode characters like ``\u2665``.\r
+Mac users also can use emoji characters as well (Ex: ``::zap::``).\r
See `Emoji cheatsheet`_ for details.\r
\r
Development\r
source venv/bin/activate\r
pip install -e .\r
which rainbowstream # /this-directory/venv/bin/rainbowstream\r
- pip list | grep rainbowstream # rainbowstream (0.x.x, /this-directory)\r
# Remove ~/.rainbow_oauth if exists\r
rainbowstream # local version of rainbowstream\r
\r
16 colors supported
"""
def inner(text, rl=False):
+ """
+ Every raw_input with color sequences should be called with
+ rl=True to avoid readline messed up the length calculation
+ """
c = code
if rl:
return "\001\033[%sm\002%s\001\033[0m\002" % (c, text)
256 colors supported
"""
def inner(text, rl=False):
+ """
+ Every raw_input with color sequences should be called with
+ rl=True to avoid readline messed up the length calculation
+ """
c = code
if rl:
return "\001\033[38;5;%sm\002%s\001\033[0m\002" % (c, text)
try:
current = pkg_resources.get_distribution("rainbowstream").version
url = 'https://raw.githubusercontent.com/DTVD/rainbowstream/master/setup.py'
- readme = requests.get(url).content
+ readme = requests.get(url).text
latest = readme.split("version = \'")[1].split("\'")[0]
if current != latest:
notice = light_magenta('RainbowStream latest version is ')
num = int(g['stuff'].split()[1])
except:
num = c['HOME_TWEET_NUM']
- for tweet in reversed(t.statuses.user_timeline(count=num, screen_name=user[1:])):
+ for tweet in reversed(
+ t.statuses.user_timeline(count=num, screen_name=user[1:])):
draw(t=tweet)
printNicely('')
else:
import os.path
# Bumped version
-version = '1.0.5'
+version = '1.0.6'
# Require
install_requires = [