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


Download files

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

Source Distribution

perseus-name-generator-library-1.1.0.tar.gz (279.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file perseus-name-generator-library-1.1.0.tar.gz.

File metadata

  • Download URL: perseus-name-generator-library-1.1.0.tar.gz
  • Upload date:
  • Size: 279.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for perseus-name-generator-library-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7ed644f329e3dc83aad6beda6895a9f781727760e15901a0d69933e5aa25d3cb
MD5 58de8569c510ddafc201153768eceb5a
BLAKE2b-256 d792d9e1ca14e6b57de4e34adbb0c6f449788978c0412bb0887c89f0d16f7aa3

See more details on using hashes here.

File details

Details for the file perseus_name_generator_library-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: perseus_name_generator_library-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 302.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for perseus_name_generator_library-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 745dbd3d1f3a07e305da238dd278ab03639154543210cfc31f382e7d3457eb35
MD5 1c1dedef57a2c8957112692801f8c329
BLAKE2b-256 a01208bc1ff38d9b993a4bcb9a4d558cbff4d828dbdd84da75479bcf52bef770

See more details on using hashes here.

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