Giter Site home page Giter Site logo

datascibun's Introduction

@DataSciBun Twitter Bot

Quickstart

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.

Dependencies

In a nutshell:

  • Python 3.7+ (since f-strings are involved)
  • NumPy (for random number generators)
  • markovify
  • pybot

See environment.yml for a full list of dependencies.

Credentials

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'

Acknowledgements

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.