Runs forever with the command:
$ nohup python datascibun.py > datascibun.out &
Note: the nohup
prefix and > datascibun.out &
suffixes are optional and pertain to additional logging, as well as backgrounding and detaching the process from the terminal so it can run forever. You can just as easily run python datascibun.py
by itself.
In a nutshell:
See environment.yml
for a full list of dependencies.
You'll need to go to dev.twitter.com
and create an app. From there, you'll need to generate OAuth credentials and populate the following fields in datascibun.py
:
self.config['api_key'] = 'your api key here'
self.config['api_secret'] = 'your api secret here'
self.config['access_key'] = 'your access key here'
self.config['access_secret'] = 'your access secret here'
In addition to those on the pybot repo, also inspired by Amelia Gapin's bot.
Finally, credit to Cathryn for the tweeting ideas, bio, and profile pic.