A simple yet fast spellchecker that works with Hunspell dictionaries
Project description
ZSpell
Python bindings for the Rust zspell library: a simple yet fast spellchecker.
To use this library, you will need a dictionary in the language of your choice. Many are available at the following repository: https://github.com/wooorm/dictionaries
The full Python API documentation is available at https://zspell.readthedocs.io
from zspell import Dictionary
with open ("dictionaries/en_US.aff", "r") as f:
config_str = f.read()
with open ("dictionaries/en_US.dic", "r") as f:
dict_str = f.read()
d = Dictionary(config_str, dict_str)
assert(d.check("Apples are good! Don't you think?"))
assert(not d.check("Apples are baaaad"))
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
zspell-0.3.1.tar.gz
(281.0 kB
view hashes)
Built Distributions
zspell-0.3.1-cp311-none-win_amd64.whl
(598.2 kB
view hashes)
zspell-0.3.1-cp310-none-win_amd64.whl
(598.2 kB
view hashes)
zspell-0.3.1-cp39-none-win_amd64.whl
(598.5 kB
view hashes)
zspell-0.3.1-cp38-none-win_amd64.whl
(598.1 kB
view hashes)
zspell-0.3.1-cp37-none-win_amd64.whl
(598.0 kB
view hashes)
Close
Hashes for zspell-0.3.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fce03c84a3bf5694f65c28804610ae896dbbdc0dac0c08517fd6df0e14c3b3ee |
|
MD5 | 66652d24231ecfec92b475463e3d93eb |
|
BLAKE2b-256 | bc23781817fab86b6a2869081e68bdaca9d8c9f3b4a30409b1adcde367f37ab7 |
Close
Hashes for zspell-0.3.1-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f102a81b27a5db6b194d85feca602e32ea4f18fc5e0f1eeba37d8a4985f33e0b |
|
MD5 | 3cfe61fdd6ae697ef1b0e920126cc6e1 |
|
BLAKE2b-256 | 5c2ee0be83bd96361bb66093cf601b7644ecbc10b6d88af86f25bf1f21ad87cd |
Close
Hashes for zspell-0.3.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcc3756373218244ced36b0bd72c4d2619aecf2bb48914b20b336fed86baafd0 |
|
MD5 | a105bef0dbe39b88adeb0ea2c13523c4 |
|
BLAKE2b-256 | 9ca0decf8f76006a02b263a6ed85ca7fcd2b38c5522bce77703131f6650a9d32 |
Close
Hashes for zspell-0.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ca91daf644d5ad44df8ca7f887288f3d44d9f6ef1e450bdac66e8e17229f4c |
|
MD5 | 59a31931474a95cf79a516b8cdace050 |
|
BLAKE2b-256 | c335c417a05346faa8036f621c783062bf2584e9739d272688e271444a15f866 |
Close
Hashes for zspell-0.3.1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5f01fbddaa793f653d5a80f38c59bc531c4ec0670056b1d55e2d386933ff6e5 |
|
MD5 | 72bec1759e3fc3e6eec340df6ad0ac6e |
|
BLAKE2b-256 | bceb566064f1327d3cfd4dedc38d417bbbf4829ef069f0fcc607f2f8dfa8b545 |
Close
Hashes for zspell-0.3.1-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e943b2d60a9eb5d7737fb32acdb744605d25c87b4d57755723106a37ac3c6e28 |
|
MD5 | 9802d537e173cf1296fa9d210e72c86e |
|
BLAKE2b-256 | 6f35bc3c3b11c3dccc10369dd6bbcb43e58b96e8d262693df7e0fda642ff586c |
Close
Hashes for zspell-0.3.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fc66793615900d5cf0eeff149b42e33d55be6755400e6a3f48442a2cd5ebebb |
|
MD5 | 0a1351b9ce0fc4600d2ff4e239bfaeca |
|
BLAKE2b-256 | c16fd142e4b007c5822464a20fb8532fa093c6036dbda70f1b8e5f64c9c390af |
Close
Hashes for zspell-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6d467c906a988f43bdc6904b747b58b50567a009e288a9926f3ecddc07b72ff |
|
MD5 | 5f3e1b4d0d319b7ef96539844a3e0f04 |
|
BLAKE2b-256 | 71d6c96fc5b1abaf8f99167eef6067d5696515cd94b36afda51bd59e8be55a97 |
Close
Hashes for zspell-0.3.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09a54aa67fd83fcbfec7f00879c290978dcd25824c6a8e735fc20da618159750 |
|
MD5 | 90a753a28b2bb07574d75f734b12d4ca |
|
BLAKE2b-256 | 3e337ea17342df0500f3f3b5f789e52b0e85d765c998e0ad6414754dcf1dce3a |
Close
Hashes for zspell-0.3.1-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b56076f8bbf42493e117ccb1b4d4ef327b1803bb584a09b134f01c14b350dcf3 |
|
MD5 | b6d52cc63d67ce7bc4ad83591eb0e3fc |
|
BLAKE2b-256 | c928303cbef3ff837078821cbae16e52e5f6f48b71b035a6ca245bee4e752fca |
Close
Hashes for zspell-0.3.1-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6baf8cd88db81d0090c23f3815ae6bfca355d36791f5108889d583421eaaac49 |
|
MD5 | b1e1bb0482182d9e8a22dc417244caf3 |
|
BLAKE2b-256 | 1f2580c6436164c00ed9549b9ee03049dafa1f0eba113342e74a8a79eec3ab87 |
Close
Hashes for zspell-0.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca92648edc5a2e7569ae62e82f43f91ac4dd1bb1685627b12c16ff300172a952 |
|
MD5 | b2bc21e0a82ef72bd46d02d2f85bedf4 |
|
BLAKE2b-256 | 0a65d694f08c5c35f549aedcbc27094a388c49b345055c79a55f165b60bfb872 |
Close
Hashes for zspell-0.3.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32779304e7728229124250c95dae974de4f45b0635ceddbf91284d0fe76d4a6f |
|
MD5 | 0a9f748591d1527520969e8a56d78439 |
|
BLAKE2b-256 | 059d86bc8e7ecf61a3db47451d4d8ba2df8ed1283225f002b8e42a58061e9204 |
Close
Hashes for zspell-0.3.1-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6c6175f413a4f28f3e69d9ddd0f25b057faf3e1d312dd2b44d67d75d03fa0aa |
|
MD5 | 308fe8526d6f06ce7dda588f5372a473 |
|
BLAKE2b-256 | 76c04b790b6bf1438f107a6f3445bb88a83202c73ad5903863efebb7ad999663 |
Close
Hashes for zspell-0.3.1-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ea0f5bc27d4705d26f91e5c56fcb1b1277d3f130e9c5c2c91ffbb158879f644 |
|
MD5 | d56b98fe854543dd23777f80aa98456e |
|
BLAKE2b-256 | 1d8eb023c24ad2ad1f71f8d2a5f4d7442056e08993f27142a043f124431b7f56 |
Close
Hashes for zspell-0.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 799cd4293b406c5f9496a8f257bf58ccb4b5c02223d9d9d8b80b2839e53cd8a0 |
|
MD5 | 8c581b50711d16d0870168c9a0f6d4cb |
|
BLAKE2b-256 | f0a92a4f7fdbdf2da1644cc00680f7253582192849387775bfc4e2de257df0e2 |
Close
Hashes for zspell-0.3.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed3b20bfc9892f82ccceda71251ecd3799a5814c3aebbb245616e67ee016fadd |
|
MD5 | 805623c28e3385a479ca631f2258f569 |
|
BLAKE2b-256 | bed0e61cef0d282b50ea197f4517eeb9b75ffd957a210f720819801978bab6af |
Close
Hashes for zspell-0.3.1-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4ed435471ab8270deba09abfcf14fc2d7c94944b75bc66a1d0cc1d2b63fc9c0 |
|
MD5 | 6f1eeae084b8949951212538d22481e9 |
|
BLAKE2b-256 | 2b59d729bae284fb662da07a8d5994a150be449454c6e1553ae5534a5ae6d87c |
Close
Hashes for zspell-0.3.1-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a166fcda10a0bcf4c0ceafd2d929518e2befce28936e755ae5c7819889104237 |
|
MD5 | d226642b2517a3bbe38ee8ec03ba3674 |
|
BLAKE2b-256 | 1a982517621f0ed5537ee7bdadc8f7248865556db21ce0832a4a28979804a135 |
Close
Hashes for zspell-0.3.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc43403963bd6e97d8a04a0ee8f0d759fe8b52ac23ddfc5c06ff374b4331ac68 |
|
MD5 | 4afaf1f7519e6982090a23771090398f |
|
BLAKE2b-256 | 68692eefc5d02ab95ac80728c88edd8e94f3ea898081b2745ad22ba4f5e6f94e |
Close
Hashes for zspell-0.3.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a732af089a71779a58e37c607c211df805b002e1420e39905b5157fb61bf026 |
|
MD5 | 6eeda03fcf98ea9141bf760e00e844ec |
|
BLAKE2b-256 | a4c851eec02ddcade01622c2a242673f698be654a4dba6298a9f76dd2cd1a83a |