Skip to main content

This is a simple python package to generate random english words

Project description

random-word

Build PyPI version PyPI - Python Version PyPI - Status Downloads License: MIT

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 :star2: the repo.

Installation

You should be able to install using easy_install or pip in the usual ways:

$ easy_install random-word-numpy
$ pip install random-word-numpy

Or clone this repository and run:

$ python3 setup.py install

Or place the random-word-numpy 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_numpy import RandomWords
r = RandomWords()

# Return a single random word
r.get_random_word()

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-numpy defined above:

$ git clone https://github.com/vaibhavsingh97/random-word.git
$ cd random-word
$ make init

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/

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

random_word_numpy-0.0.2.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

random_word_numpy-0.0.2-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file random_word_numpy-0.0.2.tar.gz.

File metadata

  • Download URL: random_word_numpy-0.0.2.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for random_word_numpy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ab6750cc27a0657f5a8716238c0c62314b1230ccf7e36b8d02b8f4d73fc32ba9
MD5 056b3f88ed114d15a16e7ad9913f46f7
BLAKE2b-256 6ee5694f6efb44487c8ca5ccfa4ee623cbe7f9772064869ed43f4bb5f6fd4eea

See more details on using hashes here.

File details

Details for the file random_word_numpy-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for random_word_numpy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6716b40ff2c809a3b4045336db2392769124c000a9b7a2030d1072569c955b5
MD5 d6674d404c33428d07e8224ddaa566de
BLAKE2b-256 4388fcf3f730387439ee6d364f5f427ebc4cf40ce005c8c3e9bde7ab033b5b44

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page