TTRW
It's a simple python package that returns a string with a few random words similar to name generator for twitch.tv clips. Words are chosen from built in dictionary and capitalized. The first one is an adverb, the second is an adjective and the third is a noun.
You can also choose to get single word (adjective/adverb/noun).
There are english and polish dictionaries available (Polish words without national/accented characters).
>>> ttrw.get_random_words()
VerySadFish
$ python -m ttrw
SlightlyHandsomePotato
Installation:
Use pip:
pip install ttrw
Usage:
Sample usage:
import ttrw
print("Available languages:")
print(ttrw.languages)
print(ttrw.get_random_words())
print(ttrw.get_random_words("en"))
print(ttrw.get_random_words(lang="pl"))
print(ttrw.random_noun())
print(ttrw.random_adjective(lang="pl"))
You can also just execute the module in terminal:
python -m ttrw
python -m ttrw en
python -m ttrw pl
References:
English dictionary is based on WordNet®.
Polish Dictionary is based on ArkadiaWiki and https://sjp.pl/.
Licenses for each dictionary are in their respective folders.
License:
Code is under MIT license. See "LICENSE" file.
Metadata
Release files for ttrw 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ttrw-1.3.tar.gz | 363.0 kB | Without provenance | Details for ttrw-1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ttrw-1.3-py3-none-any.whl | Python 3 | none | any | Details for ttrw-1.3-py3-none-any.whl |
Total release size: 727.4 kB
Release files / ttrw-1.3.tar.gz
| Download URL | ttrw-1.3.tar.gz |
|---|---|
| Size | 363.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c67de1695e052a269e098a3cc919c51a2caa2db28716944a73c5691b3706faff
|
|
BLAKE2b-256 checksum How to use checksums |
8c3ab71c62b35efa26b47d232001806e196178df632e06bb9103d3d1a884dcb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
|
Release files / ttrw-1.3-py3-none-any.whl
| Download URL | ttrw-1.3-py3-none-any.whl |
|---|---|
| Size | 364.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9f6569f02ac6490960525c4d6937651fa9560413a92ab82c074e1d49d91e16a
|
|
BLAKE2b-256 checksum How to use checksums |
ad76f2b7013e01e6fecbc26a965b3f77954d8f2b7e500d8ed1760f5a5a89c3b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
|
Security for ttrw 1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.