Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
PyPI

pospell 1.3

pip install pospell

Latest version

Released:

Spellcheck .po files containing reStructuredText translations

Verified details

These details have beenverified by PyPI
Maintainers
Avatar for JulienPalard from gravatar.comJulienPalardAvatar for seluj78 from gravatar.comseluj78

Unverified details

These details havenot been verified by PyPI
Project links
Meta
  • License: MIT License (MIT license)
  • Author:Julien Palard
  • Tags po, spell, gettext, reStructuredText, check, sphinx, translation
  • Requires: Python >=3.6
Classifiers

Project description

pospell

pospell is a spellcheckers for po files containing reStructuredText.

Pospell is part of poutils!

Poutils (.po utils) is a metapackage to easily install useful Python tools to use with po filesandpospell is a part of it! Go check outPoutils to discover the other tools!

Examples

By giving files topospell:

$ pospell --language fr about.poabout.po:47:Jr.about.po:55:reStructuredTextabout.po:55:Docutilsabout.po:63:Fredrikabout.po:63:Lundhabout.po:75:languageabout.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 wedo put quotes around**/*.poto keep your shell from trying to expand it, we'll let Python do theexpansion:

$ 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 wordper line.

Contributing

You can work in a venv, to install the project locally:

python-mpipinstall.

And to test it locally:

python-mpipinstalltoxtox-pall

Project details

Verified details

These details have beenverified by PyPI
Maintainers
Avatar for JulienPalard from gravatar.comJulienPalardAvatar for seluj78 from gravatar.comseluj78

Unverified details

These details havenot been verified by PyPI
Project links
Meta
  • License: MIT License (MIT license)
  • Author:Julien Palard
  • Tags po, spell, gettext, reStructuredText, check, sphinx, translation
  • Requires: Python >=3.6
Classifiers

Release historyRelease notifications |RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more aboutinstalling packages.

Source Distribution

pospell-1.3.tar.gz (8.6 kBview details)

UploadedSource

Built Distribution

pospell-1.3-py3-none-any.whl (7.9 kBview details)

UploadedPython 3

File details

Details for the filepospell-1.3.tar.gz.

File metadata

  • Download URL:pospell-1.3.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pospell-1.3.tar.gz
AlgorithmHash digest
SHA25620ebf43ce82b59fcfc3c2e2ad16accaf23a6eab345b25e1aeb33f2fa5010d4a9
MD55021e4e53fa7c62d6f85260db42210af
BLAKE2b-256fe996f867bbe463924a1d8f56ffcf8f289540a70d6df0c43116eaf1f6244ae95

See more details on using hashes here.

File details

Details for the filepospell-1.3-py3-none-any.whl.

File metadata

  • Download URL:pospell-1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pospell-1.3-py3-none-any.whl
AlgorithmHash digest
SHA25626db89967a9e08adc2d2d7e994c9a6cc9180d8801749ae5f2e35e9e8043d22d3
MD506bcfef66f2e3c327fced5701a1a1b21
BLAKE2b-256d466da37a38f95fafa0b12411ea7c5b18eba6ca205419161b02ebec3c280837c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security SponsorDatadog MonitoringFastly CDNGoogle Download AnalyticsPingdom MonitoringSentry Error loggingStatusPage Status page

[8]ページ先頭

©2009-2025 Movatter.jp