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.
Metadata
Release files for randomword 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| randomword-1.0.2.tar.gz | 1.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| randomword-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.3 MB
Release files / randomword-1.0.2.tar.gz
| Download URL | randomword-1.0.2.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
881304c8ca80d72a1bfd52ddc7eee929508a23eee5416da166c8895b59dd94a7
|
|
BLAKE2b-256 checksum How to use checksums |
081f4f6fdccf2a33e10178075a5e87f39cffb7687ecf4f5edde90cc928d98bdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / randomword-1.0.2-py3-none-any.whl
| Download URL | randomword-1.0.2-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9acb21d8baa38ca6da4883d466f37bc42dac1703e1a56ca732f24e05991793db
|
|
BLAKE2b-256 checksum How to use checksums |
f813782b29af0b8cc77bf023e60fa5a5ce7d18ebb7c41d3a7dd8aea5b5c62788
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|