Giter VIP home page Giter VIP logo

nommer's Introduction

A collection of tools to nom on the tweet stream:

  • timeline_stats.py will tell you who the most prolific/tweetiest people you follow are.
  • that's it for now. Yay Sunday afternoons!

Installation

At the command line, type the following:

git clone [email protected]:marcua/nommer.git
cd nommer
pip install -r requirements.txt
cp settings.py.template settings.py

Authenticating your account

  • Create a new Twitter app.
  • Copy its key/secret to API_KEY/API_SECRET in the settings.py file.
  • Run a script, like python timeline_stats.py
  • The script will provide you with a URL to visit.
  • Go to the URL and permit your application to access your account.
  • Copy the verifier token to the waiting script.
  • Copy the AUTH_KEY/AUTH_SECRET into settings.py.
  • Profit.

timeline_stats.py

Run python timeline_stats.py. The output will look something like this:

Period: 2014-07-20 19:00:06 - 2014-07-20 19:31:01 (0:30:55)
Total tweets 8
Tweetiest people (format is "@person - # tweets (% of total tweets)"):
  person1 - 3 (37.50%)
  person2 - 2 (25.00%)
  person3 - 1 (12.50%)
  person4 - 1 (12.50%)
  person5 - 1 (12.50%)

Contributing

Issue a pull request. I'm friendly

nommer's People

Contributors

marcua avatar trivedigaurav avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.