appeler/ethnicolr

Predict Race and Ethnicity Based on the Sequence of Characters in a Name

55
/ 100
Established

This tool helps researchers, marketers, or HR professionals understand the likely racial or ethnic background associated with a person's name. You input a list of names, and it outputs the probability that each name belongs to specific racial or ethnic groups (like Non-Hispanic White, Black, Asian, or Hispanic), based on various public datasets.

249 stars. Available on PyPI.

Use this if you need to impute or infer the probable race and ethnicity for individuals based solely on their first and last names, especially for large datasets or names not typically found in standard census records.

Not ideal if you require definitive, individual-level race/ethnicity identification, as this tool provides probabilities based on name patterns, not factual personal data.

demographic-analysis market-research hr-analytics social-science-research customer-segmentation
No License
Maintenance 6 / 25
Adoption 10 / 25
Maturity 17 / 25
Community 22 / 25

How are scores calculated?

Stars

249

Forks

62

Language

Jupyter Notebook

License

Last pushed

Dec 28, 2025

Commits (30d)

0

Dependencies

3

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/appeler/ethnicolr"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.