Zhpy

Latest version: v1.7.4

Safety actively analyzes 629639 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

1.3

--------------------
code name: White Snake

*Changes*

* Separate traditional and simplified chinese keywords from zhdc to plug[lang].py
* moveout plugins' setuptools dependency, now you can try zhpy without install.
* change keyword:
* "引用錯誤", "引用错误" instead of "参考错误":"ReferenceError"
* make py_annotator work while only plugtw or plugcn exists.

*Features*

* support custom name space in zh_exec, thanks renhbo
* able to run the commandline without install
* able to run the interpreter with 4 module ["interpreter", "zhpy", "zhdc", "plug[lang]"]
without install (core mode)
* able to profiling standalone interpreter with "--profile" option

*Fixes*

* fix keyword "locals" instead of "local"
* generate proper profix while the origin source is suffixed with '.tw.py' or '.cn.py'

*Project Updates*

* include pyparsing in distribution
* doc update
* add official zhpy blog: http://zhpy.blogspot.com/
* remove zhpy_ext sample

*Contributors*

Fred Lin, renhbo

1.2

--------------------
code name: Requiem

*Changes*

* Use build-in int function to convert hex string, thanks Jiahua Huang
* refactor repeative tripleQuote pattern to single place (zhpy)
* refactor 'number_to_variable' function to 'zh_chr' function (pyzh)
* refactor 'variable_to_number' function to 'zh_ord' function (zhpy)
* support chinese filename to uri filename while convert with '-p' option
* zh_ord and zh_chr are bi-direction convertable now
* change keyword:
* '最大值' instead of '最大':'max'
* '最小值' instead of '最小':'min'
* '最大值' instead of '最大':'max'
* '最小值' instead of '最小':'min'
* '反转' instead of '逆转':'reverse',

*Features*

* add zhimport module to support chinese file name import, thanks Jiahua Huang
* checked in experimental direct zhpy module import(disabled), thanks Jiahua Huang
* add build-in sys module keyword plugin
* add pyzh and bi-directional translation tests

*Fixes*

* support multilines comments with triple single quote, thanks renhbo

*Project Updates*

* set svn:external to update ez_setup script automaticaly
* renhbo joined as the project member

*Contributors*

Fred Lin, Jiahua Huang, renhbo

1.1.1

--------------------
code name: Dark Blue Moon

*Changes*

*Features*

*Fixes*

* Able to import modules in current directory with interpreter or script, thanks renhbo
* fix python to zhpy command with any ini file in current directory, thanks renhbo
* fix multilines comments translated incorrectly

*Project Updates*

* update release note

*Contributors*

Fred Lin, renhbo

1.1

--------------------
code name: Echoes

*Changes*

*Features*

* add commandline option '--tw' to convert python code to twpy
* add commandline option '--cn' to convert python code to cnpy

*Fixes*

* fix verbose options in commandline tool
* fix zhpy to python function
* remove extra .tw, .cn in reverted filename of python to zhpy

*Project Updates*

* update installer code
* update project status to Production/Stable

*Contributors*

Fred Lin

1.0

--------------------
code name: Killer Queen

*Changes*

* replace keyword
* "鍵列表" instead of "關鍵字列表":"keys"
* "键列表" instead of "关键字列表":"keys"
* "引發","引发" instead of "示警":"raise"
* "評估","评估" instead of "求值":"eval"

*Features*

* complete "Byte of Zhpy" book
* add native interpreter banner "zhpy --tw" or "zhpy --cn"
* show keyword number of each plugin in "zhpy --info" command
* add keyword
* "代換":"replace"
* "代换":"replace"
* "初始化":"init",
* "類別方法":"classmethod"
* "类方法":"classmethod"
* "錯誤":"Error"
* "错误":"Error"
* "描述":"repr"

*Fixes*

*Project Updates*

* update Download Install doc
* format inline docs for APIDOC

*Contributors*

Fred Lin

0.9.4

--------------------
code name: Silver Chariot

*Changes*

* remove chinese punctuations support
* change keyword
* use "檔案", "档案" instead of "文件":"file"
* use "返回" instead of "传回":"return"
* use "組合", "组合" instead of "數組":"tuple"

*Features*

* allow zhpy script with commandline arguments
* add keyword:
* "其":"self"
* "我":"self"

*Fixes*

* fixed comment shouldn't be translated
* 'byte of zhpy' doc update

*Project Updates*

* rename zhpy_interpreter.py to interpreter.py
* rename zhpy_cmd.py to commandline.py
* rename zhpy_info.py to info.py
* new commandline utility
* remove command shortcut: "zhpy [input] [output]", use "zhpy -i [input] -o [output]" or
"zhpy -p [input]"

*Contributors*

Fred Lin

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.