{ "info": { "author": "Martijn Faassen", "author_email": "faassen@startifact.com", "bugtrack_url": null, "classifiers": [], "description": "pojson\n******\n\npojson is a tool that allows you to create JSON data files from PO\nfiles. These files are designed to be used with Obviel_'s `i18n support`_.\n\n.. _Obviel: http://obviel.org/\n\n.. _`i18n support`: http://www.obviel.org/en/latest/i18n.html\n\nThe `Javascript Gettext`_ already provides a Perl-based tool (po2json)\nthat is very similar, so this can be seen as a rewrite to Python. One\ndifference is that pojson does not output domain information in the\nresulting datastructure - it is one level less deep. The domain\ninformation must instead be supplied when the file is loaded.\n\nBasic use to generate a JSON file::\n\n $ pojson \n\nPretty-print output::\n\n $ pojson -p \n\nHelp::\n \n $ pojson --help\n\nNormally you would send the output to a file, such as::\n\n $ pojson something.po > something.json\n \nNormally pojson will try to guess the encoding of the .po file, but\nyou can also explicitly supply an encoding::\n\n $ pojson -e utf-8 something.po > something.json\n\n_`Javascript Gettext`: http://jsgettext.berlios.de/\n\nCHANGES\n*******\n\n0.7 (2016-06-30)\n================\n\n- Python 3 support.\n\n0.6 (2014-03-06)\n================\n\n- A new po2json_babel command that lets you create a babel compatible\n catalog structure. Thanks to Swen Mun (@longfin) for this feature.\n\n- A bugfix concerning encoding handling in po2json.\n\n0.5 (2014-02-27)\n================\n\n- Support for the context feature in Javascript gettext. See\n http://jsgettext.berlios.de/doc/html/Gettext.html#pgettext__msgctxt__msgid__\n Thanks to Swen Mun (@longfin) for this feature.\n\n- Added distutils command class ``po2json`` to compile catalogs for\n use in ``setup.py``. Thanks to Swen Mun (@longfin) for this feature.\n\n0.4 (2012-06-20)\n================\n\n- Totally break the command line interface to simplify options. We\n only want to generate those JSON files that Obviel i18n likes. Works\n with Obviel 1.0b2 and later.\n\n0.3 (2011-06-02)\n================\n\n- Actually got the output wrong so jsgettext couldn't work with it. Fixed.\n\n- Some sanity checking that the input file has the .po extension, as\n evidently polib accepts *any* file and still gives output...\n\n0.2 (2011-06-02)\n================\n\n- Error when referring to non-existent po file\n\n0.1 (2011-05-04)\n================\n\n- Initial release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/obviel/pojson", "keywords": "PO i18n internationalisation JSON gettext obviel", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "pojson", "package_url": "https://pypi.org/project/pojson/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pojson/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/obviel/pojson" }, "release_url": "https://pypi.org/project/pojson/0.7/", "requires_dist": null, "requires_python": null, "summary": "Convert PO files to JSON", "version": "0.7" }, "last_serial": 2195529, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7e50a2ec7c6ee87b1e77cf73a3dbf64e", "sha256": "1807a271499be1ea6b6006ec67946a83cd49dc00a072917e585069359009adda" }, "downloads": -1, "filename": "pojson-0.1.tar.gz", "has_sig": false, "md5_digest": "7e50a2ec7c6ee87b1e77cf73a3dbf64e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33909, "upload_time": "2011-05-04T20:00:48", "url": "https://files.pythonhosted.org/packages/7c/e3/86bef91461848f71130f77add762c1c0ad797c6d3bb9643a460275286bff/pojson-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "0379658a1134587fe059269013752084", "sha256": "bacc7005f8ea64f489c41441d0770d8c0dd96bab9af1c0ac10822a94fbbb8cdd" }, "downloads": -1, "filename": "pojson-0.2.tar.gz", "has_sig": false, "md5_digest": "0379658a1134587fe059269013752084", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34130, "upload_time": "2011-06-02T15:28:27", "url": "https://files.pythonhosted.org/packages/4f/ec/ad2345d1aeed21be2fba1a7edf8e48891e467c1fbdea4e9115fef52a20c9/pojson-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "2efcda03be5ba0f99fe66578ada1473a", "sha256": "cbf7575c1f2a2602e39b8ff887233ff6afda16679b9dfc636800efad3885d095" }, "downloads": -1, "filename": "pojson-0.3.tar.gz", "has_sig": false, "md5_digest": "2efcda03be5ba0f99fe66578ada1473a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34510, "upload_time": "2011-06-02T15:55:50", "url": "https://files.pythonhosted.org/packages/cd/5f/f727a0b0cc96235d480b1c870051eaa5b971cb136a69748099157649f1e9/pojson-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "746e63452f211dc4c9aa222b0f121ff6", "sha256": "351c1f023f5f4444831ad66429ff22a9db40325a1fea5b8d39df93e388201a37" }, "downloads": -1, "filename": "pojson-0.4.tar.gz", "has_sig": false, "md5_digest": "746e63452f211dc4c9aa222b0f121ff6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8952, "upload_time": "2012-06-20T19:47:04", "url": "https://files.pythonhosted.org/packages/4d/95/7e73e458a96b3991cb139c4499a7d650ad4bbc05a14b6335681220f45113/pojson-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "69969ad7bb74280062a1c93852170a0d", "sha256": "eadc7635d477d6cfce6372bb8e8fae2eb257fb84ad79d0ae199dc9673a26be6a" }, "downloads": -1, "filename": "pojson-0.5.tar.gz", "has_sig": false, "md5_digest": "69969ad7bb74280062a1c93852170a0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10312, "upload_time": "2014-02-27T10:31:59", "url": "https://files.pythonhosted.org/packages/48/d1/5114e732a860efa2e6d1488024fdbe44649819543139463fa822b02a0b47/pojson-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "5a31284cdf0bb4b9dcd7011017b6667f", "sha256": "3b6f037857c65bae67c9005a27de4ac633dd01b4c6349999dddffb9a7a70931b" }, "downloads": -1, "filename": "pojson-0.6.zip", "has_sig": false, "md5_digest": "5a31284cdf0bb4b9dcd7011017b6667f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20490, "upload_time": "2014-03-06T16:36:18", "url": "https://files.pythonhosted.org/packages/cd/5f/262d504181b43a866b5a2bf17b1af9a7cbcb7ec9e21df7d065809ac054f7/pojson-0.6.zip" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "e3682d2f96c7f6342148e2a9b367b9bf", "sha256": "f23ffc96a24eada4c594f91eb6372c03e441afe9320c268b922f53fea4916eec" }, "downloads": -1, "filename": "pojson-0.7.zip", "has_sig": false, "md5_digest": "e3682d2f96c7f6342148e2a9b367b9bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20671, "upload_time": "2016-06-30T10:12:19", "url": "https://files.pythonhosted.org/packages/f7/39/dc4ff28a340efe74ff06d4bcca77f3f50b8ce66795e482c8c0916b57deea/pojson-0.7.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e3682d2f96c7f6342148e2a9b367b9bf", "sha256": "f23ffc96a24eada4c594f91eb6372c03e441afe9320c268b922f53fea4916eec" }, "downloads": -1, "filename": "pojson-0.7.zip", "has_sig": false, "md5_digest": "e3682d2f96c7f6342148e2a9b367b9bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20671, "upload_time": "2016-06-30T10:12:19", "url": "https://files.pythonhosted.org/packages/f7/39/dc4ff28a340efe74ff06d4bcca77f3f50b8ce66795e482c8c0916b57deea/pojson-0.7.zip" } ] }