Zhpy

Latest version: v1.7.4

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

Scan your dependencies

Page 5 of 5

0.7

------------------
code name: Gold Experience

*Changes*

* keyword changes
* "全局" instead of "全局变量"
* "导入" instead of "载入"
* "作為" instead of "取名"
* "尝试" instead of "试运行"
* "异常" instead of "错误处理"
* "集合" instead of , "类组"
* "連接" instead of "接合"
* "關鍵字列表" instead of "列出關鍵字"
* "值列表" instead of "列出值"
* "項目列表" instead of "列出項目"
* variables are changed to "p_[var]_v" syntax instead of p[num],
thanks Jiahua Huang
* .has_key() is deprecated, use 'in'
* remove keyword
* "有關鍵字":"has_key", "有关键字":"has_key"
* "若":"if"
* "開啟":"open", "开启":"open"
* remove trail space for pep8
* rename run.sh to test_example.sh
* maintain tw, cn keyword in seperate dict
* Online documents update

*Features*

* use universe reference identifier (uri) for
variable/constant/class/methods instead of vnum, thanks Jiahua Huang
* add keyword:
* "作为":"as"
* "最后":"finally"
* "宣告":"assert", "刪除":"del", "执行":"exec"
* "或者":"or","并且":"and",
* "不在":"not in"
* "不為":"is not", "为":"is", "不为":"is not"

* add "-c/--cmd" option instead of "-r/--raw" to correspond the python command,
"-r/--raw" will be deprecate in next release.
* also test command line options (test_example.sh)
* add contact example (cn) in loop/

*Fixes*

* able to run zhpy in __main__, thanks Jiahua Huang

*Project Updates*

* use .twpy, .cnpy as zhpy subname to distinguish the coding

*Contributors*

Fred Lin, Jiahua Huang

0.6

------------------
code name: Crazy Diomand

*Changes*

* internal refactor the try_run method
* rename traditional chinese test cases
* Online documents update

*Features*

* add "-r/--raw": "input raw zhpy source and run" option for
scripting usage, idea from Jiahua Huang
* add simplified chinese test cases
* Add doctests
* add keyword:
* "实": "True"
* "类型":"type"
* "读取":"read", "写入":"write"
* "读一行":"readline", "读多行":"readlines"
* "开启":"open", "打开":"open",
* "關閉":"close", "关闭":"close"

*Fixes*

* "不是":"is not" instead of "不是":"not"
* zhpy.py use normal unix \n instead of mac \r, thanks Jiahua Huang

*Project Updates*

* Increase cheesecake_ rating
* Add license statement
* Add todo list
* Add authors list
* Add docs/
* Add example test runner
* Remove redundent files
* Update setup information

.. _cheesecake: http://www.pycheesecake.org/

*Contributors*

Fred Lin, Jiahua Huang

0.5

------------------
code name: Star Platinum

*Changes*

*Features*

* implement zh_exec, now it's possible to test zhpy in interpretor, or
embeded zhpy in python source
* add test cases

*Fixes*

* Now parser matches all quotes (single quote, double quote, triple quote)
* fix game example

*Project Updates*

* Add README file
* Add tests folder

*Contributors*

Fred Lin

0.4

------------------
code name: Dio

*Changes*

* keywords changes
"浮點數":"float" instead of "小數"

*Features*

* Enhanced command parser with 2 basic option
* add "-i": input option
* add "-o": output option
* add "-p": "compile to python and run" option, which generate
python source with 'n_' prefix.
* More keywords
* "數組":"tuple", "類組":"set"
* "数组":"tuple", "类组":"set"
* "編碼":"encoding", "解碼":"decoding"
* "编码":"encoding", "解码":"decoding"
* "開啟":"open", "讀取":"read", "寫入":"write"
* "讀一行":"readline", "讀多行":"readlines"
* "接合":"join", "分離":"split"
* "分离":"split"

*Fixes*

*Project Updates*

* update classifiers information
* move to beta phase

*Contributors*

Fred Lin

0.3

------------------
code name: JoJo

*Changes*

* Trad keyword changes:
* "傳回":"return"
* "假使":"elif" and "否則如果":"elif" instead of '不然'
* "中止":"break"
* "方程式":"lambda" instead of "函式"
* "產生":"yield" instead of "圈"
* "示警":"raise" instead of "舉出"
* "共用":"global" instead of "全域"

* Smpl keyword changes:
* "函数":"lambda"
* "产生":"yield",
* "继续":"continue"
* "传回":"return"

* Removed keywords:
* "加":"+", "減":"-", "乘":"*", "除":"/","取餘數":"%"
* "一":"1", "百":"100", numbers

*Features*

* allow to dynamic add keywords by append ini files in same folder
* catalog keywords
* More keywords
* "真": "True", "假":"False"
* "實": "True", "虛":"False"
* "空":"None"
* "是":"is", "為":"is", "不是":"not"
* "或":"or", "和":"and", "且":"and"
* "開始字串":"startswith", "結束字串":"endswith"
* "开始为":"startswith","结束为":"endswith"

* More Documents

*Fixes*

*Project Updates*

* Removed python version requirement
* Add ez_setup.py in project incase user haven't installed easy_install command
* Add module version info while import
* Zoom Quiet joined as the project member

*Contributors*

Fred Lin

0.2

------------------
code name: zhou

*Changes*

* Refactored from HYRY's original script
* Add Traditional Chinese keywords

*Features*

* easy_install-abled
* executable command line
* export python source from zhpy

*Fixes*

*Project Updates*

* host on google code project

*Contributors*

Fred Lin, HYRY

Page 5 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.