Skip to main content

Reusable Python components to be shared with some Python projects

Project description

Perseus Name Generator Python Library

Wrapper of Joao HENRIQUES's name-gen library, a small module to generate names for characters, places, etc.

To install Perseus Name Generator Python Library, simply enter the follow command line:

pip install perseus-name-generator

For generating names with a specific language, simply get an instance of the word generator for this language and call the method generate_name. For example:

>>> from majormode.utils.namegen import NameGeneratorFactory
>>> name_generator = NameGeneratorFactory.get_instance(NameGeneratorFactory.Language.Japanese)
>>> name_generator.generate_name()
'Ishimmi'
>>> name_generator.generate_name()
'Suita'
>>> name_generator.generate_name()
'Tashirara'
>>> name_generator.generate_name()
'Miyakai'
>>> name_generator.generate_name()
'Miharadase'

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for perseus-name-generator-library, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size perseus_name_generator_library-1.1.0-py3-none-any.whl (302.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size perseus-name-generator-library-1.1.0.tar.gz (279.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page