A Python package for generation random English words
Project description
randword
A Python package for generation random English words
Installation
You can install randword
package using pip
or easy_install
:
pip install randword
easy_install randword
You can also just clone the repository and run:
python setup.py install
Usage
See the documentation.
Credits and references
- A database of words for each part of the speech was taken from WordNet.
- Splitting words into different parts of speech is made possible by Chilli's answer on Stack Overflow.
- Surnames database was taken from this GitHub repo.
- Male and females names were taken from the website of Carnegie Mellon University.
- Countries database was taken from this GitHub gist.
- Cities database was taken from this GitHub gist.
- Magic 8-Ball answers were taken from Wikipedia page.
License
randword specific code is distributed under MIT License.
Copyright (c) 2020 Artyom Bezmenov
Contributing to randword
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer
We develop with GitHub
We use GitHub to host code, to track issues and feature requests, as well as accept pull requests.
We use Github Flow, So All Code Changes Happen Through Pull Requests
Pull requests are the best way to propose changes to the codebase (we use Github Flow). We actively welcome your pull requests:
- Fork the repo and create your branch from
master
. - If you've added code that should be tested, add tests.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
- Issue that pull request!
Any contributions you make will be under the MIT Software License
In short, when you submit code changes, your submissions are understood to be under the same MIT License that covers the project. Feel free to contact the maintainers if that's a concern.
Report bugs using Github's issues
We use GitHub issues to track public bugs. Report a bug by opening a new issue; it's that easy!
Write bug reports with detail, background, and sample code
Great Bug Reports tend to have:
- A quick summary and/or background
- Steps to reproduce
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
People love thorough bug reports. I'm not even kidding.
Styleguides
Use a consistent coding style
Git commit messages
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally after the first line
Python styleguide
If possible, stick to PEP-8, but don't bother too much :)
License
By contributing, you agree that your contributions will be licensed under its MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.