Name | powrap JSON |
Version |
1.0.1
JSON |
| download |
home_page | |
Summary | Find and properly reindent .po files. |
upload_time | 2023-03-30 21:27:00 |
maintainer | |
docs_url | None |
author | |
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|
.. |pypi| image:: https://img.shields.io/pypi/v/powrap.svg
:target: https://pypi.python.org/pypi/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": "",
"name": "powrap",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "powrap,po,gettext,i18n",
"author": "",
"author_email": "Julien Palard <julien@palard.fr>",
"download_url": "https://files.pythonhosted.org/packages/bc/87/3b9fa0462729f4be61faf63aa661ba2b894e654709ed514f1676b633c270/powrap-1.0.1.tar.gz",
"platform": null,
"description": "powrap\n======\n\n|pypi|\n\n.. |pypi| image:: https://img.shields.io/pypi/v/powrap.svg\n :target: https://pypi.python.org/pypi/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.1",
"split_keywords": [
"powrap",
"po",
"gettext",
"i18n"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "39c2b63c1c9d039a277eb8b1b64380bfb0e0f784a0242c20d241efa5bcb7ba51",
"md5": "738a3f9d042efc5fdd85188b15a60cf7",
"sha256": "823b34bfd7b0281fe72c1ea0f4ed82afed8ba5d88c9c5570af0bcd9f849654c2"
},
"downloads": -1,
"filename": "powrap-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "738a3f9d042efc5fdd85188b15a60cf7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5555,
"upload_time": "2023-03-30T21:26:58",
"upload_time_iso_8601": "2023-03-30T21:26:58.486446Z",
"url": "https://files.pythonhosted.org/packages/39/c2/b63c1c9d039a277eb8b1b64380bfb0e0f784a0242c20d241efa5bcb7ba51/powrap-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bc873b9fa0462729f4be61faf63aa661ba2b894e654709ed514f1676b633c270",
"md5": "6494d87f17191ac829ab3d11bf340fd3",
"sha256": "ebc687067dd51b587970df9e0d8ecd492bf989c7a2f32f59b7c45303c794905e"
},
"downloads": -1,
"filename": "powrap-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "6494d87f17191ac829ab3d11bf340fd3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 6394,
"upload_time": "2023-03-30T21:27:00",
"upload_time_iso_8601": "2023-03-30T21:27:00.200100Z",
"url": "https://files.pythonhosted.org/packages/bc/87/3b9fa0462729f4be61faf63aa661ba2b894e654709ed514f1676b633c270/powrap-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-30 21:27:00",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "powrap"
}