Skip to main content

Python text speller

CI Coverage Status Pypi

pyaspeller (Python Yandex Speller) is a cli tool and pure python library for searching typos in texts, files and websites.

Spell checking uses Yandex.Speller API. (restrictions)

Installation

  • Highly recommend to use latest uv
  • uv add pyaspeller (for library mode)

Features

  • Command line tool

You can correct your local files or web pages

$ uvx pyaspeller ./doc
$ uvx pyaspeller https://team-tricky.github.io
$ uvx pyaspeller "в суббботу утромъ"
в субботу утром
  • Library

Use speller for your code

>>> from pyaspeller import YandexSpeller
>>> speller = YandexSpeller()
>>> fixed = speller.spelled('Triky Custle is a great puzzle game.')
>>> fixed
'Tricky Castle is a great puzzle game.'

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'

Also, there are available rust and javascript versions of this speller.

Metadata

Release files for pyaspeller 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyaspeller 2.0.2
File Size Uploaded Provenance Actions
pyaspeller-2.0.2.tar.gz 41.0 kB Without provenance Details for pyaspeller-2.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyaspeller 2.0.2
File Interpreter ABI Platform Actions
pyaspeller-2.0.2-py3-none-any.whl Python 3 none any Details for pyaspeller-2.0.2-py3-none-any.whl

Total release size: 57.2 kB

Release files / pyaspeller-2.0.2.tar.gz

Download URL pyaspeller-2.0.2.tar.gz
Size 41.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0aed696ab1ca11ca9d1a3874c7c2061fd567be9a2f1eff7b8e772031837701c0
BLAKE2b-256 checksum
How to use checksums
6e83a4039c08cb9a57d8b7ad9e119fd87ab73ca6a8c4ea1421095afa70077979
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.13

Release files / pyaspeller-2.0.2-py3-none-any.whl

Download URL pyaspeller-2.0.2-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ae806e7054b0758521dfccadee1aa79747220cb88f21e06f211c59b27fd8e85
BLAKE2b-256 checksum
How to use checksums
73abaf7783445d4b564a8c4f6830f4126a219901c14f6b02c03c87a3853f0bb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.13

Security for pyaspeller 2.0.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page