Skip to main content

Utilities for performing actions on words, or collections of words.

Project description

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

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

word_tools-0.2.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

word_tools-0.2.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file word_tools-0.2.0.tar.gz.

File metadata

  • Download URL: word_tools-0.2.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10

File hashes

Hashes for word_tools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 de689187712855768dc26d887eecbd92d0c75ff75f96964baea2c575272b544b
MD5 1b3413df612222a4723301c07ad613b8
BLAKE2b-256 5d2a73d8cb0dec4c249e81367c196863da6fbee3a739f05be09886fadb363e31

See more details on using hashes here.

File details

Details for the file word_tools-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: word_tools-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10

File hashes

Hashes for word_tools-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7466d35eca7477ef02c942c730389a9926d5b159b1523dcf61d92ecc50b46da1
MD5 5e50246d95db3eb4b782f71f2332c488
BLAKE2b-256 82c8ba6059d266675c71e774dbde915050e8312741bdc5c70641e91f93a4f3f3

See more details on using hashes here.

Supported by

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