Giter Site home page Giter Site logo

pablokenney / ml-flashcards-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gmaclenn/ml-flashcards-python

0.0 1.0 0.0 8.46 MB

Python script to pull machine learning flashcards from Chris Albon's twitter feed

Python 32.36% Jupyter Notebook 67.64%

ml-flashcards-python's Introduction

Extracting images from the #machinelearningflashcards twitter hashtag

A very basic Python script to pull machine learning flashcards from Chris Albon's #machinelearningflashcards hashtag

All work on the flashcards are the work of Chris Albon (@chrisalbon).

Project was inspired by Jasmine Dumas' project in R.

Instructions

In order to access the Twitter API you need a Consumer Key and Consumer Secret Key. You can obtain these by using your Twitter account to create a twitter app at https://apps.twitter.com/app/new. Proceed to fill out the required information.

Once completed you'll be taken to a page containing the Consumer Key and Consumer Secret Key. Place these keys in a file called twitter_keys.py in the main directory. The python file you create should have two variables consumer_key and consumer_secret which should contain the keys you just obtained from twitter. The file should look something like this, where you replace the given text with the keys you obtained.

# Variables that contains the user credentials to access Twitter API
consumer_key = "ENTER CONSUMER KEY HERE"
consumer_secret = "ENTER CONSUMER SECRET KEY HERE"

After that you should be able to run the script and add any new flashcards created to the flashcards folder.

Note that the twitter search API as used in this script does not include ALL tweets, only recent tweets. I have included previous tweets manually to have them all in one place however the script will only retrieve new tweets.

ml-flashcards-python's People

Contributors

gmaclenn avatar pablokenney avatar

Watchers

 avatar

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.