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
pt_name_gen-0.2.2.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for pt_name_gen-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d5ab4e570ef1b156ff317818a0719bfb1b6712a3fdc44f82f552ebee651692a |
|
MD5 | 00e51da88a4673082a306c63bc5ac628 |
|
BLAKE2b-256 | 5a5375e5e1881aff4135a243b04c3edc78371cf483655ad5d311ee4e28ce8b10 |