Skip to main content

padpo

PyPI PyPI Code style: Ruff Downloads Tests Maintainability Test Coverage

Linter for gettext files (*.po)

Created to help the translation of official Python docs in French: https://github.com/python/python-docs-fr

Il faut demander aux traducteurs s'ils n'ont pas de pot quand ils traduisent, maintenant ils ont padpo… :smile: :laughing: :stuck_out_tongue_winking_eye: :joy: (note : il était tard le soir quand j'ai trouvé le nom).

License

BSD 3-clause

Pull request are welcome.

Padpo is part of poutils!

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

Usage

Using the activated virtual environment created during the installation:

For a local input file:

padpo --input-path a_file.po

or for a local input directory:

padpo --input-path a_directory_containing_po_files

or for a pull request in python-docs-fr repository (here pull request #978)

padpo --python-docs-fr 978

or for a pull request in a GitHub repository (here python/python-docs-fr/pull/978)

padpo --github python/python-docs-fr/pull/978

Screenshot

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 padpo

Update on PyPI

./deliver.sh

Changelog

v0.12.0 (2024-11-06)

  • use uv
  • use pygrammalecte v1.4.0
  • compatible with Python 3.9 to 3.13

v0.11.0 (2021-02-02)

  • update glossary (fix #58)

v0.10.0 (2020-12-04)

  • use pygrammalecte v1.3.0
  • use GitHub Actions

v0.9.0 (2020-09-07)

  • use pygrammalecte default message for spelling errors

v0.8.0 (2020-08-25)

  • use pygrammalecte
  • add continuous integration
  • fix #12, #13, #14, #15, #17, #18, #20
  • add --color CLI option to get a colored output (default is colorless)

v0.7.0 (2019-12-11)

  • add --version CLI option to display the current version of padpo
  • --input-path CLI option now accepts several paths as in padpo --input-path file1.po file2.po directory1 directory2 or padpo -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)

Metadata

Release files for padpo 0.12.0

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

Source distribution (sdist)

Source distribution for padpo 0.12.0
File Size Uploaded
padpo-0.12.0.tar.gz 13.8 kB Details

Built distribution (wheel)

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

Total release size: 31.0 kB

Release files / padpo-0.12.0.tar.gz

Download URL padpo-0.12.0.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
304092c3a747a91eda975bac15b39fb8c291a317fa41d387c1db9bbadc14277b
BLAKE2b-256 checksum
How to use checksums
29035bbed46169b66dcabd8644d2dd081187ad5756e7212e68842e8edf856d7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.4.30

Release files / padpo-0.12.0-py3-none-any.whl

Download URL padpo-0.12.0-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42cfe24272301ef02a46031ddc4914f1f5ea667a8debb7e6b195d1bdde3440a3
BLAKE2b-256 checksum
How to use checksums
e07c52706faa3ea59f53b20c52608c49e86514b9d59ecc566d7bbfa8e2f35209
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.4.30

Release history Release notifications | RSS feed

This release

0.12.0 This release

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1

2 release files

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