Skip to content

Given a list of Twitter handles, counts the number that have their pronouns in their bio.

License

Notifications You must be signed in to change notification settings

thk123/bio-pronoun-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI

bio-pronoun-counter

Given a list of Twitter handles, counts the number that have their pronouns in their bio.

Usage

Dependencies

The dependencies can be installed with. The main dependency is bear/python-twitter

pip install -r requirements.txt

Setup

To use this, you first need to configure certain environment variables to use the twitter API.

You will need to create an app and obtain the keys, as described in this walkthrough

Once you have, set the the following environment variables with appropriate values:

CONSUMER_API_KEY
CONSUMER_API_SECRET
ACCESS_TOKEN
ACCESS_SECRET

Then run

python3 bio_pronoun_counter/main.py data/MPDataOctober2019.csv

You can provide any CSV file, the format is the first row should contain a column called Screen Name and that column should contain a list of @handles

About

Given a list of Twitter handles, counts the number that have their pronouns in their bio.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages