Skip to main content

Random string <adjective>-<noun>. Useful for user-friendly name generation.

Project description

duoname

Generate a two-word random name using the pattern <adjective>-<noun>. Useful for generating user-friendly names and IDs.

No dependencies, easy to use.

Usage

from duoname import duoname

name = duoname()

Building

pip install -e .[dev]
pip wheel . --no-deps
twine upload duoname-{version}-py3-none-any.whl -u __token__ -p {pypi-token}

Credits

Word lists are taken from this wonderful repo: wordlists (GitHub).

FAQ

Q: Why not randomname (GitHub)?

A: I really hate transient dependencies, and randomname package depends on fire.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

duoname-0.0.2-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file duoname-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: duoname-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for duoname-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cb9e3f9eee162cba89b8d801b36e8079d240cf006c0e11e620df16c855b3d2b9
MD5 bdf65c5e18e59e90a451f1dcafa89cf8
BLAKE2b-256 8c5d5768d1265635da997edeb7da697fe5674be08997d438c5d1c41b23c172cd

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