Name | powrap JSON |
Version |
1.0.2
JSON |
| download |
home_page | None |
Summary | Find and properly reindent .po files. |
upload_time | 2024-11-15 09:50:31 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.7 |
license | MIT License |
keywords |
powrap
po
gettext
i18n
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
powrap
======
|pypi| |build|
.. |pypi| image:: https://img.shields.io/pypi/v/powrap.svg
:target: https://pypi.python.org/pypi/powrap
.. |build| image:: https://woodpecker.afpy.org/api/badges/AFPy/powrap/status.svg
:target: https://woodpecker.afpy.org/AFPy/powrap
Script to fix indentation of given ``.po`` files. If ``--modified`` is
given, it will only fix modified files according to git (useful if
your ``.po`` files are versioned).
if ``--quiet`` is given, the progress bar will not be shown
Powrap 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 ``powrap`` is a part of it! Go check out `Poutils <https://pypi.org/project/poutils>`_ to discover the other tools!
Dependencies
============
``powrap`` relies on ``msgcat`` from ``gettext`` so you'll have to
install ``gettext`` first, for example on Debian run::
apt install gettext
Contributing
============
Start by creating a venv and ``pip install -r requirements-dev.txt`` in
it.
To run the tests, use ``tox -p auto``.
To install ``powrap`` in the current venv run ``pip install -e .``.
Dependencies
------------
We're using ``pip-tools`` to pin our dependencies, but in the
``setup.cfg`` our dependencies are *not* pinned, the goal is to ensure
``powrap`` can easily be installed along with other tools.
Dependencies pinning is only done to have a reproducible development
environment and corresponding env in the CI::
pip-compile setup.py # generates requirements.txt
pip-compile requirements-dev.in # generates requirements-dev.txt
It's possible to upgrade pinned dependencies with the ``--upgrade``
flag of ``pip-compile``.
Raw data
{
"_id": null,
"home_page": null,
"name": "powrap",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "powrap, po, gettext, i18n",
"author": null,
"author_email": "Julien Palard <julien@palard.fr>",
"download_url": "https://files.pythonhosted.org/packages/c0/fa/ef1bdecdf1df61c6c4b56509c1c231ade78d43d0f2a49ab8ee276ddbbe48/powrap-1.0.2.tar.gz",
"platform": null,
"description": "powrap\n======\n\n|pypi| |build|\n\n.. |pypi| image:: https://img.shields.io/pypi/v/powrap.svg\n :target: https://pypi.python.org/pypi/powrap\n\n.. |build| image:: https://woodpecker.afpy.org/api/badges/AFPy/powrap/status.svg\n :target: https://woodpecker.afpy.org/AFPy/powrap\n\nScript to fix indentation of given ``.po`` files. If ``--modified`` is\ngiven, it will only fix modified files according to git (useful if\nyour ``.po`` files are versioned).\n\nif ``--quiet`` is given, the progress bar will not be shown\n\n\nPowrap is part of poutils!\n==========================\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 ``powrap`` is a part of it! Go check out `Poutils <https://pypi.org/project/poutils>`_ to discover the other tools!\n\n\nDependencies\n============\n\n``powrap`` relies on ``msgcat`` from ``gettext`` so you'll have to\ninstall ``gettext`` first, for example on Debian run::\n\n apt install gettext\n\n\nContributing\n============\n\nStart by creating a venv and ``pip install -r requirements-dev.txt`` in\nit.\n\nTo run the tests, use ``tox -p auto``.\n\nTo install ``powrap`` in the current venv run ``pip install -e .``.\n\n\nDependencies\n------------\n\nWe're using ``pip-tools`` to pin our dependencies, but in the\n``setup.cfg`` our dependencies are *not* pinned, the goal is to ensure\n``powrap`` can easily be installed along with other tools.\n\nDependencies pinning is only done to have a reproducible development\nenvironment and corresponding env in the CI::\n\n pip-compile setup.py # generates requirements.txt\n pip-compile requirements-dev.in # generates requirements-dev.txt\n\nIt's possible to upgrade pinned dependencies with the ``--upgrade``\nflag of ``pip-compile``.\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Find and properly reindent .po files.",
"version": "1.0.2",
"project_urls": {
"Homepage": "https://git.afpy.org/AFPy/powrap"
},
"split_keywords": [
"powrap",
" po",
" gettext",
" i18n"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ad42ec7aa281b7b8a4b0b40f9de7ce31bbe4450e00a0b6752b1a2eab28c8ea98",
"md5": "d42312ce0a7010a0302fa71e9355c0c6",
"sha256": "39a925a36e62cea98a0772014f97eb216dbca11dcc4199f45c813ef8524ece65"
},
"downloads": -1,
"filename": "powrap-1.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d42312ce0a7010a0302fa71e9355c0c6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5791,
"upload_time": "2024-11-15T09:50:29",
"upload_time_iso_8601": "2024-11-15T09:50:29.751469Z",
"url": "https://files.pythonhosted.org/packages/ad/42/ec7aa281b7b8a4b0b40f9de7ce31bbe4450e00a0b6752b1a2eab28c8ea98/powrap-1.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c0faef1bdecdf1df61c6c4b56509c1c231ade78d43d0f2a49ab8ee276ddbbe48",
"md5": "1b5287b960811073450c80ec7b0c3b61",
"sha256": "4f6465dec20f24ab830e694d92bc69291bbde925e4715e42df8e5033b12e83e4"
},
"downloads": -1,
"filename": "powrap-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "1b5287b960811073450c80ec7b0c3b61",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 6795,
"upload_time": "2024-11-15T09:50:31",
"upload_time_iso_8601": "2024-11-15T09:50:31.437947Z",
"url": "https://files.pythonhosted.org/packages/c0/fa/ef1bdecdf1df61c6c4b56509c1c231ade78d43d0f2a49ab8ee276ddbbe48/powrap-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-15 09:50:31",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "powrap"
}