padpo


Namepadpo JSON
Version 0.12.0 PyPI version JSON
download
home_pageNone
SummaryLinter for gettext files
upload_time2024-11-06 19:51:20
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords gettext grammalecte linter
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            # padpo

[![PyPI](https://img.shields.io/pypi/v/padpo.svg)](https://pypi.python.org/pypi/padpo)
[![PyPI](https://img.shields.io/pypi/l/padpo.svg)](https://github.com/vpoulailleau/padpo/blob/master/LICENSE)
[![Code style: Ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)
[![Downloads](https://pepy.tech/badge/padpo)](https://pepy.tech/project/padpo)
[![Tests](https://github.com/AFPy/padpo/workflows/Tests/badge.svg)](https://github.com/AFPy/padpo/actions?query=workflow%3ATests)
[![Maintainability](https://api.codeclimate.com/v1/badges/bbd3044291527d667778/maintainability)](https://codeclimate.com/github/AFPy/padpo/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/bbd3044291527d667778/test_coverage)](https://codeclimate.com/github/AFPy/padpo/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](https://pypi.org/project/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](https://pypi.org/project/poutils) to discover the other tools!

## Usage

Using the _activated virtual environment_ created during the installation:

For a local input file:

```bash
padpo --input-path a_file.po
```

or for a local input directory:

```bash
padpo --input-path a_directory_containing_po_files
```

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

```bash
padpo --python-docs-fr 978
```

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

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

![Screenshot](screenshot.png)

### 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

```bash
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`](https://github.com/vpoulailleau/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)

- use poetry: https://poetry.eustace.io/docs/
- add some tests with tox and pytests
- fix some false positive issues with grammalecte

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "padpo",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "gettext, grammalecte, linter",
    "author": null,
    "author_email": "Vincent Poulailleau <vpoulailleau@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/29/03/5bbed46169b66dcabd8644d2dd081187ad5756e7212e68842e8edf856d7b/padpo-0.12.0.tar.gz",
    "platform": null,
    "description": "# padpo\n\n[![PyPI](https://img.shields.io/pypi/v/padpo.svg)](https://pypi.python.org/pypi/padpo)\n[![PyPI](https://img.shields.io/pypi/l/padpo.svg)](https://github.com/vpoulailleau/padpo/blob/master/LICENSE)\n[![Code style: Ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)\n[![Downloads](https://pepy.tech/badge/padpo)](https://pepy.tech/project/padpo)\n[![Tests](https://github.com/AFPy/padpo/workflows/Tests/badge.svg)](https://github.com/AFPy/padpo/actions?query=workflow%3ATests)\n[![Maintainability](https://api.codeclimate.com/v1/badges/bbd3044291527d667778/maintainability)](https://codeclimate.com/github/AFPy/padpo/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/bbd3044291527d667778/test_coverage)](https://codeclimate.com/github/AFPy/padpo/test_coverage)\n\nLinter for gettext files (\\*.po)\n\nCreated to help the translation of official Python docs in French: https://github.com/python/python-docs-fr\n\nIl faut demander aux traducteurs s'ils n'ont pas de pot quand ils traduisent, maintenant ils ont `padpo`\u2026\n:smile: :laughing: :stuck_out_tongue_winking_eye: :joy: (note\u00a0: il \u00e9tait tard le soir quand j'ai trouv\u00e9 le nom).\n\n## License\n\nBSD 3-clause\n\nPull request are welcome.\n\n## Padpo is part of poutils!\n\n[Poutils](https://pypi.org/project/poutils) (`.po` utils) is a metapackage to easily install useful Python tools to use with po files\nand `padpo` is a part of it! Go check out [Poutils](https://pypi.org/project/poutils) to discover the other tools!\n\n## Usage\n\nUsing the _activated virtual environment_ created during the installation:\n\nFor a local input file:\n\n```bash\npadpo --input-path a_file.po\n```\n\nor for a local input directory:\n\n```bash\npadpo --input-path a_directory_containing_po_files\n```\n\nor for a pull request in python-docs-fr repository (here pull request #978)\n\n```bash\npadpo --python-docs-fr 978\n```\n\nor for a pull request in a GitHub repository (here python/python-docs-fr/pull/978)\n\n```bash\npadpo --github python/python-docs-fr/pull/978\n```\n\n![Screenshot](screenshot.png)\n\n### Color\n\nBy default, the output is colorless, and formatted like GCC messages. You can use `-c`\nor `--color` option to get a colored output.\n\n## Installation\n\n### Automatic installation\n\n```bash\npip install padpo\n```\n\n## Update on PyPI\n\n`./deliver.sh`\n\n## Changelog\n\n### v0.12.0 (2024-11-06)\n\n- use `uv`\n- use `pygrammalecte` v1.4.0\n- compatible with Python 3.9 to 3.13\n\n### v0.11.0 (2021-02-02)\n\n- update glossary (fix #58)\n\n### v0.10.0 (2020-12-04)\n\n- use `pygrammalecte` v1.3.0\n- use GitHub Actions\n\n### v0.9.0 (2020-09-07)\n\n- use `pygrammalecte` default message for spelling errors\n\n### v0.8.0 (2020-08-25)\n\n- use [`pygrammalecte`](https://github.com/vpoulailleau/pygrammalecte)\n- add continuous integration\n- fix #12, #13, #14, #15, #17, #18, #20\n- add `--color` CLI option to get a colored output (default is colorless)\n\n### v0.7.0 (2019-12-11)\n\n- add `--version` CLI option to display the current version of `padpo`\n- `--input-path` CLI option now accepts several paths as in\n  `padpo --input-path file1.po file2.po directory1 directory2` or\n  `padpo -i file1.po file2.po directory1 directory2`\n\n### v0.6.0 (2019-12-9)\n\n- check errors against defined glossaries\n\n### v0.5.0 (2019-12-3)\n\n- check spelling errors with grammalecte\n- tag releases!\n\n### v0.4.0 (2019-12-2)\n\n- use poetry: https://poetry.eustace.io/docs/\n- add some tests with tox and pytests\n- fix some false positive issues with grammalecte\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Linter for gettext files",
    "version": "0.12.0",
    "project_urls": {
        "documentation": "https://github.com/AFPy/padpo",
        "homepage": "https://github.com/AFPy/padpo",
        "repository": "https://github.com/AFPy/padpo"
    },
    "split_keywords": [
        "gettext",
        " grammalecte",
        " linter"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e07c52706faa3ea59f53b20c52608c49e86514b9d59ecc566d7bbfa8e2f35209",
                "md5": "262f0108bfb05f07d938fa6a53720ca0",
                "sha256": "42cfe24272301ef02a46031ddc4914f1f5ea667a8debb7e6b195d1bdde3440a3"
            },
            "downloads": -1,
            "filename": "padpo-0.12.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "262f0108bfb05f07d938fa6a53720ca0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 17183,
            "upload_time": "2024-11-06T19:51:18",
            "upload_time_iso_8601": "2024-11-06T19:51:18.911513Z",
            "url": "https://files.pythonhosted.org/packages/e0/7c/52706faa3ea59f53b20c52608c49e86514b9d59ecc566d7bbfa8e2f35209/padpo-0.12.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "29035bbed46169b66dcabd8644d2dd081187ad5756e7212e68842e8edf856d7b",
                "md5": "3f873ada1f76c04a2bc2343701313840",
                "sha256": "304092c3a747a91eda975bac15b39fb8c291a317fa41d387c1db9bbadc14277b"
            },
            "downloads": -1,
            "filename": "padpo-0.12.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3f873ada1f76c04a2bc2343701313840",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 13820,
            "upload_time": "2024-11-06T19:51:20",
            "upload_time_iso_8601": "2024-11-06T19:51:20.786141Z",
            "url": "https://files.pythonhosted.org/packages/29/03/5bbed46169b66dcabd8644d2dd081187ad5756e7212e68842e8edf856d7b/padpo-0.12.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-06 19:51:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "AFPy",
    "github_project": "padpo",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "lcname": "padpo"
}
        
Elapsed time: 0.32979s