This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Python files for Toxicovigilance on Twitter

What is it?

A collection of Python files, also listed on PyPI, as part of an ongoing effort to use Twitter for toxicology research.

How do I use it?

The easiest thing is to copy all of the files to someplace in your PYTHONPATH, like ~/bin.


This module creates a object for all drugs listed in the formulary. It can save the results in JSON or XLS.

What other Python Plugins do I need?

-Numpy/SciPy -XLRD XLWT -python-twitter (use pip install twitter not easy_install twitter) -matplotlib -simplejson -networkx

What do the files besides do?

—> creates an instance of twitterQuery for each drug in the “formulary” that you are … querying Twitter for.

—> loads the JSON format results from querying twitter and formats them for NLP analysis by:
  1. Writing a reduplicated record of the tweets to an XLS file for human rating. (Change filename, which indicates the location of the JSON dump of the twitter query, as needed.)
  2. Making a stemmed corpus to use for semantic analysis, contextual analysis or as input to a classifier. (Change the savename as needed.)

—> is a helper function to calculate the Fleisch-Kincaid grade level of a tweet.

—> draws a degree-rank plot with the social graph as an inset. ATTRIBUTION: This is a modified version of a file from the matplotlib examples gallery.

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
toxtweet-0.10.tar.gz (15.7 kB) Copy SHA256 Checksum SHA256 Source Sep 16, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting