buildz 0.6.20__tar.gz → 0.6.22__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {buildz-0.6.20/buildz.egg-info → buildz-0.6.22}/PKG-INFO +1 -1
- buildz-0.6.22/buildz/auto/save.py +38 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/test/data/item2.js +3 -0
- {buildz-0.6.20 → buildz-0.6.22/buildz.egg-info}/PKG-INFO +1 -1
- {buildz-0.6.20 → buildz-0.6.22}/buildz.egg-info/SOURCES.txt +0 -3
- {buildz-0.6.20 → buildz-0.6.22}/setup.py +1 -1
- buildz-0.6.20/buildz/auto/save.py +0 -33
- buildz-0.6.20/buildz/auto/test/cache/save.js +0 -27
- buildz-0.6.20/buildz/auto/test/log/20240930_log.txt +0 -24
- buildz-0.6.20/buildz/auto/test/log/20241008_log.txt +0 -126
- {buildz-0.6.20 → buildz-0.6.22}/LICENSE +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/MANIFEST.in +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/README.md +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/__init__.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/__main__.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/argx.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/__init__.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/cache.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/config.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/dbs.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/deal.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/deal_list.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/deal_type.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/defs.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/factory.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/init.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/log.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/request.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/run.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/test/cache/cache.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/test/config/config.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/test/data/fp.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/test/data/item1.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/test/data/test.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/test/test.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/auto/verify.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/base.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/cmd.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/db/__main__.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/db/dv/__init__.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/db/dv/basez.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/db/dv/clickhousez.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/db/dv/lib/readme +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/db/dv/mysqlz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/db/dv/oraclez.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/db/dv/structz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/db/install.txt +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/db/run.conf +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/db/runz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/ioc/deal.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/ioc/help.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/myers/deal.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/myers/help.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/res/conf/ioc.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/res/conf/main.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/res/conf/myers.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/res/conf/search.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/res/conf/xf.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/res/help/default.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/res/help/ioc.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/res/help/myers.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/res/help/search.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/res/help/xf.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/res/test.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/search/deal.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/search/help.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/test.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/xf/deal.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/demo/xf/help.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/fz/__init__.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/fz/dirz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/fz/fhs.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/fz/fio.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/fz/lsf.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/html/__init__.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/html/test/demo.html +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/html/test/test.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/html/xml.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/__init__.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/base.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/init.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc/base.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc/conf.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc/confs.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc/decorator.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc/single.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/base.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/branch.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/call.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/calls.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/branch_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/call_defaults.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/call_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/calls_defaults.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/calls_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/deal_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/deals.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/env_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/ioc_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/iocf_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/join_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/list_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/map_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/mcall_defaults.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/mcall_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/obj_cst_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/obj_defaults.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/obj_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/obj_set_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/ovar_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/ref_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/refs_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/var_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/xfile_defaults.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/conf/xfile_lists.js +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/deal.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/demo.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/env.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/init.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/ioc.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/iocf.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/join.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/list.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/map.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/mcall.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/obj.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/ovar.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/ref.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/refs.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/val.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/var.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/ioc_deal/xfile.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/ioc/wrap.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/pyz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/tools.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/tz/__init__.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/tz/log.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/tz/myers_diff.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/tz/time/__init__.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/tz/time/timez.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/tz/tio/__init__.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/tz/tio/base.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/tz/tio/getch.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/tz/tio/lx.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/tz/tio/test.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/tz/tio/win.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/__init__.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/__main__.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/code.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/code_modify.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/copy_old.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/file.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/base.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/buffer.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/deal/listz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/deal/lr.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/deal/lrval.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/deal/mapz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/deal/nextz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/deal/reval.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/deal/setz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/deal/spc.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/deal/spt.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/deal/strz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/exp.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/item.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/mg.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loader/pos.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/base.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/buffer.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/deal/listmapz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/deal/listz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/deal/lr.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/deal/lrval.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/deal/mapz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/deal/nextz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/deal/reval.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/deal/setz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/deal/spc.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/deal/spt.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/deal/strz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/deal/strz_new.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/deal/strz_old.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/exp.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/item.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/mg.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/pos.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/test.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/loaderz/test1.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/mapz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/read.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/readz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/stack.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/write.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/writer/base.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/writer/conf.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/writer/deal/jsonval.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/writer/deal/listz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/writer/deal/mapz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/writer/deal/reval.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/writer/deal/strz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/writer/itemz.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/writer/mg.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz/xf/xargs.py +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz.egg-info/dependency_links.txt +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/buildz.egg-info/top_level.txt +0 -0
- {buildz-0.6.20 → buildz-0.6.22}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: buildz
|
3
|
-
Version: 0.6.
|
3
|
+
Version: 0.6.22
|
4
4
|
Summary: 配置读写(基于json格式进行简化)、ioc、以及其他工具代码。a json-base file format's read and write code by python, and codes to read and product object from configure file in such format(ioc), and other tool codes
|
5
5
|
Home-page: https://github.com/buildCodeZ/buildz
|
6
6
|
Author: Zzz
|
@@ -0,0 +1,38 @@
|
|
1
|
+
#
|
2
|
+
from ..tools import *
|
3
|
+
from buildz.ioc import wrap
|
4
|
+
@wrap.obj(id="save")
|
5
|
+
@wrap.obj_args("ref, cache", "ref, log", "ref, cache.modify")
|
6
|
+
class Save(Base):
|
7
|
+
def init(self, cache, log, upd):
|
8
|
+
self.cache = cache
|
9
|
+
self.log = log
|
10
|
+
self.upd = upd
|
11
|
+
def call(self, data, fc=None):
|
12
|
+
data = self.upd(data)
|
13
|
+
save = xf.g(data, save={})
|
14
|
+
fsave = xf.get(data, "save.file", {})
|
15
|
+
mem = xf.get(data, "save.mem", {})
|
16
|
+
saves = [save, fsave, mem]
|
17
|
+
fcs = [self.cache.set, self.cache.set_file, self.cache.set_mem]
|
18
|
+
for save,fc in zip(saves,fcs):
|
19
|
+
for k, v in save.items():
|
20
|
+
if type(v)==str:
|
21
|
+
v = ["key"]+v.split(".")
|
22
|
+
if type(v)!=list:
|
23
|
+
v = ["key", v]
|
24
|
+
tp = v[0]
|
25
|
+
v = v[1:]
|
26
|
+
if tp=="eval":
|
27
|
+
val = eval(v[0])
|
28
|
+
elif tp == "exec":
|
29
|
+
exec(v[0])
|
30
|
+
val = self.val
|
31
|
+
else:
|
32
|
+
val = xf.gets(data, v)
|
33
|
+
fc(k, val)
|
34
|
+
return True
|
35
|
+
|
36
|
+
pass
|
37
|
+
|
38
|
+
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: buildz
|
3
|
-
Version: 0.6.
|
3
|
+
Version: 0.6.22
|
4
4
|
Summary: 配置读写(基于json格式进行简化)、ioc、以及其他工具代码。a json-base file format's read and write code by python, and codes to read and product object from configure file in such format(ioc), and other tool codes
|
5
5
|
Home-page: https://github.com/buildCodeZ/buildz
|
6
6
|
Author: Zzz
|
@@ -30,14 +30,11 @@ buildz/auto/save.py
|
|
30
30
|
buildz/auto/verify.py
|
31
31
|
buildz/auto/test/test.py
|
32
32
|
buildz/auto/test/cache/cache.js
|
33
|
-
buildz/auto/test/cache/save.js
|
34
33
|
buildz/auto/test/config/config.js
|
35
34
|
buildz/auto/test/data/fp.js
|
36
35
|
buildz/auto/test/data/item1.js
|
37
36
|
buildz/auto/test/data/item2.js
|
38
37
|
buildz/auto/test/data/test.js
|
39
|
-
buildz/auto/test/log/20240930_log.txt
|
40
|
-
buildz/auto/test/log/20241008_log.txt
|
41
38
|
buildz/db/__main__.py
|
42
39
|
buildz/db/install.txt
|
43
40
|
buildz/db/run.conf
|
@@ -1,33 +0,0 @@
|
|
1
|
-
#
|
2
|
-
from ..tools import *
|
3
|
-
from buildz.ioc import wrap
|
4
|
-
@wrap.obj(id="save")
|
5
|
-
@wrap.obj_args("ref, cache", "ref, log", "ref, cache.modify")
|
6
|
-
class Save(Base):
|
7
|
-
def init(self, cache, log, upd):
|
8
|
-
self.cache = cache
|
9
|
-
self.log = log
|
10
|
-
self.upd = upd
|
11
|
-
def call(self, data, fc=None):
|
12
|
-
data = self.upd(data)
|
13
|
-
save = xf.g(data, save={})
|
14
|
-
for k, v in save.items():
|
15
|
-
if type(v)==str:
|
16
|
-
v = ["key"]+v.split(".")
|
17
|
-
if type(v)!=list:
|
18
|
-
v = ["key", v]
|
19
|
-
tp = v[0]
|
20
|
-
v = v[1:]
|
21
|
-
if tp=="eval":
|
22
|
-
val = eval(v[0])
|
23
|
-
elif tp == "exec":
|
24
|
-
exec(v[0])
|
25
|
-
val = self.val
|
26
|
-
else:
|
27
|
-
val = xf.gets(data, v)
|
28
|
-
self.cache.set(k, val)
|
29
|
-
return True
|
30
|
-
|
31
|
-
pass
|
32
|
-
|
33
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
{
|
2
|
-
cache: {
|
3
|
-
path: {
|
4
|
-
current: [
|
5
|
-
null,
|
6
|
-
"D:\\rootz\\python\\gits\\buildz_upd\\buildz\\auto\\test\\data"
|
7
|
-
]
|
8
|
-
}
|
9
|
-
},
|
10
|
-
request: {
|
11
|
-
debug: false
|
12
|
-
},
|
13
|
-
host: www.baidu.com,
|
14
|
-
test: {
|
15
|
-
url: tmpurl,
|
16
|
-
val: 1,
|
17
|
-
code: 1.99
|
18
|
-
},
|
19
|
-
result: {
|
20
|
-
code: 1.99
|
21
|
-
},
|
22
|
-
test2: {
|
23
|
-
headers: {
|
24
|
-
content_type: "text/html"
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
[INFO] 2024-09-30 12:18:42 load cache from cache/cache.js
|
2
|
-
[DEBUG] 2024-09-30 12:18:42 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
3
|
-
[DEBUG] 2024-09-30 12:18:42 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
4
|
-
[INFO] 2024-09-30 12:19:00 load cache from cache/cache.js
|
5
|
-
[INFO] 2024-09-30 12:19:00 load cache from cache/save.js
|
6
|
-
[DEBUG] 2024-09-30 12:19:00 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
7
|
-
[DEBUG] 2024-09-30 12:19:00 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
8
|
-
[INFO] 2024-09-30 20:22:25 load cache from cache/cache.js
|
9
|
-
[INFO] 2024-09-30 20:22:25 load cache from cache/save.js
|
10
|
-
[DEBUG] 2024-09-30 20:22:25 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
11
|
-
[DEBUG] 2024-09-30 20:22:25 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
12
|
-
[ERROR] 2024-09-30 20:22:25 error in request 'https://www.baidu.com/' with method get: HTTPSConnectionPool(host='www.baidu.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002247FE3AF10>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
|
13
|
-
[INFO] 2024-09-30 20:22:38 load cache from cache/cache.js
|
14
|
-
[INFO] 2024-09-30 20:22:38 load cache from cache/save.js
|
15
|
-
[DEBUG] 2024-09-30 20:22:38 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
16
|
-
[DEBUG] 2024-09-30 20:22:38 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
17
|
-
[INFO] 2024-09-30 20:26:22 load cache from cache/cache.js
|
18
|
-
[INFO] 2024-09-30 20:26:22 load cache from cache/save.js
|
19
|
-
[DEBUG] 2024-09-30 20:26:23 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
20
|
-
[DEBUG] 2024-09-30 20:26:23 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
21
|
-
[INFO] 2024-09-30 20:40:14 load cache from cache/cache.js
|
22
|
-
[INFO] 2024-09-30 20:40:14 load cache from cache/save.js
|
23
|
-
[DEBUG] 2024-09-30 20:40:14 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
24
|
-
[DEBUG] 2024-09-30 20:40:14 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
@@ -1,126 +0,0 @@
|
|
1
|
-
[INFO] 2024-10-08 22:31:52 load cache from cache/cache.js
|
2
|
-
[INFO] 2024-10-08 22:31:52 load cache from cache/save.js
|
3
|
-
[DEBUG] 2024-10-08 22:31:52 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
4
|
-
[DEBUG] 2024-10-08 22:31:52 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
5
|
-
[INFO] 2024-10-08 22:32:43 load cache from cache/cache.js
|
6
|
-
[INFO] 2024-10-08 22:32:43 load cache from cache/save.js
|
7
|
-
[DEBUG] 2024-10-08 22:32:43 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
8
|
-
[DEBUG] 2024-10-08 22:32:43 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
9
|
-
[INFO] 2024-10-08 22:40:27 load cache from cache/cache.js
|
10
|
-
[INFO] 2024-10-08 22:40:27 load cache from cache/save.js
|
11
|
-
[DEBUG] 2024-10-08 22:40:27 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
12
|
-
[DEBUG] 2024-10-08 22:40:27 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
13
|
-
[INFO] 2024-10-08 22:41:03 load cache from cache/cache.js
|
14
|
-
[INFO] 2024-10-08 22:41:03 load cache from cache/save.js
|
15
|
-
[DEBUG] 2024-10-08 22:41:03 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
16
|
-
[DEBUG] 2024-10-08 22:41:03 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
17
|
-
[INFO] 2024-10-08 22:41:45 load cache from cache/cache.js
|
18
|
-
[INFO] 2024-10-08 22:41:45 load cache from cache/save.js
|
19
|
-
[INFO] 2024-10-08 22:46:53 load cache from cache/cache.js
|
20
|
-
[INFO] 2024-10-08 22:46:53 load cache from cache/save.js
|
21
|
-
[DEBUG] 2024-10-08 22:46:53 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
22
|
-
[DEBUG] 2024-10-08 22:46:53 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
23
|
-
[INFO] 2024-10-08 22:51:36 load cache from cache/cache.js
|
24
|
-
[INFO] 2024-10-08 22:51:36 load cache from cache/save.js
|
25
|
-
[DEBUG] 2024-10-08 22:51:36 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
26
|
-
[DEBUG] 2024-10-08 22:51:36 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
27
|
-
[INFO] 2024-10-08 22:51:57 load cache from cache/cache.js
|
28
|
-
[INFO] 2024-10-08 22:51:57 load cache from cache/save.js
|
29
|
-
[DEBUG] 2024-10-08 22:51:57 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
30
|
-
[DEBUG] 2024-10-08 22:51:57 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
31
|
-
[INFO] 2024-10-08 22:52:32 load cache from cache/cache.js
|
32
|
-
[INFO] 2024-10-08 22:52:32 load cache from cache/save.js
|
33
|
-
[DEBUG] 2024-10-08 22:52:32 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
34
|
-
[DEBUG] 2024-10-08 22:52:32 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
35
|
-
[INFO] 2024-10-08 22:52:42 load cache from cache/cache.js
|
36
|
-
[INFO] 2024-10-08 22:52:42 load cache from cache/save.js
|
37
|
-
[DEBUG] 2024-10-08 22:52:42 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
38
|
-
[DEBUG] 2024-10-08 22:52:42 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
39
|
-
[INFO] 2024-10-08 22:52:58 load cache from cache/cache.js
|
40
|
-
[INFO] 2024-10-08 22:52:58 load cache from cache/save.js
|
41
|
-
[DEBUG] 2024-10-08 22:52:58 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
42
|
-
[DEBUG] 2024-10-08 22:52:58 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
43
|
-
[INFO] 2024-10-08 22:55:35 load cache from cache/cache.js
|
44
|
-
[INFO] 2024-10-08 22:55:35 load cache from cache/save.js
|
45
|
-
[DEBUG] 2024-10-08 22:55:35 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
46
|
-
[DEBUG] 2024-10-08 22:55:35 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
47
|
-
[INFO] 2024-10-08 22:57:52 load cache from cache/cache.js
|
48
|
-
[INFO] 2024-10-08 22:57:52 load cache from cache/save.js
|
49
|
-
[DEBUG] 2024-10-08 22:57:52 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
50
|
-
[DEBUG] 2024-10-08 22:57:52 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
51
|
-
[INFO] 2024-10-08 22:59:12 load cache from cache/cache.js
|
52
|
-
[INFO] 2024-10-08 22:59:12 load cache from cache/save.js
|
53
|
-
[DEBUG] 2024-10-08 22:59:12 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
54
|
-
[DEBUG] 2024-10-08 22:59:12 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
55
|
-
[INFO] 2024-10-08 22:59:25 load cache from cache/cache.js
|
56
|
-
[INFO] 2024-10-08 22:59:25 load cache from cache/save.js
|
57
|
-
[DEBUG] 2024-10-08 22:59:25 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
58
|
-
[DEBUG] 2024-10-08 22:59:25 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
59
|
-
[INFO] 2024-10-08 23:00:02 load cache from cache/cache.js
|
60
|
-
[INFO] 2024-10-08 23:00:02 load cache from cache/save.js
|
61
|
-
[DEBUG] 2024-10-08 23:00:02 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
62
|
-
[DEBUG] 2024-10-08 23:00:02 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
63
|
-
[INFO] 2024-10-08 23:01:21 load cache from cache/cache.js
|
64
|
-
[INFO] 2024-10-08 23:01:21 load cache from cache/save.js
|
65
|
-
[DEBUG] 2024-10-08 23:01:21 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
66
|
-
[DEBUG] 2024-10-08 23:01:21 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
67
|
-
[INFO] 2024-10-08 23:01:33 load cache from cache/cache.js
|
68
|
-
[INFO] 2024-10-08 23:01:33 load cache from cache/save.js
|
69
|
-
[DEBUG] 2024-10-08 23:01:33 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
70
|
-
[DEBUG] 2024-10-08 23:01:33 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
71
|
-
[DEBUG] 2024-10-08 23:01:33 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
72
|
-
[DEBUG] 2024-10-08 23:01:33 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
73
|
-
[INFO] 2024-10-08 23:02:10 load cache from cache/cache.js
|
74
|
-
[INFO] 2024-10-08 23:02:10 load cache from cache/save.js
|
75
|
-
[DEBUG] 2024-10-08 23:02:10 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
76
|
-
[DEBUG] 2024-10-08 23:02:10 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
77
|
-
[DEBUG] 2024-10-08 23:02:10 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
78
|
-
[DEBUG] 2024-10-08 23:02:10 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
79
|
-
[INFO] 2024-10-08 23:02:23 load cache from cache/cache.js
|
80
|
-
[INFO] 2024-10-08 23:02:23 load cache from cache/save.js
|
81
|
-
[DEBUG] 2024-10-08 23:02:23 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
82
|
-
[DEBUG] 2024-10-08 23:02:23 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
83
|
-
[DEBUG] 2024-10-08 23:02:23 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
84
|
-
[DEBUG] 2024-10-08 23:02:23 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
85
|
-
[INFO] 2024-10-08 23:04:41 load cache from cache/cache.js
|
86
|
-
[INFO] 2024-10-08 23:04:41 load cache from cache/save.js
|
87
|
-
[DEBUG] 2024-10-08 23:04:41 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
88
|
-
[DEBUG] 2024-10-08 23:04:41 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
89
|
-
[DEBUG] 2024-10-08 23:04:41 request response: <html>
|
90
|
-
<head>
|
91
|
-
<script>
|
92
|
-
location.replace(location.href.replace("https://","http://"));
|
93
|
-
</script>
|
94
|
-
</head>
|
95
|
-
<body>
|
96
|
-
<noscript><meta http-equiv="refresh" content="0;url=http://www.baidu.com/"></noscript>
|
97
|
-
</body>
|
98
|
-
</html>
|
99
|
-
[DEBUG] 2024-10-08 23:04:42 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
100
|
-
[DEBUG] 2024-10-08 23:04:42 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
101
|
-
[DEBUG] 2024-10-08 23:04:42 request response: <html>
|
102
|
-
<head>
|
103
|
-
<script>
|
104
|
-
location.replace(location.href.replace("https://","http://"));
|
105
|
-
</script>
|
106
|
-
</head>
|
107
|
-
<body>
|
108
|
-
<noscript><meta http-equiv="refresh" content="0;url=http://www.baidu.com/"></noscript>
|
109
|
-
</body>
|
110
|
-
</html>
|
111
|
-
[INFO] 2024-10-08 23:06:37 load cache from cache/cache.js
|
112
|
-
[INFO] 2024-10-08 23:06:37 load cache from cache/save.js
|
113
|
-
[DEBUG] 2024-10-08 23:06:37 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
114
|
-
[DEBUG] 2024-10-08 23:06:37 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
115
|
-
[DEBUG] 2024-10-08 23:06:38 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
116
|
-
[DEBUG] 2024-10-08 23:06:38 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
117
|
-
[INFO] 2024-10-08 23:07:37 load cache from cache/cache.js
|
118
|
-
[INFO] 2024-10-08 23:07:37 load cache from cache/save.js
|
119
|
-
[DEBUG] 2024-10-08 23:07:37 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
120
|
-
[DEBUG] 2024-10-08 23:07:37 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
121
|
-
[INFO] 2024-10-08 23:38:45 load cache from cache/cache.js
|
122
|
-
[INFO] 2024-10-08 23:38:45 load cache from cache/save.js
|
123
|
-
[DEBUG] 2024-10-08 23:38:45 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
124
|
-
[DEBUG] 2024-10-08 23:38:45 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
125
|
-
[DEBUG] 2024-10-08 23:38:46 test data: {'note': 'test', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl'}, 'save': {'result.code': 'result.code'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
126
|
-
[DEBUG] 2024-10-08 23:38:46 test data: {'note': 'test1', 'url': 'test', 'type': 'http.get', 'data': {'url': 'tmpurl', 'val': 1}, 'save': {'test.url': 'data.url'}, 'result': {'code': 1.99}, 'verify': ['result.code, [>, 1]']}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|