Zhpy

Latest version: v1.7.4

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

Scan your dependencies

Page 4 of 5

0.9.3

--------------------
code name: Gray Tower

*Changes*

*Features*

* catch up exception definitions http://www.chinesepython.org/doc/ref.html
* make chinese punctuation be a plugin
* add keyword:
* "區域變量":"local", "区域变量":"local"
* Downloadable API Doc

*Fixes*

* make incorrect ini file not cause exception
* fix replacedict, thanks renhbo
* fix miss-replaced punctuations in quotestring

*Project Updates*

* update ez_setup.py to 0.6c7

*Contributors*

Fred Lin, renhbo

0.9.2

--------------------
code name: Hierophant Green

*Changes*

* move twdict, cndict keyword into plugins
* plugin use object instead of dict to contain more information
* refactory annotator
* update zhpy_ext plugin sample
* keyword change
* "和":"and", "且":"and" instead of "并且":"and"
*"或":"or" instead of "或者":"or"
* "輸入":"raw_input" instead of "输入字符串":"raw_input"
* "浮点数":"float" instead of "小数":"float"
* remove keyword
* "傳回":"return"
* "全局":"global"

*Features*

* add keyword
* "非":"not"
* "可調用":"callable", "可调用":"callable"
* "符號":"chr", "符号":"chr"
* "符號轉整數":"ord", "符号转整数":"ord"
* "比較":"cmp","比较":"cmp"
* "複數":"complex","复数":"complex"
* "十六進位":"hex", "十六进制":"hex"
* "列出屬性":"dir", "列出属性":"dir"
* "求值":"eval"
* "文件":"file"
* "输入":"input"
* "取屬性":"getattr", "取属性":"getattr"
* "有屬性":"hasattr", "有属性":"hasattr"
* "設定屬性":"setattr", "设定属性":"setattr"
* "映射":"map"
* "最大":"max",
* "最小":"min",
* "總和":"sum", "总和":"sum"
* "快速範圍":"xrange", "快速范围":"xrange"
* "計數":"count", "计数":"count"
* "索引":"index"

*Fixes*

*Project Updates*

register "twkeyword", "twmethod", "tw_exception", "twzhpy",
"cnkeyword", "cnmethod", "cn_exception", "cnzhpy" as plugin

*Contributors*

Fred Lin

0.9.1

--------------------
code name: Magician Red

*Changes*

* twdict, cndict now shown in plugin
* worddict formed dynamically without exceptions
* keyword changes
* "中斷" instead of "中止"

*Features*

* add keyword:
* "假使":"elif"
* "周蟒":"zhpy"
* "中文執行":"zh_exec", "中文执行":"zh_exec"

*Fixes*

* better formatted "zhpy --info" command
* 'byte of zhpy' doc update

*Project Updates*

* add download url

*Contributors*

Fred Lin

0.9

------------------
code name: The World

*Changes*

* able to pass target dict to merger function

*Features*

* module keyword library plug-in system by annotator
* plug-in support for rev_annotator
* annotation support in interpreter
* add command line option '-V/info' for zhpy complete information
* add zhpy_ext as sample plugin template
* add keyword
* "幫助":"help", "帮助":"help"
* "说明":"help"
* Start 'byte of zhpy' doc

*Fixes*

* use encoding utf8 as default encoding while auto detection in low confidence(<0.8)
* fix tests cases' doctest
* able to run as script without subname

*Project Updates*

*Contributors*

Fred Lin

0.8.1

------------------
code name: Hermit Purple

*Changes*

* rename zhpyi.py to zhpy_interpreter.py
* update example test cases
* update interpreter banner

*Features*


*Fixes*

* fix interpreter multiline exception bug

*Project Updates*

* Jiahwa Huang joined as the project member

*Contributors*

Fred Lin

0.8

------------------
code name: Stone Free

*Changes*

* move all dictionaries to zhdc.py
* move command line tool to zhpy_cmd.py
* use implicit imports
* remove -r option, use -c instead
* keyword changes
* "開頭為" instead of "開始字串",
* "开头为" instead of "开始为"
* "结尾为" instead of "结束为"
* "結尾為" instead of "結束字串"

*Features*

* zhpy interpreter, thanks Jiahua Huang
* implement zhpy -> python libraries in pyzh.py
* bi-directional uri variable <-> number function, prototype by Jiahua Huang
* auto detect encodings, now interpreter works on tw/cn windows
* add "-e/--encoding" option to customize the encoding for parsing
* add keyword:
* "執行":"exec", "执行":"exec"
* "布林":"bool", "布尔":"bool"
* "絕對值":"abs", "绝对值":"abs"
* "列舉":"enumerate", "列举":"enumerate"
* "過濾":"filter", "过滤":"filter"
* "打包":"zip"
* "擴展":"extend", "扩展":"extend"
* "插入":"insert", "移除":"remove","排序":"sort"
* "彈出":"pop", "弹出":"pop"
* "列舉":"enumerate", "列举":"enumerate"
* "過濾":"filter", "过滤":"filter"
* "打包":"zip", "打包":"zip", thanks HYRY
* "型別錯誤":"TypeError", "类型错误":"TypeError"
* "下一筆":"next", "下一笔":"next"
* "例外":"Exception"
* "停止迭代":"StopIteration"
* "解碼錯誤":"UnicodeDecodeError","解码错误":"UnicodeDecodeError",
* "導入錯誤":"ImportError","导入错误":"ImportError"

* add zhpy featured keyword
* "主程式":'if __name__=="__main__"', "主程序":'if __name__=="__main__"'

*Fixes*

* keep twdict clean, worddict now real copy from twdict

*Project Updates*

* use .tw.py, .cn.py as another zhpy subname to distinguish the coding
* add chardet dependency

*Contributors*

Fred Lin, HYRY, Jiahua Huang

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.