A name generator in Portuguese. Um gerador de nomes em português.
Project description
pt_name_gen A Python module for generating random names in Portuguese.
Installation To install the name_generator module, use pip:
pip install pt_name_gen
Usage To use the name_generator module, import the generate_name() function and call it with a gender parameter:
from name_generator import generate_name
name = generate_name(0) # Male
print(name)
The generate_name() function returns a random name in Portuguese. The gender parameter should be 0 for male names or 1 for female names. If no gender parameter is specified, a random gender will be chosen.
License The pt_name_gen module is released under the MIT License.
I hope this helps! Let me know if you have any questions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pt_name_gen-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e124bb0865fc1db0e00ac509cd65287eb6e59de19a2d041c24958c685488617 |
|
MD5 | 15ad5e1740a6c02ab7e69ff05278a806 |
|
BLAKE2b-256 | d56041a8598361d18beaa5f9251b5ed007d28a9b2fcd92fcd013565041a8f27e |