Skip to main content

Generate random names from adjectives and nouns

Project description

harp-py

Pronounced "harpy"

Human Appropriate Random Phraselets

Pure Python implementation of harp - generate memorable, human-readable random names from adjectives and nouns.

swift-amber-falcon      quiet-silver-meadow     bold-crimson-thunder

Usage

import harp

harp.generate_name()  # "spirited-unexposed-gatherer"
harp.generate_name_with_options(components=2)  # "choosy-iguana"
harp.generate_name_with_options(components=4, separator="_")  # "bold_keen_swift_falcon"

API

  • generate_name() - 3 components (adjective-adjective-noun)
  • generate_name_with_options(components=3, max_element_length=None, separator="-")
  • version() - library version

Word Lists

1,269 adjectives and 4,396 nouns = 5.6 million combinations using only familiar words.

Curated from EFF Diceware and classified using Moby Project.

License

BSD-3-Clause


Name credit: AdamPIcode

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

harp_names-0.1.0.tar.gz (42.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

harp_names-0.1.0-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file harp_names-0.1.0.tar.gz.

File metadata

  • Download URL: harp_names-0.1.0.tar.gz
  • Upload date:
  • Size: 42.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for harp_names-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3491d044152241c3bbad4b5faf1b412b702bf7c849cb8adfa2ec8ca3ecc1a661
MD5 1d2b541d5b4e13288bf62915e5a1f16e
BLAKE2b-256 f4b3d9129e298794d3772ed4354b44aa14a86b48fcae1d9f0ba032adfe12cd76

See more details on using hashes here.

Provenance

The following attestation bundles were made for harp_names-0.1.0.tar.gz:

Publisher: publish.yml on benjaminabbitt/harp-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file harp_names-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: harp_names-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for harp_names-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89000f5b22dc01f93f8b323aa806ccc097ad611f04dfb3a93a4a04767db7a6b9
MD5 71e63a37d75436862daf8c86b6a281fc
BLAKE2b-256 0f62782fef5162837a5f62365b86f725731a03ca64d4bc19f71bbff0c6701acc

See more details on using hashes here.

Provenance

The following attestation bundles were made for harp_names-0.1.0-py3-none-any.whl:

Publisher: publish.yml on benjaminabbitt/harp-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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