Skip to main content

A simple python library that gives you a certain amount of random words.

Project description

RandomWord Description

randomword is a simple python library that chooses a random word from dwyl's list of English words. Unlike other libraries, there is no API. This library can be used without internet access.

Usage

import randomword

random_word = randomword.get_random_word()
# importing randomword and then doing randomword.randomword.get_random_word() is also applicable.
print(f"My favorite word in the dictionary is {random_word}.")

multiple_random_words = randomword.get_random_word(2)
print(f"If I had to choose, I would say my top two favorite words are {multiple_random_words[0]} and {multiple_random_words[1]}.")

Output

My favorite word in the dictionary is unutilized.
If I had to choose, I would say my top two favorite words are barhopped and passionful.

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

randomword-1.0.2.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

randomword-1.0.2-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file randomword-1.0.2.tar.gz.

File metadata

  • Download URL: randomword-1.0.2.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for randomword-1.0.2.tar.gz
Algorithm Hash digest
SHA256 881304c8ca80d72a1bfd52ddc7eee929508a23eee5416da166c8895b59dd94a7
MD5 0069cdaa35ddb1e8cc3c3589ed6a0393
BLAKE2b-256 081f4f6fdccf2a33e10178075a5e87f39cffb7687ecf4f5edde90cc928d98bdd

See more details on using hashes here.

File details

Details for the file randomword-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: randomword-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for randomword-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9acb21d8baa38ca6da4883d466f37bc42dac1703e1a56ca732f24e05991793db
MD5 04376284f0d721812b8b69a11eebfa9d
BLAKE2b-256 f813782b29af0b8cc77bf023e60fa5a5ce7d18ebb7c41d3a7dd8aea5b5c62788

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