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
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
wordlists-1.0.0.tar.gz
(2.7 kB
view details)
Built Distribution
File details
Details for the file wordlists-1.0.0.tar.gz
.
File metadata
- Download URL: wordlists-1.0.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.15.5-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43afcd8864922e9671109a019404f996aa71417725f91bcf1f0cd3712c51ebc9 |
|
MD5 | 37f6dbf5e6b110d4079d148184794eb8 |
|
BLAKE2b-256 | a245952adccd13cfa8bc66a7699d8770fcffa3b28fe2fba8edaf1b479e95614a |
File details
Details for the file wordlists-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: wordlists-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.15.5-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb41ae194b3cdb58bbf1c6856913e5664cd168cb365795f092c15275f9735a91 |
|
MD5 | d03cb64334b692656bb7a1441ac212b4 |
|
BLAKE2b-256 | 09ca1198363b3ed29e81ab71f83c6b21ccc4d575ee7825905baa64c5dea846b1 |