<?xml version="1.0" encoding="UTF-8" ?>
<rdf:RDF xmlns="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><Project><name>zhpy</name>
<shortdesc>Write python language in chinese</shortdesc>
<description>zhpy is an toy convertor to translate chinese (Traditional and Simplified) python code 
to nature python code (english).

zhpy use pyparsing to detect chinese keywords, class name, methods, arguments, variables and 
translate them back to python.

zhpy refactored the origin code from HYRY.

Check examples_ here.
 
.. _examples: "http://code.google.com/p/zhpy/wiki/ExampleHello"

Install zhpy
--------------

You could use easy_install command to install zhpy::

    $ easy_install zhpy

Usage
-----

You could use zhpy instead of python in command line::

    $ zhpy hello.py
    hello, world!

You could assign a file name to export the zhpy source to the normal python source (english)::

    $ zhpy hello.py nhello.py

Then run the exported file as normal python source::

    $ python nhello.py
    hello, world!

Programming
-----------

You could mix original english keywords and Chinese keywords in your zhpy source.

Reserved keywords are listed here_

.. _here: http://code.google.com/p/zhpy/wiki/KeyWords</description>
<homepage rdf:resource="http://code.google.com/p/zhpy/" />
<maintainer><foaf:Person><foaf:name>Fred Lin</foaf:name>
<foaf:mbox_sha1sum>dd7a016c598514190bbf78faff185acacd717289</foaf:mbox_sha1sum></foaf:Person></maintainer>
<release><Version><revision>0.2</revision></Version></release>
</Project></rdf:RDF>