Skip to main content

A library to pick hangman words.

Project description

The Hangman Wordlist

A simple json wordlist for use with hangman with easy, medium and hard words!

Example usage in python (see main.py)

from the_hangman_wordlist import HangmanWordlist

if __name__ == "__main__":
    wordlist = HangmanWordlist()
    difficulty = input("What difficulty do you want? (easy/medium/hard): ")
    word, version = wordlist.pull_word(difficulty)
    print(f"\nThe {difficulty} word is: '{word}'")
    print(f"Wordlist v{version}")
    input("\nPress Enter to exit...")

Credits

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

the_hangman_wordlist-0.5.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

the_hangman_wordlist-0.5-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file the_hangman_wordlist-0.5.tar.gz.

File metadata

  • Download URL: the_hangman_wordlist-0.5.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for the_hangman_wordlist-0.5.tar.gz
Algorithm Hash digest
SHA256 c84f03a768f9399702f7b21888bb61842a4ec3ca1d493b7e540eff3bdda52fc8
MD5 1525d69f7abea5b316074e11b3e0ff3d
BLAKE2b-256 8006321ef930f7c73de4994c74da6e3113d9ee885259b1a37cdce086abeca0cc

See more details on using hashes here.

File details

Details for the file the_hangman_wordlist-0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for the_hangman_wordlist-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4fa10c8742a30156becfc3281e28053c5d1492f7901a4a508f4a876c81a39bee
MD5 20c2eec10285ac6bc06336c3ea2ee7eb
BLAKE2b-256 129f0f6b9b1827629224799028d7a01654a6558a4d483ed50bfceb54671a076f

See more details on using hashes here.

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