Skip to main content

Command line scripts for counting tweets from twitter.com.

Project description

TwitterCounter
==============
Scripts for counting tweets. Uses 'search/tweets' or 'statuses/filter' Twitter resource to get old or new tweets, respectively.

CountTweets.py
--------------
Counts the number of tweets that contain any word passed on the command line.

Example:

> python -u -m TwitterCounter.CountTweets red blue

CountWords.py
-------------
Prints a tally count of the occurrence of any word passed on the command line.

Example:

> python -u -m TwitterCounter.CountWords red blue

RankHashtags.py
---------------
Prints a tally count of the hashtags that appear most frequently in tweets that contain any word passed on the command line.

Example:

> python -u -m TwitterCounter.RankHashtags red blue

RankReTweets.py
---------------
Prints a tally count of the most re-tweeted tweets that contain any word passed on the command line, and prints the re-tweet text.

Example:

> python -u -m TwitterCounter.RankRetweets red blue

RankWords.py
------------
Prints a tally count of the words that appear most frequently in tweets that contain any word passed on the command line.

Example:

> python -u -m TwitterCounter.RankWords red blue

Authentication
--------------
See TwitterAPI documentation.

Dependencies
-----------
* TwitterAPI

Contributors
------------

* Jonas Geduldig

Project details


Release history Release notifications

History Node

2.1.3.1

This version
History Node

2.1.3

History Node

2.1.2

History Node

2.1.0

History Node

2.0.2

History Node

2.0.1

History Node

2.0.0

History Node

1.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
TwitterCounter-2.1.3.tar.gz (5.1 kB) Copy SHA256 hash SHA256 Source None Dec 28, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page