Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python tool to interface with "Nomes" IBGE API v.2

Project description

Python library to interface with “Nomes” IBGE API. Further, the tools can be used to query the persons names from Brazil. The IBGE API is based on 2010 Census.


  • Query by name(s) gender(s) based on 2010 IBGE Census from Brazil. Gender return are ‘F’ or ‘M’. Indefined gender is ‘’.
  • Query by name(s) ocurrence(s) by gender on Brazil or specific state
  • Query by name(s) occurrence(s) on specific gender or on all
  • Query by names ranking occurrence on Brazil (20’s most)


  • Python 2 or newer
  • requests
  • Pandas


$ pip3 install pygenderbr


Class Gender

>>> from pygenderbr import Gender
>>> gapi = Gender()
>>> g = gapi.getgender('joao')
>>> print(g)
Name: gender, dtype: object
>>> g = gapi.getgender(['joao','maria'])
>>> print(g)
JOAO     M
Name: gender, dtype: object

Project details

Download files

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

Files for pygenderbr, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size pygenderbr-0.5.0.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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