Skip to main content

Utilities to download word lists in Python

Project description

wordlists

Utilities to download word lists in Python.

Usage

from wordlists import update_lists, read_words


# Update the word lists from the web
update_lists()

# Get the words from a list
words = read_words("dwyl_alpha")

# Filter words which are 27 characters
words = [w for w in words if len(w) == 27]

# Print the words
print(words)  # ['electroencephalographically', 'hydroxydesoxycorticosterone', 'microspectrophotometrically']

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

wordlists-1.0.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

wordlists-1.0.0-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

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