Skip to content
Utilities for performing actions on words, or collections of words.
Python
Branch: master
Clone or download

Latest commit

ncdulo Version bump, CHANGELOG update
You know what this means? Release time! Originally was not thinking to
do a release this soon. However, I *did* get Wikipedia functional again
with a brand new `WikiProvider`. I feel the minor version bump is
applicable in this case due to it being new functionality, without any
backwards incompatible changes being made.

As part of the `CHANGELOG.md` update -- I noticed a few lines where we
missed the PyPi link. Let's add those in to maintain the same markdown
blocks between GitHub Release and the CHANGELOG entries.
Latest commit f871a62 Apr 4, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Issue #6: Update label colors Mar 29, 2020
tests Fix `test_wikipedia` -- it works! Apr 4, 2020
word_tools Adjust bounds check. Add docstrings. Apr 4, 2020
.gitignore Create .gitignore Mar 15, 2020
.travis.yml Specify `bionic` target for Travis. Update indents. Mar 25, 2020
CHANGELOG.md Version bump, CHANGELOG update Apr 4, 2020
CODE_OF_CONDUCT.md Create LICENSE, CODE_OF_CONDUCT Mar 15, 2020
CONTRIBUTING.md Add PR, branches, commit messages sections Mar 28, 2020
LICENSE Create LICENSE, CODE_OF_CONDUCT Mar 15, 2020
MANIFEST.in Include CONTRIBUTING in manifest Mar 28, 2020
README.md Update badges Mar 28, 2020
requirements.txt Include `pymediawiki` module Apr 4, 2020
requirements_dev.txt Include `pymediawiki` module Apr 4, 2020
setup.py Version bump, CHANGELOG update Apr 4, 2020

README.md

word_tools

PyPI version shields.io PyPI status Build Status codecov Percentage of issues still open PyPI pyversions Feature Request made-with-vim

Utilities for performing actions on words, or collections of words. This is a slowly expanding library of functions, conversions, and lookups added to as I see fit. Mostly intended for fun, or convenience. Not sure what it will grow into, but it's a nice laid back project.

Installation & Use

Recommended to install into a virtual environment of your desired flavor. I currently recommend virtualenvwrapper, but am using the stock venv module in the example below for simplicity. Save the user on configuring a dependency if they don't have to

# Clone the repo
git clone https://github.com/ncdulo/word_tools.git
cd word_tools

# Create a new virtual environment, and enable it
python -m venv .env
source .env/bin/activate

# Update Pip & friends. Optional, but recommended
pip install --upgrade pip

# Install dependencies and create executable
pip install .
# If you receive errors about "No module named 'word_tools'", try this
pip install --editable .

# With venv active, the path will already be in path
# Otherwise, the path to executables will be
# .env/bin/wt.{urban,merriam,wikipedia}
wt.urban WORD [LIMIT=0]
wt.merriam hacker 2
wt.wikipedia python 1

# Deactivate the virtual environment when finished
deactivate
You can’t perform that action at this time.