Need help with twitter-gender-distribution?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

224 Stars 25 Forks Apache License 2.0 125 Commits 3 Opened issues


Compare number of women, men, and nonbinary people among my friends and followers.

Services available


Need anything else?

Contributors list

Gender Distribution of Twitter Friends and Followers

Twitter analytics estimates the gender ratio of your followers, but it doesn't tell you about those you follow--your Twitter "friends"--and it doesn't let you analyze other people's friends and followers. Neither does it notice gender-nonbinary users. This tool attempts to fill the gap. It guesses the gender of your friends and followers by looking in their Twitter bios for pronoun announcements like "she/her", or else guessing based on first name.

I've deployed it for public use since June 2016 at

Read my article about this code: "72% Of The People I Follow On Twitter Are Men."

Tweet me your thoughts.


This script requires Python 3.8, and the packages listed in

python3 -m pip install -r requirements.txt

Command-line Use

Pass a Twitter username to analyze the user's friends and followers:

python3 jessejiryudavis


From the repository root directory:

python3 -m unittest discover -v


Start a Flask server for testing:


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.