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.1-cp311-none-win_amd64.whl
(801.6 kB
view hashes)
zspell-0.5.1-cp310-none-win_amd64.whl
(801.7 kB
view hashes)
zspell-0.5.1-cp39-none-win_amd64.whl
(801.9 kB
view hashes)
zspell-0.5.1-cp38-none-win_amd64.whl
(802.0 kB
view hashes)
zspell-0.5.1-cp37-none-win_amd64.whl
(801.5 kB
view hashes)
Close
Hashes for zspell-0.5.1-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c01c31139d48935c1ed16bee3a6c7216e237fec7eb7843cabd9615ef927a9550 |
|
MD5 | e079979aa0d01b36c7eca37b54cdd0bb |
|
BLAKE2b-256 | f4004bd39a723cb02fb9f81f3f19fe610c45856cc4463996c72f152f78cc2ffb |
Close
Hashes for zspell-0.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1629e0777aeed5ab5549c22d3ac514a3abc766a5b8b2645255511200a02719ae |
|
MD5 | a9dcef095400c5cf82d8f12e65879764 |
|
BLAKE2b-256 | b4ec5c9b5fd7afead9c22a3f6fc8af9ee349cc13da3ce80413914fc65c01da33 |
Close
Hashes for zspell-0.5.1-cp312-cp312-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e2f642b29c33514231e2a68a282a7def01d4f98684c897b203db37350a66bf8 |
|
MD5 | aa66061d5ad763a472f871a4c8d5de90 |
|
BLAKE2b-256 | 4041ad8bf57598980f44c902cb153e8c2314e3e99a28139680906ac7d2d9e49c |
Close
Hashes for zspell-0.5.1-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a15a6a7c3693115ad10e8aa63ed493587630db62b7b2299cfb843c11b2ce8f0 |
|
MD5 | 70d81754e6cc78e222462100abc02d98 |
|
BLAKE2b-256 | be4ea92599bd4d4c27b79b4234e64f249b042d01ce0945b0bbdb531310bdfb43 |
Close
Hashes for zspell-0.5.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1d80d4e28c4fbeaf9cb1cb340e092b0a5f077fc77aeda3686a40f78e55da6cf |
|
MD5 | d74820950307beebc61f8a83492b107b |
|
BLAKE2b-256 | ab9854157062da0a3769c6f1979cd5071d60978f7346e21f6e70dce11b450396 |
Close
Hashes for zspell-0.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58146dd6f87656ddc552b9efce058e86d470137c7c35203f4064022a17ccc1a0 |
|
MD5 | 6f1f4aca8939e738a183178c38e96275 |
|
BLAKE2b-256 | 86c0f8417f45bcdf0a40e26dfa0f39db5f887795214da6f26c41e3d6b2beecaa |
Close
Hashes for zspell-0.5.1-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13fcf8c3c7c4a0b5b89b34a26fa6dc49013e81b343f6fabcb1efa38b8d128720 |
|
MD5 | a4679d6c2a4345ddc1b728e194a4416c |
|
BLAKE2b-256 | 5f1d30fd1e7d8d8e9e6359d252f515c74e904c22c90961458b103d5e900c8591 |
Close
Hashes for zspell-0.5.1-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13fc2d2cb829dfdfb6fc8ee1ee844d3980d0686240a96ef4039f22b74af56730 |
|
MD5 | 841efcbb789d90eb4b4ac186b66569e4 |
|
BLAKE2b-256 | fc681fd617eaaf393bda349a0eacb6aff3391034b8b0d76034f972758906e60a |
Close
Hashes for zspell-0.5.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c43e455db402757139f4ffb97f9a622a8ab934b710f72164cb199e5c2ccfebe7 |
|
MD5 | 3a307521c1b0d3ed46167482279481ab |
|
BLAKE2b-256 | fb1107a9573778daf202cd79ea04fd9d50d4cea1e8c4d4a091f6db41e9c4519e |
Close
Hashes for zspell-0.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f2e5d49b707dae9e06bb4910588d706ba358065b07ff9e357daa13ddbf1911d |
|
MD5 | 6db5af8370abf69b6635e83b0b6779ad |
|
BLAKE2b-256 | 5bcf1abe6014724f16a0e1edf893a943912c69ab60c1849d995355d0a22609ac |
Close
Hashes for zspell-0.5.1-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbcdbe6e1e786f89b8b29f403c78557f5f15ac1368cda67f259d27e7a5c690a3 |
|
MD5 | 0980483a06b5069f9e85de8a55e68366 |
|
BLAKE2b-256 | 2aacb66f8f0a27c00f24950c52fa1bf53f44ea5fd437da42aa1afe73179ca901 |
Close
Hashes for zspell-0.5.1-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 754cb875f5dcfe405a18443778bc3d54f12be1bbf18ae26e81edb44e4f9bdee0 |
|
MD5 | ce6c06da9a3af7f36b25de1d1bd4e957 |
|
BLAKE2b-256 | 1b51d2213132135ec0fde7678641cf953702f960cacbcb95791a17e5f6e401de |
Close
Hashes for zspell-0.5.1-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ed29c30895daae5fe8c1ee21fc5f7a23dd75196e7886d8becce626edc26f09d |
|
MD5 | 3ee4b6684e0044eb6573b22ca8d38987 |
|
BLAKE2b-256 | ee55f58a92ae17a400fbf185548bfa72ecae51f42c77c9e0856f797453c584a1 |
Close
Hashes for zspell-0.5.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5c1c8ab23857757321f3f365dc81ecaab64994078af372b48df1b81fc23130d |
|
MD5 | c6ca23b3636ae5ec8cc81d331b6ddc8e |
|
BLAKE2b-256 | e926f5ab271dbfd6106b30fd7682776adb1e856e3bf5139d104bafbd03e3357a |
Close
Hashes for zspell-0.5.1-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f520dcf2799cad1c2a1bace96bcc4562a2110e4f660d47e2c7e44abb209f0a7 |
|
MD5 | e85a44db98d5358f1ec1a8926d364a67 |
|
BLAKE2b-256 | d813e0e073cc4cbc0ada278e7a5337ad629d7d0cc0c50f8f4639ef1bf103b048 |
Close
Hashes for zspell-0.5.1-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fb07eb73c4ec1eed1d3b01e8b066bcbbcf1f4af1add30f219cd210e941a4d7a |
|
MD5 | 94f51dadc015851696b054c68f7b5fa8 |
|
BLAKE2b-256 | e9e6c6589a7b5922a85596f99f118bba0673828740b556e70081b5cb7d3082bd |
Close
Hashes for zspell-0.5.1-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a8163bbb0f4d91f78c0d430a3ec318a7cb22b6d1019d76176acaa79f8b6e245 |
|
MD5 | 42c0b96b1ac259abcd531f89c1180c15 |
|
BLAKE2b-256 | f51bbc588c6dac8a813a54b6cb4bea63dd56a8053d7adf1a1f79142f1e2a0b66 |
Close
Hashes for zspell-0.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 622f0e54f5b03c18e3c429b8487c08f0f3d4f47e29d3310f87b13c4028e262fc |
|
MD5 | 14f14734bfd3a655095defafefb55028 |
|
BLAKE2b-256 | 5553bc88d68e311cadab1d3289339f32de47d25a171053c32c1ba411ae842e23 |
Close
Hashes for zspell-0.5.1-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edae15c9d088e5a6d567995378edada7dae215332975ce19b78929d7708d079b |
|
MD5 | 9a71f863a7cc5b49a37683990ba253ad |
|
BLAKE2b-256 | a1da83cc250304adc6c91a6860c41892dbe9bee0c5aefbc5474e8d06474c3fcb |
Close
Hashes for zspell-0.5.1-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0248813fe5c80e02b8a77966547246bfaa8683943ee961ce6754bba5e78fa99a |
|
MD5 | 140414821c2a7f849c0d8ea5518e38cc |
|
BLAKE2b-256 | e561497332bd81a2b122bae77d756596a45a9f7983812901d2516e64051f004d |
Close
Hashes for zspell-0.5.1-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eba24ef396e93d60853905cfd3cd50a5890a7128c649245a1d2188587aa83d2e |
|
MD5 | 094893ea918089fb0899e76d62bf5170 |
|
BLAKE2b-256 | 01a9daf05c11c044d2b020fe429fbca1d81ad883f3f0f4a494c59d5139ab4772 |
Close
Hashes for zspell-0.5.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b373faa1cfdde8d05e4b094b748ef36d21a4e19fe01deba3f9750b9a6eb5c43 |
|
MD5 | e86f6023e8b4a09e2196b09c53f5a976 |
|
BLAKE2b-256 | 9b3a71159e45c0d38c089e36f9a84fa0f38f37e1314e1f27d42c444bd38c07b5 |
Close
Hashes for zspell-0.5.1-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7ef1364cebbb46cd5263d99dea770589f1725994f048f9586ea228c5f2c2228 |
|
MD5 | 5bf83a10d20837b7d3d6d981672d2221 |
|
BLAKE2b-256 | 949e91d7041b0acc291230bbecf4dcb047a51ca83af43f461be2b59b0fa675d4 |