Python text speller
pyaspeller (Python Yandex Speller) is a search tool typos in the text, files and websites.
Used Yandex.Speller API. (restrictions)
Features
You can correct your local files
$ pyaspeller ./doc
$ pyaspeller "в суббботу утромъ"
в субботу утром
If you want to check a text you can use:
>>> from pyaspeller import YandexSpeller
>>> speller = YandexSpeller()
>>> fixed = speller.spelled('В суббботу утромь.')
>>> fixed
'В субботу утром.'
You can use class Word for single word queries:
>>> from pyaspeller import Word
>>> check = Word('tesst')
>>> check.correct
False
>>> check.variants
[u'test']
>>> check.spellsafe
u'test'
Installation
To install pyaspeller, simply do:
$ python3 -m pip install pyaspeller
$ pyaspeller --help
If you're stil using version for python2 you can use outdated version:
pip install pyaspeller==0.1.0
Thanks to
- Dependencies scanned by PyUp.io
Metadata
Release files for pyaspeller 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyaspeller-0.2.0.tar.gz | 11.6 kB | Without provenance | Details for pyaspeller-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyaspeller-0.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pyaspeller-0.2.0-py2.py3-none-any.whl |
Total release size: 23.7 kB
Release files / pyaspeller-0.2.0.tar.gz
| Download URL | pyaspeller-0.2.0.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ffee2e9b32df479e266a9297494f514f65c12a948f06db301f89e879e952ddd
|
|
BLAKE2b-256 checksum How to use checksums |
29a9e92e85c643c87a0a776380867c75a104ccb442c61220847154b3d8a7cf6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.9
|
Release files / pyaspeller-0.2.0-py2.py3-none-any.whl
| Download URL | pyaspeller-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e5a6848db02d1c10cc4015327d386da94684bf2090562333847479353da01be2
|
|
BLAKE2b-256 checksum How to use checksums |
966fd48b211bf3c77c490707679a2e502d2686e4faa15ecca7cb5d3264a89fc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.9
|
Security for pyaspeller 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.