pygenderbr
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.
Features
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)
Prerequisites
Python 2 or newer
requests
Pandas
Site
Installation
$ pip3 install pygenderbr
Usage
Class Gender
>>> from pygenderbr import Gender
>>> gapi = Gender()
>>> g = gapi.getgender('joao')
>>> print(g)
name
JOAO M
Name: gender, dtype: object
>>> g = gapi.getgender(['joao','maria'])
>>> print(g)
name
JOAO M
MARIA F
Name: gender, dtype: object
Metadata
Release files for pygenderbr 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pygenderbr-0.5.0.tar.gz | 3.9 kB | Without provenance | Details for pygenderbr-0.5.0.tar.gz |
Release files / pygenderbr-0.5.0.tar.gz
| Download URL | pygenderbr-0.5.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3d0a8d05d6cccdde40a51c6f69f1a0331154ac264d87e75af9fea470cb1215c
|
|
BLAKE2b-256 checksum How to use checksums |
4b5a24f4f623db1922ad61f4e80bad5d548943b9f4e8fe25744f7db54d72a4d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pygenderbr 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.