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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
zspell-0.5.5-cp311-none-win_amd64.whl
(803.6 kB
view hashes)
zspell-0.5.5-cp310-none-win_amd64.whl
(804.0 kB
view hashes)
zspell-0.5.5-cp39-none-win_amd64.whl
(803.8 kB
view hashes)
zspell-0.5.5-cp38-none-win_amd64.whl
(803.9 kB
view hashes)
zspell-0.5.5-cp37-none-win_amd64.whl
(803.9 kB
view hashes)
Close
Hashes for zspell-0.5.5-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bf0e06f8dcb6e9861f42fcf4a1f5793c46cb2537245c6c4a61f0e78060a1f2e |
|
MD5 | dd59eea677df7b2df323429d3c28f838 |
|
BLAKE2b-256 | ebf531f7c2343fb957a743f1f06e15a42445b5e3eb66307755ebce0ef27df273 |
Close
Hashes for zspell-0.5.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5245a1f4cdcf9a03ddc236f7f8cf2afca7e33c7bb1f8de8838a3bb917087638 |
|
MD5 | 3caf776afaea66406abeaf3f57b16553 |
|
BLAKE2b-256 | 2d474a4100af2696cc99f8777c128d9b1c2a54754acfc482350c0ecae21d61a2 |
Close
Hashes for zspell-0.5.5-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb59b6f22ebbaff0706ba9139aabcc4b30575241906043dfe362575eb5c06a08 |
|
MD5 | 444c9341a78e6d2156397fb12e69c7de |
|
BLAKE2b-256 | 4378b4fa350c9910901ea20821cefaadbbea5e54d3f19a79360d91dc85706fac |
Close
Hashes for zspell-0.5.5-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f43d58ed98ed576fabee7afa86ccd7c8c1166b9b74365a39998ecc7e268621f |
|
MD5 | abec969280c23a5353b99936d7afa905 |
|
BLAKE2b-256 | 937b290082fd300f75e2115fd09476b15c56d2360719d3fb324ee2cde661b32d |
Close
Hashes for zspell-0.5.5-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 450a2d312b65478b7caf9a3d59e1f7bba272f462e08fcbf6fbd88a57bfc5533e |
|
MD5 | 6ce6eadc1d56e60a59e294ce7bb6aa28 |
|
BLAKE2b-256 | a899977cb9fdf811227cf2482e9cc8055d0b9abcb475a321127ee1744eb46a6e |
Close
Hashes for zspell-0.5.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52ea32e3ff6c63b465340e35a904c01d126fbc00a980d81d924993136808d9c0 |
|
MD5 | 1cb7ff4096fa9d1b13dbd681c9cc0a47 |
|
BLAKE2b-256 | c6cfd68e824fbea85cdd6acc6699948d3fcaf677daef613f83336349fb53efd8 |
Close
Hashes for zspell-0.5.5-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f825bd7aca34c7e62c97e933d7f04bbd131bc46125864866fc3cd22e365ff2cd |
|
MD5 | 922756b5ce5a0dba23207de568e45ac8 |
|
BLAKE2b-256 | 8e85bfc319f71396f8de2192ecea3329694544f2e4ae617b54c734e813427fbd |
Close
Hashes for zspell-0.5.5-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6f93f2c9a291afbbc8e6e8f4323dd31cc60599447ca1f5dd7934d81458dc845 |
|
MD5 | 9bd3bbd40f7528b0db86ef08fcb33167 |
|
BLAKE2b-256 | 1663760777760243e44eac70d7781a16701cd2fea484962418262555dbd04de5 |
Close
Hashes for zspell-0.5.5-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f2e9953ea25e5d73d4f65296a58d3d4c908f02172ef25e1f5e8594a976d8a26 |
|
MD5 | 8c2cd112a33ae87160f317d607828c41 |
|
BLAKE2b-256 | 3b15be09b98078368e34cf04c0290ab74742fb3ac02325c0a51fc1f068b0f9b1 |
Close
Hashes for zspell-0.5.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95bfa6960213f9b4699d1292b3b0e02166fe1e54761b5fea813d937fc892b700 |
|
MD5 | 28565180e7150a98504a70d1613d6d19 |
|
BLAKE2b-256 | 31ca234666209b879a21d7abd0a3c95205886195886d3e83185d1d84a596e38f |
Close
Hashes for zspell-0.5.5-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 448c35092efbf8f2e2f66b83e7c8fe0ab6989c61a90cdd8ad25d007ea1e38c17 |
|
MD5 | 85c5cd3aa05e4b8f627d40f2d185e254 |
|
BLAKE2b-256 | 160bd8f2b89909107b844f5cbd42aeb0f8790ad8ff44b7646af0b9ab98b1ceac |
Close
Hashes for zspell-0.5.5-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb185e0096ecf9512d76fce05faaeeb18e8bc89974c030408a2a5180b6156e39 |
|
MD5 | d6de12f0a02907657081b03e14610b7d |
|
BLAKE2b-256 | 2ba37f7756f611114d0c203cd00d65862a4cebc836712252b017646f39b9112a |
Close
Hashes for zspell-0.5.5-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3c6e51dcabd97d2359118951d63c4d401d95720ebf26016bb66a56283cca40b |
|
MD5 | 9adea3288515ffa202cad8dac7498117 |
|
BLAKE2b-256 | c0698f099da7f0c6f1d1f5cb6b50d17dee82cc5d145028f2949ae956f4fb0f74 |
Close
Hashes for zspell-0.5.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a03c7039ab7b41a99c5d17a2b62c32ebd6895fc8c607a8f3b672ab742b6bf32 |
|
MD5 | da6b862914c3050f6db1020028653eea |
|
BLAKE2b-256 | 59993c361ae22ff77517f8cfa1fdbddc0cbb6b60f7cb9d351757c123bbc2e820 |
Close
Hashes for zspell-0.5.5-cp39-cp39-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b27f6fdad46c51033f3ae1da04672fe8898ded2ac7ea3e1aeab4bfc69691f2be |
|
MD5 | 536833418c1fb0a41dcd3ec0b931723e |
|
BLAKE2b-256 | d98e11bcf3a5d1b656cf9d159c88de0be9ad8f353380d2deedd6e8d76a4bc8f3 |
Close
Hashes for zspell-0.5.5-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10564d03845926a0613e7d45f143fd16cd76cc56da3400b1fea2be98827b5ddf |
|
MD5 | 986efe146907eae476915d028effbeba |
|
BLAKE2b-256 | 6b0b1332ac54662c68735ef5fe1a14c876ac4fb582b1d29244c22197207eb6fb |
Close
Hashes for zspell-0.5.5-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2dd93feec541f95f1c8f005b64fff87359e11070dc3ccb6f6a0b041647b0d8b |
|
MD5 | 1e2622b9e782c014b5852efb2a793ea9 |
|
BLAKE2b-256 | 983c6f158eff66a1d04c08a44df384063828b1ce2aa014f64eb799ec6a037fa0 |
Close
Hashes for zspell-0.5.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a7dcd2eb9a8cd51b8b3346d4c0d02bfc29c0488b3abdc9771e12677a9a4eec1 |
|
MD5 | 8d971d4db986123a6e7a5976c8bd9f47 |
|
BLAKE2b-256 | 2061728decffbb70a22483a759c4b0da59c0205efc727be7630bcfdbbc5458fa |
Close
Hashes for zspell-0.5.5-cp38-cp38-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e5177dc326ce14e749f15e6a60935e362fd9fabad13eea6e41709902f434fc4 |
|
MD5 | 92b280e293e4f4eec5fdfd6e550ed536 |
|
BLAKE2b-256 | 51f0036f8de5a4ccba1e1f70c9819eabe08a9e2abe4e49a1c39c452edb64616b |
Close
Hashes for zspell-0.5.5-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50542c2e692ac9be033c314861b7cddda95f8135a7a52a8825c2fc016cdd2ad3 |
|
MD5 | 94dc3eadbe362067d40c44ce39e3758f |
|
BLAKE2b-256 | a654942aa2c82113962981f5e8ba1ca2f0ec2104dbf0353ba5ec1550d9a43b86 |
Close
Hashes for zspell-0.5.5-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddd08bfb2d6ebae549de88b149d193b44ed45fa9463165a353b223230e02d142 |
|
MD5 | 69e1866695b93f2fbe74e260ff686f47 |
|
BLAKE2b-256 | 140d54ac9fb0402d5b8bf7cfef0bf3f7a2e4188b352a472a3c2e12a820fa54f8 |
Close
Hashes for zspell-0.5.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7653c1d081792687e7fe77e45bca93c0f4caf362427b2b4ab66d50129ad35dc |
|
MD5 | 2a340db39100f732b1ea4d3621eb46be |
|
BLAKE2b-256 | 2481062faf32a09a1117181a67aff0e389cb7fa3a30f5992fe465eb0f67db6c3 |
Close
Hashes for zspell-0.5.5-cp37-cp37m-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32c281af58a53fcd10674b839921f298f6377d1dca2a6222b13a676107591f9c |
|
MD5 | 0ba9a7f10c9fbdd26400413d0d2d7f90 |
|
BLAKE2b-256 | e26545cdf46e62c9c6ec020920f88ef4757213d6e58a9139f42a15f3943a905a |