Skip to main content

Linter for gettext files

Project description

padpo

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).

WORK IN PROGRESS

License

BSD 3-clause

Pull request are welcome.

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

Installation

Automatic installation

pip install padpo

Manual installation

  1. Create a virtual environment with Python 3.7 and above

    python3.7 -m venv venv
    
  2. Activate the virtual environment

    source venv/bin/activate
    
  3. Install dependencies

    poetry install
    

    Note: this uses poetry that you can get here: https://poetry.eustace.io/docs/

Update on PyPI

./deliver.sh

Changelog

v0.4.0

Project details


Download files

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

Source Distribution

padpo-0.4.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

padpo-0.4.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file padpo-0.4.0.tar.gz.

File metadata

  • Download URL: padpo-0.4.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0b4 CPython/3.8.0 Linux/4.15.0-70-generic

File hashes

Hashes for padpo-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d6a2bc383b4e08e3841d770cc1263036b2f7fc355757b0c954e56a7792f6a893
MD5 b29d09602d55ccdb9827bd1f8c102ef2
BLAKE2b-256 54e425b02ebef29bfa34055bb20fa2df5d0ba75f2b527019d8d9a07a536c69db

See more details on using hashes here.

File details

Details for the file padpo-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: padpo-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0b4 CPython/3.8.0 Linux/4.15.0-70-generic

File hashes

Hashes for padpo-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2b448976af6a78eaa39d42e95ff54dc24bf6422b1f040848a933afe9d5fc716
MD5 ff0947bc4b0d28005b869776dd537f4e
BLAKE2b-256 da5a6e4f73d7e391ac4c43d1f2a4e3a1c1c1ffe73626b9a56d3343e9deec2847

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page