{ "info": { "author": "Thermondo GmbH", "author_email": "opensource@thermondo.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "|version| |ci| |coverage| |license|\n\nPyTest Translations\n===================\n\nA py.test plugin to check ``gettext`` ``po`` & ``mo`` files.\n\nTest check for:\n\n- Spelling (using enchant & aspell)\n- Consistency of ``mo`` files\n- Obsolete translations\n- Fuzzy translations\n\nInstallation\n------------\n\nInstall the PyPi package.\n\n.. code:: bash\n\n pip install pytest-translations\n\nThe spell checking requires enchant and aspell including the correct\ndictionary.\n\nOn Linux simply install:\n\n.. code:: bash\n\n sudo apt-get install python3-enchant python-enchant aspell-{en|de|CHOSE YOUR LANGUAGE CODES}\n\nTo set up travis-ci simply add the apt packages to your travis-ci config\nYAML:\n\n.. code:: yaml\n\n addons:\n apt:\n packages:\n - python-enchant\n - python3-enchant\n - aspell-en\n - aspell-de\n\nOn Mac you can use brew to install:\n\n.. code:: bash\n\n brew install aspell --with-lang-{en|de|CHOSE YOUR LANGUAGE CODES}\n brew install enchant\n\nUsage\n-----\n\nTo execute the translation tests simply run\n\n.. code:: bash\n\n py.test --translations\n\nEvery file ending in ``.mo`` and ``.po`` will be discovered and tested,\nstarting from the command line arguments.\n\nYou also can execute only the translation-tests by using:\n\n.. code:: bash\n\n py.test -m translations --translations\n\nPrivate Word Lists\n~~~~~~~~~~~~~~~~~~\n\nYou will almost certainly use words that are not included in the default\ndictionaries. That is why you can add your own word list that you want\nto add to the dictionary.\n\nYou may do so by adding a plain text file where each line is a word.\nWords beginning with a capital letter are case sensitive where lower case words\nare insensitive.\n\nThere can be one file for each language contained in a single folder.\nThe files should be named like the proper language code.\n\nFor example:\n\n.. code:: bash\n\n .\n \u2514\u2500\u2500 .spelling\n \u251c\u2500\u2500 de\n \u251c\u2500\u2500 en_GB\n \u2514\u2500\u2500 en_US\n\nWhat\u2019s left to do is to set an environment variable to point to right\ndirectory.\n\nFor example:\n\n.. code:: bash\n\n export PYTEST_TRANSLATIONS_PRIVATE_WORD_LIST=path/to/my/.spelling\n\n.. |version| image:: https://img.shields.io/pypi/v/pytest-translations.svg\n :target: https://pypi.python.org/pypi/pytest-translations/\n.. |ci| image:: https://api.travis-ci.org/Thermondo/pytest-translations.svg?branch=master\n :target: https://travis-ci.org/Thermondo/pytest-translations\n.. |coverage| image:: https://codecov.io/gh/Thermondo/pytest-translations/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/Thermondo/pytest-translations\n.. |license| image:: https://img.shields.io/badge/license-APL_2-blue.svg\n :target: LICENSE", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Thermondo/pytest-translations", "keywords": "", "license": "Apache-2", "maintainer": "", "maintainer_email": "", "name": "pytest-translations", "package_url": "https://pypi.org/project/pytest-translations/", "platform": "", "project_url": "https://pypi.org/project/pytest-translations/", "project_urls": { "Homepage": "https://github.com/Thermondo/pytest-translations" }, "release_url": "https://pypi.org/project/pytest-translations/2.0.0/", "requires_dist": null, "requires_python": "", "summary": "Test your translation files.", "version": "2.0.0" }, "last_serial": 3371019, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b69a08dcdcc2151f6a150691065d251e", "sha256": "deac704d1f34968b5bb1f1437e1e6f07cdc4b3dfaac8fbfdf0ce9d4999e5bef1" }, "downloads": -1, "filename": "pytest-translations-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b69a08dcdcc2151f6a150691065d251e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2008, "upload_time": "2014-12-31T00:27:19", "url": "https://files.pythonhosted.org/packages/9f/cf/4b87b4cad26bfee4b079d4ee4bc06e48638d4768484439586ac3e5a7de6f/pytest-translations-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "ee27bba81d07aa0f750662510409fca4", "sha256": "3470fb573d28e0e00802737b51d816cc045eee72ee71eda20374ffff5e5885af" }, "downloads": -1, "filename": "pytest-translations-0.2.0.tar.gz", "has_sig": false, "md5_digest": "ee27bba81d07aa0f750662510409fca4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3238, "upload_time": "2015-01-01T15:55:51", "url": "https://files.pythonhosted.org/packages/59/db/b7f5420f272dd387ea9e914ebe14d147deb265cb4d908a16a4a5e612739a/pytest-translations-0.2.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "5ef774dd2c02b18c18f035b690032ad9", "sha256": "0e5a8f4a4fa50ff1b85354bf37666537d9009be92459a923618d4e65d7cc77cd" }, "downloads": -1, "filename": "pytest_translations-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5ef774dd2c02b18c18f035b690032ad9", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 2695, "upload_time": "2016-04-05T11:55:15", "url": "https://files.pythonhosted.org/packages/f5/0c/9f957df674b3a44330dedd9d2e5f6efd84eacb60d61321d247bf353de2ec/pytest_translations-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4fa0b7d3ddda853ae133be52dd39b13", "sha256": "11b07587a640d9ffaf645ea96780f789879c671f4a79aa728ca64c4c9686e800" }, "downloads": -1, "filename": "pytest-translations-1.0.0.tar.gz", "has_sig": false, "md5_digest": "b4fa0b7d3ddda853ae133be52dd39b13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1210, "upload_time": "2016-04-05T11:54:55", "url": "https://files.pythonhosted.org/packages/cb/1c/156e1f84136f974748741a5a63f308314312c8154443cf0bacb1f775b4ce/pytest-translations-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "c371af2c0b939cfcc1b5e03a2226ba62", "sha256": "03dc264a8df5848b6c58b6de76bd4771c3f72e1021213d87a03174bebc2bd5ea" }, "downloads": -1, "filename": "pytest-translations-1.0.1.tar.gz", "has_sig": false, "md5_digest": "c371af2c0b939cfcc1b5e03a2226ba62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1210, "upload_time": "2016-04-25T08:51:38", "url": "https://files.pythonhosted.org/packages/84/08/2be5f3e7ee17814baa2c98f49f5a02084a7996e070cdcca937cf77d8c5e2/pytest-translations-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "1685cad74e041e66a8f30e87109a997f", "sha256": "0c18d258c542308f4718863809ec76d34d62b7cc44baf86ec3cee6206e88e33a" }, "downloads": -1, "filename": "pytest-translations-1.0.2.tar.gz", "has_sig": false, "md5_digest": "1685cad74e041e66a8f30e87109a997f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1193, "upload_time": "2016-04-25T12:26:03", "url": "https://files.pythonhosted.org/packages/c1/73/32905460bf0f89fbf0ce32f6926da21a1678eae1bce268682b7d48686325/pytest-translations-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "4b50f46e7a5a0212e262933afa885624", "sha256": "e9558f57c47dcb67b0743a357c2a1a1b633c28d5ca7229d9731faf1db2f2254a" }, "downloads": -1, "filename": "pytest-translations-1.0.3.tar.gz", "has_sig": false, "md5_digest": "4b50f46e7a5a0212e262933afa885624", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3924, "upload_time": "2016-04-25T12:37:40", "url": "https://files.pythonhosted.org/packages/e6/9a/c885f0f652b8c70b6bfe2b0b611addfd16af4898a6af3bbc0cc780708c48/pytest-translations-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "2ce902fed4b7a8d22848b919b240703e", "sha256": "fd906b21e868b7a25ccb2e31bf8fd067e942b60d4442dc13908b46fdc2b30c47" }, "downloads": -1, "filename": "pytest-translations-1.0.4.tar.gz", "has_sig": false, "md5_digest": "2ce902fed4b7a8d22848b919b240703e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3902, "upload_time": "2017-03-13T17:05:14", "url": "https://files.pythonhosted.org/packages/1a/6f/7beb6e1ba761a751048a3ce70d4bfa9b5b345e7a8f26fe662beb5d69c451/pytest-translations-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "a78c6af7308e3e05c6667840d1bfadcf", "sha256": "c707a0d7dd723508b3be82d19c98bab99d5f6ba284bd0713f4ac8cdf8fd37ce9" }, "downloads": -1, "filename": "pytest-translations-1.0.5.tar.gz", "has_sig": false, "md5_digest": "a78c6af7308e3e05c6667840d1bfadcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3909, "upload_time": "2017-07-03T13:19:25", "url": "https://files.pythonhosted.org/packages/64/fb/47a15e6c4c67eb015dd3728a2c919404ab2c36dae721805f76192a460262/pytest-translations-1.0.5.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "eb66ff6a737d8ed9c708fddb745de649", "sha256": "8f5aa5e98746ccc5e400486ea2084fd71251ccb35c0c53e4e1026d8af380bc08" }, "downloads": -1, "filename": "pytest-translations-2.0.0.tar.gz", "has_sig": false, "md5_digest": "eb66ff6a737d8ed9c708fddb745de649", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8467, "upload_time": "2017-11-28T13:27:02", "url": "https://files.pythonhosted.org/packages/30/74/ff0345ec46d8f4bad6dc31384348ec10e5e93c2711c258593bba0d41693f/pytest-translations-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eb66ff6a737d8ed9c708fddb745de649", "sha256": "8f5aa5e98746ccc5e400486ea2084fd71251ccb35c0c53e4e1026d8af380bc08" }, "downloads": -1, "filename": "pytest-translations-2.0.0.tar.gz", "has_sig": false, "md5_digest": "eb66ff6a737d8ed9c708fddb745de649", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8467, "upload_time": "2017-11-28T13:27:02", "url": "https://files.pythonhosted.org/packages/30/74/ff0345ec46d8f4bad6dc31384348ec10e5e93c2711c258593bba0d41693f/pytest-translations-2.0.0.tar.gz" } ] }