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.1.tar.gz (42.3 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.1-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: harp_names-0.1.1.tar.gz
  • Upload date:
  • Size: 42.3 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.1.tar.gz
Algorithm Hash digest
SHA256 ac0ed6fca15b54c54134fa4437ed666030ff36e281a05f286d3922f824f40409
MD5 d38d9283a427fd4ba1d85f05dcc0ccbe
BLAKE2b-256 890d96da9d5eb3b21f7db66b1814aca87c78390431d41516dbb0b3791001adc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for harp_names-0.1.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: harp_names-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ede4abb4a9c3a04fe120483b9d5c944bc757390419690226f1ca6fca040b2db
MD5 fa3898922ab719ed2f4637c4e72e0d6c
BLAKE2b-256 452ab51bf9d3b940e3f308de4fc2e19a1437d5c66565b610c12bde73b1efa533

See more details on using hashes here.

Provenance

The following attestation bundles were made for harp_names-0.1.1-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