[PYTHON] Twitter streaming client to enjoy in the terminal

Rainbowstream There have been many tools that can be tweeted in the terminal, but there is nothing that is quite satisfying when using it. That's why I made a thing called Rainbow Stream, which I'm about to introduce.

As the name suggests, Rainbow Stream features colorful streaming of Tweets from around the world that flow in front of you like the flow of a river. You can also display images based on CLI.

Homepage: www.rainbowstream.org Github: github.com/DTVD/rainbowstream a Show case

Installation

Easy installation with pip

sudo pip install rainbowstream

However, it is recommended to install it in an independent environment using virtualenv:

virtualenv venv
# Python 3 users : use -p to specify your Python 3 localtion as below
# virtualenv -p /usr/bin/python3 venv
source venv/bin/activate
pip install rainbowstream

Enjoy Twitter streaming

After installation, start with the following command

rainbowstream

And if you want to launch streaming where you can see the image directly in the terminal

rainbowstream -iot

command

A list of supported commands can be found in ReadTheDocs, but the main ones are as follows.

theme

The following themes have already been prepared.

I actually used it

Since it is a CLI, it will be interesting to be able to run it on various devices and environments.

Recommended Posts

Twitter streaming client to enjoy in the terminal
Programming to fight in the world ~ 5-1
Programming to fight in the world ~ 5-5,5-6
In the python command python points to python3.8
Cython to try in the shortest
Access the Twitter API in Python
Programming to fight in the world ~ 5-2
Automatically acquire the operation log in the terminal when logging in to Linux
Export the contents acquired by Twitter Streaming API in JSON format
Hit the echo command in the Mac terminal to output Hello World
Goodbye to the command prompt in WSL, VSCode and Windows Terminal
I made a command to display a colorful calendar in the terminal
The story of trying to reconnect the client
Run the Matrix to your boss's terminal!
Tweet using the Twitter API in Python
In Jupyter, add IPerl to the kernel.
Sample code to get the Twitter API oauth_token and oauth_token_secret in Python 2.7
Various comments to write in the program
Use libsixel to output Sixel in Python and output a Matplotlib graph to the terminal.
Continue to retrieve tweets containing specific keywords using the Streaming API in Python
To dynamically replace the next method in python
Draw graphs in Julia ... Leave the graphs to Python
The trick to write flatten concisely in python
How to measure line speed from the terminal
How to get the files in the [Python] folder
Use pygogo to get the log in json.
Save the search results on Twitter to CSV.
I want to display the progress in Python!
How to retrieve the nth largest value in Python
I tried to graph the packages installed in Python
How to get the variable name itself in python
Notes on transactions in the Java client library in the datastore
How to run the Ansible module added in Ansible Tower
How to get the number of digits in Python
How to know the current directory in Python in Blender
Try to estimate the number of likes on Twitter
Crawl the URL contained in the twitter tweet with python
Convert the image in .zip to PDF with Python
Set the form DateField to type = date in Django
How to use the exists clause in Django's queryset
How to instantly launch Jupyter Notebook from the terminal
Try to delete tweets in bulk using Twitter API
Post to your account using the API on Twitter
I want to write in Python! (3) Utilize the mock
How to exit when using Python in Terminal (Mac)
How to use the model learned in Lobe in Python
Try to decipher the login data stored in Firefox
The easiest line bot in the world to lose weight
How to enjoy Python on Android !! Programming on the go !!
Do not pass self to ProcessPoolExecutor in the class
[Python] How to output the list values in order
Kaggle Tutorial Titanic know-how to be in the top 2%
To do the equivalent of Ruby's ObjectSpace._id2ref in Python
I want to use the R dataset in python
Python OpenCV tried to display the image in text.
How to delete "(base)" that appears in the terminal when Anaconda is installed on Mac
I tried to put HULFT IoT (Edge Streaming) in the gateway Rooster of Sun Electronics