Skip to main content

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


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.5.tar.gz (7.9 kB view hashes)

Uploaded Source

Built Distribution

pt_name_gen-0.2.5-py3-none-any.whl (8.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page