This is a twitter bot, it will like and retweet your tweet, containing some keyword and will print the url of tweet.
You can also use it to control GPIO pins of Raspberry Pi(as I did) and twitter controlled home lights.
Here I used the twython library to use Twitter API, this library can be used to all the things mentioned in twitter API document.
To use with Raspberry Pi and control GPIO use rpicode.py and to use directly on desktop(no GPIO) use code.py
To install twython
pip install twython
or check here
Generate your unique Twitter keys and token from here by creating a new app.
Update the keys and tokens in code.
Run the python file and enter the keyword you want to track, now any new tweet will automatically liked and retweeted.
It will print the link of tweet