Skip to main content

nameCreator

GitHub release (latest by date) GitHub forks GitHub license GitHub issues

A python name generator for Windows.

This is a python package for name generation. It can generate names from different countries, and can generate both male and female names. Ethnicities: "american", "russian", "spanish", "italian", "german", "french", "swedish", "finnish", "japaneser" (japanese romanized), "japanese", "chineser" (chinese romanized), and "chinese".

Installation

From pypi

Install from pypi with pip:

pip install nameCreator

Build from source

Clone the repository and cd into the nameCreator directory, then:

pip install build
python -m build
cd dist
pip install nameCreator-1.0.0-py3-none-any.whl

Usage (Only applies when built from source, read the release's corresponding README for that version's usage)

In python file

firstNameMale = nameCreator.FirstNameMale('nationality')

print(firstNameMale)

lastName = nameCreator.LastName('nationality')

print(lastName)

firstNameFemale = nameCreator.FirstNameFemale('nationality')

print(firstNameFemale)

lastName = nameCreator.LastName('nationality')

print(lastName)

In command line

Displays help message:

nameCreatorCLI generate --help

Generates 10 male finnish names:

nameCreatorCLI generate -a 10 -e finnish -g m

Generates 10 italian female names, sends to a text file and does not print the output to the terminal:

nameCreatorCLI generate -a 10 -e italian -g f -o italianNames.txt -n

Arguments:

Specifies the amount of names to generate:

-a --amount

Specifies the ethnicity:

-e --ethnicity

Specifies the gender of the generated names:

-g --gender

Specifies the output path (like C:/Users/You/test.txt or test.txt to put in the current path):

-o --output

Specifies whether or not to print the output to the terminal (useless if there is no output path specified):

-n --noprint

SOURCES:

https://github.com/ironarachne/namegen

Metadata

Release files for nameCreator 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nameCreator 1.0.0
File Size Uploaded
nameCreator-1.0.0.tar.gz 280.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nameCreator 1.0.0
File Interpreter ABI Platform
nameCreator-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 558.9 kB

Release files / nameCreator-1.0.0.tar.gz

Download URL nameCreator-1.0.0.tar.gz
Size 280.8 kB
Tags Source
SHA-256 checksum
How to use checksums
98c803ae7115e313bba71dd18caf2e85d154534e28304f154169fff42a5bfb99
BLAKE2b-256 checksum
How to use checksums
e07dccf125bd389e6a7c6a7811dc201345c16ebadf3f2cfdb504e193aa0d5e67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.5

Release files / nameCreator-1.0.0-py3-none-any.whl

Download URL nameCreator-1.0.0-py3-none-any.whl
Size 278.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd537c182b6e1015951a27e33a4139b719df0982e6ffd8c7d6422914a4854047
BLAKE2b-256 checksum
How to use checksums
8cbabd63ed1934fe01509889857247bc7f362d47e7be6fd6f1ac856c914f0a84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.9.0

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page