Path: csiph.com!xmission!news.glorb.com!bofh.it!news.nic.it!robomod From: Christopher Hoskin Newsgroups: linux.debian.bugs.dist,linux.debian.devel,linux.debian.maint.python Subject: Bug#796060: ITP: python-pojson -- converts PO files to JSON Date: Wed, 19 Aug 2015 04:30:01 +0200 Message-ID: X-Original-To: Debian Bug Tracking System X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Aug 19 02:27:15 2015 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -3.937 Reply-To: Christopher Hoskin , 796060@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org, wnpp@debian.org X-Debian-Pr-Message: report 796060 X-Debian-Pr-Package: wnpp X-Spam-Bayes: score:0.0000 Tokens: new, 30; hammy, 149; neutral, 40; spammy, 1. spammytokens:0.939-+--H*c:alternative hammytokens:0.000-+--xdebbugscc, 0.000-+--x-debbugs-cc, 0.000-+--X-Debbugs-CC, 0.000-+--XDebbugsCC, 0.000-+--U*debian-python Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+VnX3mSrN/W0W2z5PeGn8s7qC9/oFd9TubnW80yfh9I=; b=yCOXypy7wYHm648dfG4vqDe9mltoJ6RRR5pz6DP0+SG1U33J+UHRCv2BzSPV3c58r7 1WVe788udFEYymsirWjGX6RvEXbs6s8sW9TITEUoPDopvpZmMm8cHPPbc2bPGHugx6yM Ma76SdDrIR3Aj1VH/ukfuNHNfSXsIuB9mDwTPcD9z+MLYLNvI9OlFAvFpxPZLOOl8uqO MMkc2NdpfYLnazRI9ICk2G6e07M83YDXy09XyiEpHJWth9BuhwbveAOoYYmu4izPxBCS suqfZXH4XYyY3iitKq0hmVjdqHqGJobB4V55xp/+pBr6XbtbwVX7wgRlDq+MPZCFGE56 tm7w== MIME-Version: 1.0 X-Received: by 10.50.59.148 with SMTP id z20mr26678681igq.77.1439951015591; Tue, 18 Aug 2015 19:23:35 -0700 (PDT) Content-Type: multipart/alternative; boundary=047d7bea2f9ac744ae051da0b843 X-Debian-Message: from BTS X-Mailing-List: archive/latest/1200666 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 69 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 19 Aug 2015 03:23:35 +0100 X-Original-Message-ID: Xref: csiph.com linux.debian.bugs.dist:672981 linux.debian.devel:67093 linux.debian.maint.python:7187 --047d7bea2f9ac744ae051da0b843 Content-Type: text/plain; charset=UTF-8 Package: wnpp Owner: Christopher Hoskin Severity: wishlist X-Debbugs-CC: debian-devel@lists.debian.org,debian-python@lists.debian.org * Package name : python-pojson Version : 0.6 Upstream Author : Martijn Faassen * URL : https://pypi.python.org/pypi/pojson * License : BSD-3-Clause Programming Lang: Python Description : converts PO files to JSON pojson ****** . pojson is a tool that allows you to create JSON data files from PO files. These files are designed to be used with Obviel_'s `i18n support`_. . * _Obviel: http://obviel.org/ . * _`i18n support`: http://www.obviel.org/en/latest/i18n.html . The `Javascript Gettext`_ already provides a Perl-based tool (po2json) that is very similar, so this can be seen as a rewrite to Python. One difference is that pojson does not output domain information in the resulting datastructure - it is one level less deep. The domain information must instead be supplied when the file is loaded. . Basic use to generate a JSON file:: . $ pojson . --047d7bea2f9ac744ae051da0b843 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Package: wnpp
Owner: Christopher Hoskin <christopher.hoskin@gmail.com>Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org,debian-python@lists.debian.org

* Package na= me=C2=A0=C2=A0=C2=A0 : python-pojson
=C2=A0 Version=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 : 0.6
=C2=A0 Upstream Author : Martijn Faass= en <faassen@startifact.com= >
* URL=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 : https://pypi= .python.org/pypi/pojson
* License=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 : BSD-3-Clause
=C2=A0 Programming Lang: Python
=C2=A0= Description=C2=A0=C2=A0=C2=A0=C2=A0 : converts PO files to JSON

=C2= =A0pojson
=C2=A0******
=C2=A0.
=C2=A0pojson is a tool that allows = you to create JSON data files from PO
=C2=A0files. These files are desig= ned to be used with Obviel_'s `i18n support`_.
=C2=A0.
=C2=A0* _O= bviel: http://obviel.org/
=C2=A0.
= =C2=A0* _`i18n support`: http://www.obviel.org/en/latest/i18n.html
=C2=A0.
=C2=A0The `= Javascript Gettext`_ already provides a Perl-based tool (po2json)
=C2=A0= that is very similar, so this can be seen as a rewrite to Python. One
= =C2=A0difference is that pojson does not output domain information in the=C2=A0resulting datastructure - it is one level less deep. The domain
= =C2=A0information must instead be supplied when the file is loaded.
=C2= =A0.
=C2=A0Basic use to generate a JSON file::
=C2=A0.
=C2=A0=C2= =A0 $ pojson <path/to/po>
=C2=A0.

--047d7bea2f9ac744ae051da0b843--