random-word
This is a simple python package to generate random English words. If you need help after reading the below, please find me on Twitter at @vaibhavsingh97.
If you love the package, please 🌟 the repo.
Installation
You should be able to install using easy_install or pip in the usual ways:
$ easy_install random-word
$ pip install random-word
Or clone this repository and run:
$ python3 setup.py install
Or place the random-word folder that you downloaded somewhere where your scripts can access it.
Basic Usage
👋 This package will now, by default, fetch the random word from local database
from random_word import RandomWords
r = RandomWords()
# Return a single random word
r.get_random_word()
Different services are available as a part of the random word package, which fetches random words from various API providers. Please check the Services section for more details.
Services
Development
Assuming that you have Python and pipenv installed, set up your environment and install the required dependencies like this instead of the pip install random-word defined above:
$ git clone https://github.com/vaibhavsingh97/random-word.git
$ cd random-word
$ make init
Add API Key in random_word directory defining API Key in config.yml. If you don't have an API key, then request your API key [here][wornikWebsiteLink]
API_KEY = "<API KEY>"
To check your desired changes, you can install your package locally.
$ pip install -e .
Issues
You can report the bugs at the issue tracker
License
Built with ♥ by Vaibhav Singh(@vaibhavsingh97) under MIT License
You can find a copy of the License at https://vaibhavsingh97.mit-license.org/
Metadata
Release files for random_word 1.0.13
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 |
|---|---|---|---|---|
| random_word-1.0.13.tar.gz | 1.2 MB | Without provenance | Details for random_word-1.0.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| random_word-1.0.13-py3-none-any.whl | Python 3 | none | any | Details for random_word-1.0.13-py3-none-any.whl |
Total release size: 2.3 MB
Release files / random_word-1.0.13.tar.gz
| Download URL | random_word-1.0.13.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02b3ef8018315d0962a2b4ef96c5dd1181db2a51f8f72a06c3584d60e2200d00
|
|
BLAKE2b-256 checksum How to use checksums |
1f645f2883c851c186f87cc01fc006a29869c35a952593e2c0f2be1a83a27351
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.13.0 Darwin/24.1.0
|
Release files / random_word-1.0.13-py3-none-any.whl
| Download URL | random_word-1.0.13-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee399282a9d3721073dbd66b61b9e902b4bef8396a09f7133199daa4237b24e0
|
|
BLAKE2b-256 checksum How to use checksums |
df463ce7166b6f99e61fab286d807bf8834cb8e23adbc1becff047b37c9cd666
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.13.0 Darwin/24.1.0
|
Security for random_word 1.0.13
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.