padpoes
Linter for gettext files (*.po)
Forked from https://github.com/AFPy/padpo
Created to help the translation of official Python docs in Spanish: https://github.com/python/python-docs-es
Thanks and creadits to all the python-docs-fr team (L)
License
BSD 3-clause
Pull request are welcome.
Usage
Using the activated virtual environment created during the installation:
For a local input file:
padpoes --input-path a_file.po
or for a local input directory:
padpoes --input-path a_directory_containing_po_files
or for a pull request in python-docs-fr repository (here pull request #978)
padpoes --python-docs-fr 978
or for a pull request in a GitHub repository (here python/python-docs-es/pull/978)
padpoes --github python/python-docs-fr/pull/978
Color
By default, the output is colorless, and formatted like GCC messages. You can use -c
or --color option to get a colored output.
Installation
Automatic installation
pip install padpoes
Manual installation
-
Install dependencies
poetry installNote: this uses
poetrythat you can get here: https://poetry.eustace.io/docs/ -
Use virtual environment$
poetry shell
Update on PyPI
./deliver.sh
Changelog
v0.12.0 (2021-03-22)
- Removes
pygrammalect - Removes NBSP checker
- Migrates CLI commands to python-docs-es repository
- Change glossary from French to Spanish
v0.11.0 (2021-02-02)
- update glossary (fix #58)
v0.10.0 (2020-12-04)
- use
pygrammalectev1.3.0 - use GitHub Actions
v0.9.0 (2020-09-07)
- use
pygrammalectedefault message for spelling errors
v0.8.0 (2020-08-25)
- use
pygrammalecte - add continuous integration
- fix #12, #13, #14, #15, #17, #18, #20
- add
--colorCLI option to get a colored output (default is colorless)
v0.7.0 (2019-12-11)
- add
--versionCLI option to display the current version ofpadpo --input-pathCLI option now accepts several paths as inpadpo --input-path file1.po file2.po directory1 directory2orpadpo -i file1.po file2.po directory1 directory2
v0.6.0 (2019-12-9)
- check errors against defined glossaries
v0.5.0 (2019-12-3)
- check spelling errors with grammalecte
- tag releases!
v0.4.0 (2019-12-2)
- use poetry: https://poetry.eustace.io/docs/
- add some tests with tox and pytests
- fix some false positive issues with grammalecte
Metadata
Release files for padpoes 0.12.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 |
|---|---|---|---|---|
| padpoes-0.12.0.tar.gz | 10.8 kB | Without provenance | Details for padpoes-0.12.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| padpoes-0.12.0-py3-none-any.whl | Python 3 | none | any | Details for padpoes-0.12.0-py3-none-any.whl |
Total release size: 23.1 kB
Release files / padpoes-0.12.0.tar.gz
| Download URL | padpoes-0.12.0.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2b3b23cb65b40eff102df279a08a080415e7f313911a82561858ec5e6372af5
|
|
BLAKE2b-256 checksum How to use checksums |
7954607925527b3e714f9ebe02130cfbf6a09f0ba67d931483c09e302aaa36ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.9.2 Linux/5.11.4-arch1-1
|
Release files / padpoes-0.12.0-py3-none-any.whl
| Download URL | padpoes-0.12.0-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4de7141d061b6d61b682ec486c2003cb6dba80b9212ef7ffb0e1ef93bd68dce
|
|
BLAKE2b-256 checksum How to use checksums |
7b33415ff591ad133451ccfda4db50a77333a9be0a9944020fe1cc0dae6bfea7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.9.2 Linux/5.11.4-arch1-1
|
Security for padpoes 0.12.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.