pospell 0.2.2
pip install pospell==0.2.2
Newer version available (1.3)
Released:
Spellcheck .po files containing reStructuredText translations
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT license)
- Author: Julien Palard
- Tags po, spell, gettext, reStructuredText, check, sphinx, translation
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Programming Language
Project description
pospell
pospell
is a spellcheckers for po files containing reStructuedText.
Examples
By giving files to pospell
:
$ pospell --language fr about.po
about.po:47:Jr.
about.po:55:reStructuredText
about.po:55:Docutils
about.po:63:Fredrik
about.po:63:Lundh
about.po:75:language
about.po:75:librarie
By using a bash expansion (note that we do not put quotes around
*.po
to let bash do its expansion):
$ pospell --language fr *.po
…
By using a glob pattern (note that we do put quotes around **/*.po
to keep your shell from trying to expand it, we'll let Python do the
expansion:
$ pospell --language fr --glob '**/*.po'
…
Usage
usage: pospell [-h] [-l LANGUAGE] [--glob GLOB] [--debug] [-p PERSONAL_DICT]
[po_file [po_file ...]]
Check spelling in po files containing restructuredText.
positional arguments:
po_file Files to check, can optionally be mixed with --glob,
or not, use the one that fit your needs.
optional arguments:
-h, --help show this help message and exit
-l LANGUAGE, --language LANGUAGE
Language to check, you'll have to install the
corresponding hunspell dictionary, on Debian see apt
list 'hunspell-*'.
--glob GLOB Provide a glob pattern, to be interpreted by pospell,
to find po files, like --glob '**/*.po'.
--debug
-p PERSONAL_DICT, --personal-dict PERSONAL_DICT
A personal dict (the -p
option) is simply a text file with one word
per line.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT license)
- Author: Julien Palard
- Tags po, spell, gettext, reStructuredText, check, sphinx, translation
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Programming Language
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
File details
Details for the file pospell-0.2.2.tar.gz
.
File metadata
- Download URL: pospell-0.2.2.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8799031da863f9a3f6422267d42d4ce88a43c886fed4a9c05001e414a1fe913d |
|
MD5 | 78b3b39b3542fea1cdda9dfdcb342e5c |
|
BLAKE2b-256 | 4ab54147482c34788ed880304517ff4365fe45199595d77a78ca9a462e571220 |