Utilities for performing actions on words, or collections of words.
Project description
word_tools
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
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.
Source Distribution
word_tools-0.0.2.tar.gz
(11.0 kB
view hashes)
Built Distribution
word_tools-0.0.2-py3-none-any.whl
(10.9 kB
view hashes)
Close
Hashes for word_tools-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa228896358b7f873e9d0b74578d9b0969e038086309b8c918992eb2788f7a42 |
|
MD5 | 3569c1c9cc83170e81b82ef758bd7338 |
|
BLAKE2b-256 | 4834d560e78b5f1b19a38f90c046724f10fbab7f66d557638452a28bd7aadad3 |