PipeGraphPy 1.0.17a1__tar.gz → 2.0.2__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.
- {pipegraphpy-1.0.17a1/src/PipeGraphPy.egg-info → pipegraphpy-2.0.2}/PKG-INFO +1 -1
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/README.md +16 -9
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/__init__.py +1 -1
- pipegraphpy-2.0.2/src/PipeGraphPy/core/anchor.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/edge.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/graph.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/graph_base.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/base.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/branchselect.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/classifier.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/cluster.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/datacharts.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/deeplearning.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/endscript.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/ensemble.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/evaluate.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/exportdata.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/handlescript.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/importdata.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/merge.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/mergescript.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/metrics.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/postprocessor.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/preprocessor.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/pythonscript.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/regressor.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/selector.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/selectscript.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/special.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/split.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/splitscript.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/startscript.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/modcls/transformer.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/module.cpython-38-x86_64-linux-gnu.so +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/evaluate/rmseeval.py +2 -2
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/__init__.py +2 -2
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/ensemblegridweather.py +2 -2
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/gridweather.py +2 -2
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/qiaogdfsimport.py +8 -8
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/shan1xiareaimport.py +2 -2
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/totalpower.py +2 -2
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/postprocessor/zerotocap.py +1 -1
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/preprocessor/sqlfilter.py +1 -1
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/pythonscript/copycompetitionpredictresulttest.py +18 -18
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/pythonscript/reportmengDongenergytest.py +2 -2
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/special/graphmod.py +2 -2
- pipegraphpy-2.0.2/src/PipeGraphPy/core/node.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/core/pipegraph.cpython-38-x86_64-linux-gnu.so +0 -0
- pipegraphpy-2.0.2/src/PipeGraphPy/db/models.cpython-38-x86_64-linux-gnu.so +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/db/utils.py +15 -15
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2/src/PipeGraphPy.egg-info}/PKG-INFO +1 -1
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy.egg-info/SOURCES.txt +34 -34
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy.egg-info/dependency_links.txt +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy.egg-info/requires.txt +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy.egg-info/top_level.txt +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/anchor.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/edge.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/graph.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/graph_base.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/base.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/branchselect.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/classifier.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/cluster.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/datacharts.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/deeplearning.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/endscript.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/ensemble.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/evaluate.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/exportdata.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/handlescript.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/importdata.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/merge.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/mergescript.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/metrics.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/postprocessor.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/preprocessor.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/pythonscript.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/regressor.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/selector.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/selectscript.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/special.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/split.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/splitscript.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/startscript.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/modcls/transformer.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/module.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/node.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/core/pipegraph.cpython-38-aarch64-linux-gnu.so +0 -0
- pipegraphpy-1.0.17a1/src/PipeGraphPy/db/models.cpython-38-aarch64-linux-gnu.so +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/MANIFEST.in +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/requirements.txt +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/setup.cfg +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/setup.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/common.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/config/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/config/config_light.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/config/custom.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/config/default_settings.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/constants.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modcls/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/branchselect/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/branchselect/sqlbranchselect.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/classifier/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/cluster/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/custom/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/custom/classifier/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/datacharts/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/datacharts/dataview.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/deeplearning/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/ensemble/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/ensemble/predictcombine.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/evaluate/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/exportdata/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/exportdata/rundownloadcsv.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/exportdata/todb.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/algodata.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/fromdb.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/fromsql.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/import_graph.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/midlong.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/nwpdata.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/strategyalgodata.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/test.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/theorydata.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/thirdpower.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/totalpower_utils.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/model_selector/MLP_test_Selector.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/model_selector/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/postprocessor/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/postprocessor/postdownloadcsv.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/postprocessor/test.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/postprocessor/testss.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/preprocessor/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/preprocessor/filtercolumns.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/preprocessor/filterlib.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/preprocessor/predownloadcsv.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/pythonscript/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/regressor/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/selector/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/selector/explore_selector.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/selector/nwp_selector.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/special/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/special/emptydata.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/transformer/MLP_test_Transformer.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/transformer/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/transformer/rnn_transformer.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/db/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/decorators.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/exceptions.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/handle_wait_graph.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/logger.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/plot/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/plot/draw.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/shell_op.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/storage/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/storage/base.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/storage/dict_backend.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/storage/file_backend.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/storage/redis_backend.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/tools.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/__init__.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/celery_control.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/check.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/core.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/examine.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/feature_select.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/file_operate.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/format.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/formula.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/functional.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/handle_graph.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/lock.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/mq.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/osutil.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/read_nwp_tar.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/redis_operate.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/str_handle.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/utils/version.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/worker_exe.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/worker_heartbeat.py +0 -0
- {pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/worker_subscriber.py +0 -0
|
@@ -87,7 +87,7 @@ class ImportExample():
|
|
|
87
87
|
|
|
88
88
|
def __init__(self, **kw):
|
|
89
89
|
self.params = kw
|
|
90
|
-
self.farm_info = kw.get("
|
|
90
|
+
self.farm_info = kw.get("objects_info", {})
|
|
91
91
|
|
|
92
92
|
def run(self):
|
|
93
93
|
df = pd.DataFrame(
|
|
@@ -371,7 +371,7 @@ class SqlFilter():
|
|
|
371
371
|
__version__ = '0.0.2'
|
|
372
372
|
def __init__(self, **kw):
|
|
373
373
|
self.params = kw
|
|
374
|
-
self.farm_info = kw.get('
|
|
374
|
+
self.farm_info = kw.get('objects_info')
|
|
375
375
|
|
|
376
376
|
def _sqlfilter(self, sql, X, y=None):
|
|
377
377
|
X, y = X, pd.DataFrame() if y is None else y
|
|
@@ -526,19 +526,26 @@ import_node.params = {
|
|
|
526
526
|
import_node.run()
|
|
527
527
|
```
|
|
528
528
|
|
|
529
|
-
##
|
|
530
|
-
|
|
529
|
+
## x86版本升级步骤(改进)
|
|
530
|
+
前期准备:
|
|
531
|
+
docker pull --platform linux/amd64 python:3.8.17
|
|
532
|
+
docker tag python:3.8.17 x86_python:3.8.17
|
|
533
|
+
docker rmi python:3.8.17
|
|
534
|
+
- 1、复制一份PipeGraphPy_x86代码
|
|
531
535
|
- 2、修改PipeGraphPy版本号
|
|
532
|
-
- 3、启动一个arm容器挂载
|
|
533
|
-
- 4
|
|
534
|
-
- 5、到容器外面的/mnt/e/jiutian/pyproj/PipeGraphPy_arm目录执行:
|
|
536
|
+
- 3、启动一个arm容器挂载PipeGraphPy_x86目录:docker run --rm --platform linux/amd64 -v /Users/zhengshuiqing/work/qingneng/pyproj/PipeGraphPy_x86:/Users/zhengshuiqing/work/qingneng/pyproj/PipeGraphPy_x86 x86_python:3.8.17 sh -c 'cd /Users/zhengshuiqing/work/qingneng/pyproj/PipeGraphPy_x86/src && pip install Cython && sh build.sh x86'
|
|
537
|
+
- 4、到容器外面的/Users/zhengshuiqing/work/qingneng/pyproj/PipeGraphPy_x86目录执行:
|
|
535
538
|
python -m build
|
|
536
539
|
twine upload ./dist/*
|
|
537
540
|
|
|
538
541
|
## arm版本升级步骤(改进)
|
|
542
|
+
前期准备:
|
|
543
|
+
docker pull --platform linux/arm64 python:3.8.17
|
|
544
|
+
docker tag python:3.8.17 arm_python:3.8.17
|
|
545
|
+
docker rmi python:3.8.17
|
|
539
546
|
- 1、复制一份PipeGraphPy_arm代码
|
|
540
547
|
- 2、修改PipeGraphPy版本号
|
|
541
|
-
- 3、启动一个arm容器挂载PipeGraphPy_arm目录:docker run --rm -v /
|
|
542
|
-
- 4、到容器外面的/
|
|
548
|
+
- 3、启动一个arm容器挂载PipeGraphPy_arm目录:docker run --rm --platform linux/arm64 -v /Users/zhengshuiqing/work/qingneng/pyproj/PipeGraphPy_arm:/Users/zhengshuiqing/work/qingneng/pyproj/PipeGraphPy_arm arm_python:3.8.17 sh -c 'cd /Users/zhengshuiqing/work/qingneng/pyproj/PipeGraphPy_arm/src &&& pip install Cython & sh build.sh arm'
|
|
549
|
+
- 4、到容器外面的/Users/zhengshuiqing/work/qingneng/pyproj/PipeGraphPy_arm目录执行:
|
|
543
550
|
python -m build
|
|
544
551
|
twine upload ./dist/*
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
{pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/evaluate/rmseeval.py
RENAMED
|
@@ -40,7 +40,7 @@ class TotalEvaluateData():
|
|
|
40
40
|
nwp_config[k] = list(set(nwp_config[k]) | set(v))
|
|
41
41
|
feature = list(set(feature) | set(n.params["feature"]))
|
|
42
42
|
check_result = list(set(check_result) | set(n.params.get("check_result")))
|
|
43
|
-
graph = Graph.create(wfid=self.evaluate_graph_info['
|
|
43
|
+
graph = Graph.create(wfid=self.evaluate_graph_info['objects_id'])
|
|
44
44
|
algo_data_node = Node.create(Module.use("Algodata"), graph)
|
|
45
45
|
algo_data_node.params = {
|
|
46
46
|
"out_col": out_col,
|
|
@@ -242,7 +242,7 @@ class RmseEval():
|
|
|
242
242
|
}
|
|
243
243
|
def __init__(self, **kw):
|
|
244
244
|
self.params = kw
|
|
245
|
-
self.farm_info = self.params.get('
|
|
245
|
+
self.farm_info = self.params.get('objects_info', {})
|
|
246
246
|
self.graph_info = self.params.get('graph_info', {})
|
|
247
247
|
self.powercap = self.farm_info.get('powercap', POWERCAP)
|
|
248
248
|
self.theory_score = 50
|
{pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/__init__.py
RENAMED
|
@@ -124,8 +124,8 @@ class AlgodataBase(InputDataBase):
|
|
|
124
124
|
InputDataBase.__init__(self, **kw)
|
|
125
125
|
self.params = kw
|
|
126
126
|
self.graph_info = kw.get("graph_info")
|
|
127
|
-
self.wfid = self.graph_info["
|
|
128
|
-
self.farm_info = kw.get("
|
|
127
|
+
self.wfid = self.graph_info["objects_id"]
|
|
128
|
+
self.farm_info = kw.get("objects_info")
|
|
129
129
|
default_feature = (
|
|
130
130
|
"ghi_sfc"
|
|
131
131
|
if self.farm_info["f_type"] == FARMTYPE.PV
|
|
@@ -190,8 +190,8 @@ class EnsembleGridWeather(InputDataBase):
|
|
|
190
190
|
def __init__(self, **kw):
|
|
191
191
|
InputDataBase.__init__(self, **kw)
|
|
192
192
|
graph_info = kw["graph_info"]
|
|
193
|
-
self.wfid = graph_info["
|
|
194
|
-
self.farm_info = self.params["
|
|
193
|
+
self.wfid = graph_info["objects_id"]
|
|
194
|
+
self.farm_info = self.params["objects_info"]
|
|
195
195
|
|
|
196
196
|
def _get_obs_data(self, start_dt, end_dt, columns=["r_apower"]):
|
|
197
197
|
"""调用algo_data接口,获取数据库obs_data实测数据"""
|
{pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/gridweather.py
RENAMED
|
@@ -207,8 +207,8 @@ class GridWeather(InputDataBase):
|
|
|
207
207
|
def __init__(self, **kw):
|
|
208
208
|
InputDataBase.__init__(self, **kw)
|
|
209
209
|
graph_info = kw["graph_info"]
|
|
210
|
-
self.wfid = graph_info["
|
|
211
|
-
self.farm_info = self.params["
|
|
210
|
+
self.wfid = graph_info["objects_id"]
|
|
211
|
+
self.farm_info = self.params["objects_info"]
|
|
212
212
|
|
|
213
213
|
def _get_obs_data(self, start_dt, end_dt, columns=["r_apower"]):
|
|
214
214
|
"""调用algo_data接口,获取数据库obs_data实测数据"""
|
{pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/qiaogdfsimport.py
RENAMED
|
@@ -100,16 +100,16 @@ class QiaoGDFSImport():
|
|
|
100
100
|
def __init__(self,**kw):
|
|
101
101
|
# super().__init__(**kw)
|
|
102
102
|
self.params = kw
|
|
103
|
-
self.farm_info = kw.get("
|
|
103
|
+
self.farm_info = kw.get("objects_info", {})
|
|
104
104
|
self.datapath = "/mnt/d/use_data" # 本地测试使用
|
|
105
105
|
# self.datapath = "/jtdata/products/data" # 线上的数据路径
|
|
106
|
-
self.gdfs_path_history="/JTC3WS8V/GDFS/merge/%s/" % (self.datapath, self.farm_info.get("
|
|
107
|
-
self.ec_path_history="%s/JTE72HN5/EC/merge/%s/" % (self.datapath, self.farm_info.get("
|
|
106
|
+
self.gdfs_path_history="/JTC3WS8V/GDFS/merge/%s/" % (self.datapath, self.farm_info.get("objects_id"))
|
|
107
|
+
self.ec_path_history="%s/JTE72HN5/EC/merge/%s/" % (self.datapath, self.farm_info.get("objects_id"))
|
|
108
108
|
self.gdfs_path_Realtime="%s/JT6DE34S/" % self.datapath
|
|
109
109
|
self.ec_path_Realtime = "%s/JT1A98G9/" % self.datapath
|
|
110
|
-
self.ws_path=r"%s/JTLMOXVE/%s/ws.csv" % (self.datapath, self.farm_info.get("
|
|
111
|
-
self.sr_path=r"%s/JTLMOXVE/%s/sr.csv" % (self.datapath, self.farm_info.get("
|
|
112
|
-
self.power_path = r"%s/JTLMOXVE/%s/power.csv" % (self.datapath, self.farm_info.get("
|
|
110
|
+
self.ws_path=r"%s/JTLMOXVE/%s/ws.csv" % (self.datapath, self.farm_info.get("objects_id"))
|
|
111
|
+
self.sr_path=r"%s/JTLMOXVE/%s/sr.csv" % (self.datapath, self.farm_info.get("objects_id"))
|
|
112
|
+
self.power_path = r"%s/JTLMOXVE/%s/power.csv" % (self.datapath, self.farm_info.get("objects_id"))
|
|
113
113
|
self.farm_type = self.farm_info.get("ext_type_1")
|
|
114
114
|
|
|
115
115
|
def cal_data_range(self, days, reserve=0, last_dt=None):
|
|
@@ -416,7 +416,7 @@ class QiaoGDFSImport():
|
|
|
416
416
|
"""
|
|
417
417
|
预测gdfs数据处理
|
|
418
418
|
"""
|
|
419
|
-
file_tail_str = "%s.rb" % self.farm_info.get("
|
|
419
|
+
file_tail_str = "%s.rb" % self.farm_info.get("objects_id")
|
|
420
420
|
data =pd.DataFrame([])
|
|
421
421
|
now_time= (datetime.utcnow()+timedelta(hours=8)).strftime("%Y%m%d")
|
|
422
422
|
if not os.path.exists(os.path.join(self.gdfs_path_Realtime,now_time)):
|
|
@@ -440,7 +440,7 @@ class QiaoGDFSImport():
|
|
|
440
440
|
"""
|
|
441
441
|
预测EC数据数据
|
|
442
442
|
"""
|
|
443
|
-
file_tail_str = "%s.rb" % self.farm_info.get("
|
|
443
|
+
file_tail_str = "%s.rb" % self.farm_info.get("objects_id")
|
|
444
444
|
data =pd.DataFrame([])
|
|
445
445
|
now_time= ((datetime.utcnow()+timedelta(hours=8)) - timedelta(days=1) ).strftime("%Y%m%d") # 获取上一天20批次数据
|
|
446
446
|
if not os.path.exists(os.path.join(self.ec_path_Realtime,now_time)):
|
|
@@ -99,7 +99,7 @@ class Shan1XiAreaImport():
|
|
|
99
99
|
def __init__(self, **kw):
|
|
100
100
|
# super().__init__(**kw)
|
|
101
101
|
self.params = kw
|
|
102
|
-
self.farm_info = kw.get("
|
|
102
|
+
self.farm_info = kw.get("objects_info", {})
|
|
103
103
|
self.data_path = ""
|
|
104
104
|
self.datapath = "/mnt/d/use_data" # 本地测试使用
|
|
105
105
|
# self.datapath = "/jtdata/products/data" # 线上的数据路径
|
|
@@ -371,7 +371,7 @@ class Shan1XiAreaImport():
|
|
|
371
371
|
"""
|
|
372
372
|
预测cfs45数据数据
|
|
373
373
|
"""
|
|
374
|
-
file_tail_str = "%s.rb" % self.farm_info.get("
|
|
374
|
+
file_tail_str = "%s.rb" % self.farm_info.get("objects_id") # 风场或者区域farm_id
|
|
375
375
|
data_con = pd.DataFrame([])
|
|
376
376
|
now_time = datetime.utcnow()
|
|
377
377
|
now_time_strf = now_time.strftime("%Y%m%d") + "0000"
|
{pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/importdata/totalpower.py
RENAMED
|
@@ -87,7 +87,7 @@ class TotalPower(InputDataBase):
|
|
|
87
87
|
InputDataBase.__init__(self, **kw)
|
|
88
88
|
self.params = kw
|
|
89
89
|
self.graph_info = kw.get("graph_info")
|
|
90
|
-
self.farm_info = kw.get("
|
|
90
|
+
self.farm_info = kw.get("objects_info")
|
|
91
91
|
|
|
92
92
|
def run(self):
|
|
93
93
|
"""运行,取训练数据"""
|
|
@@ -115,7 +115,7 @@ class TotalPower(InputDataBase):
|
|
|
115
115
|
f_type=self.farm_info['f_type'],
|
|
116
116
|
dtype='df',
|
|
117
117
|
)
|
|
118
|
-
info_w = info_w[info_w["wfid"]!=self.params["
|
|
118
|
+
info_w = info_w[info_w["wfid"]!=self.params["objects_info"]['wfid']]
|
|
119
119
|
wfids = info_w['wfid'].values.tolist()
|
|
120
120
|
if not wfids:
|
|
121
121
|
raise Exception("未找到电场")
|
{pipegraphpy-1.0.17a1 → pipegraphpy-2.0.2}/src/PipeGraphPy/core/modules/preprocessor/sqlfilter.py
RENAMED
|
@@ -21,7 +21,7 @@ class SqlFilter():
|
|
|
21
21
|
__version__ = '0.0.1'
|
|
22
22
|
def __init__(self, **kw):
|
|
23
23
|
self.params = kw
|
|
24
|
-
self.farm_info = kw.get('
|
|
24
|
+
self.farm_info = kw.get('objects_info')
|
|
25
25
|
|
|
26
26
|
def _sqlfilter(self, sql, X, y=None):
|
|
27
27
|
X, y = X, pd.DataFrame() if y is None else y
|
|
@@ -15,8 +15,8 @@ class CopyCompetitionPredictResultTest():
|
|
|
15
15
|
self.replace = self.params.get("replace")
|
|
16
16
|
if report_order == "point1_power":
|
|
17
17
|
##### 比赛风功率
|
|
18
|
-
self.
|
|
19
|
-
self.
|
|
18
|
+
self.objects_id = "d21849c986a14bbbab8f0c9d54cd988d"
|
|
19
|
+
self.objects_type_id = "1ae4ead5f29612cbc938d743079842d4"
|
|
20
20
|
self.graph_ids = []
|
|
21
21
|
self.file_element = "PG"
|
|
22
22
|
self.file_scope = "POINT1"
|
|
@@ -24,8 +24,8 @@ class CopyCompetitionPredictResultTest():
|
|
|
24
24
|
self.batch_str = "_point1_pg"
|
|
25
25
|
elif report_order == "point2_power":
|
|
26
26
|
##### 比赛光伏功率
|
|
27
|
-
self.
|
|
28
|
-
self.
|
|
27
|
+
self.objects_id = "4bf37a3c739f4656b4ed07f7b33bef3d"
|
|
28
|
+
self.objects_type_id = "1ae4ead5f29612cbc938d743079842d4"
|
|
29
29
|
self.graph_ids = []
|
|
30
30
|
self.file_element = "PG"
|
|
31
31
|
self.file_scope = "POINT2"
|
|
@@ -33,8 +33,8 @@ class CopyCompetitionPredictResultTest():
|
|
|
33
33
|
self.batch_str = "_point2_pg"
|
|
34
34
|
elif report_order == "point1_ws":
|
|
35
35
|
##### 比赛风订正
|
|
36
|
-
self.
|
|
37
|
-
self.
|
|
36
|
+
self.objects_id = "d21849c986a14bbbab8f0c9d54cd988d"
|
|
37
|
+
self.objects_type_id = "e3e5fbf156fa57766e76002395489236"
|
|
38
38
|
self.graph_ids = []
|
|
39
39
|
self.file_element = "WS"
|
|
40
40
|
self.file_scope = "POINT1"
|
|
@@ -42,8 +42,8 @@ class CopyCompetitionPredictResultTest():
|
|
|
42
42
|
self.batch_str = "_point1_ws"
|
|
43
43
|
elif report_order == "point2_ns":
|
|
44
44
|
##### 比赛光伏订正
|
|
45
|
-
self.
|
|
46
|
-
self.
|
|
45
|
+
self.objects_id = "4bf37a3c739f4656b4ed07f7b33bef3d"
|
|
46
|
+
self.objects_type_id = "e3e5fbf156fa57766e76002395489236"
|
|
47
47
|
self.graph_ids = []
|
|
48
48
|
self.file_element = "NS"
|
|
49
49
|
self.file_scope = "POINT2"
|
|
@@ -51,8 +51,8 @@ class CopyCompetitionPredictResultTest():
|
|
|
51
51
|
self.batch_str = "_point2_ns"
|
|
52
52
|
elif report_order == "point3_power":
|
|
53
53
|
##### 比赛贵州风功率
|
|
54
|
-
self.
|
|
55
|
-
self.
|
|
54
|
+
self.objects_id = "3f66219068414c6ab06cdd538a3e456c"
|
|
55
|
+
self.objects_type_id = "1ae4ead5f29612cbc938d743079842d4"
|
|
56
56
|
self.graph_ids = []
|
|
57
57
|
self.file_element = "PG"
|
|
58
58
|
self.file_scope = "POINT3"
|
|
@@ -60,8 +60,8 @@ class CopyCompetitionPredictResultTest():
|
|
|
60
60
|
self.batch_str = "_point3_pg"
|
|
61
61
|
elif report_order == "point4_power":
|
|
62
62
|
##### 比赛贵州光伏功率
|
|
63
|
-
self.
|
|
64
|
-
self.
|
|
63
|
+
self.objects_id = "d0f98cfd863a4d398bc77d671e7d01a7"
|
|
64
|
+
self.objects_type_id = "1ae4ead5f29612cbc938d743079842d4"
|
|
65
65
|
self.graph_ids = []
|
|
66
66
|
self.file_element = "PG"
|
|
67
67
|
self.file_scope = "POINT4"
|
|
@@ -69,8 +69,8 @@ class CopyCompetitionPredictResultTest():
|
|
|
69
69
|
self.batch_str = "_point4_pg"
|
|
70
70
|
elif report_order == "point3_ws":
|
|
71
71
|
##### 比赛贵州风订正
|
|
72
|
-
self.
|
|
73
|
-
self.
|
|
72
|
+
self.objects_id = "3f66219068414c6ab06cdd538a3e456c"
|
|
73
|
+
self.objects_type_id = "e3e5fbf156fa57766e76002395489236"
|
|
74
74
|
self.graph_ids = []
|
|
75
75
|
self.file_element = "WS"
|
|
76
76
|
self.file_scope = "POINT3"
|
|
@@ -78,8 +78,8 @@ class CopyCompetitionPredictResultTest():
|
|
|
78
78
|
self.batch_str = "_point3_ws"
|
|
79
79
|
elif report_order == "point4_ns":
|
|
80
80
|
##### 比赛贵州光伏订正
|
|
81
|
-
self.
|
|
82
|
-
self.
|
|
81
|
+
self.objects_id = "d0f98cfd863a4d398bc77d671e7d01a7"
|
|
82
|
+
self.objects_type_id = "e3e5fbf156fa57766e76002395489236"
|
|
83
83
|
self.graph_ids = []
|
|
84
84
|
self.file_element = "NS"
|
|
85
85
|
self.file_scope = "POINT4"
|
|
@@ -201,8 +201,8 @@ class CopyCompetitionPredictResultTest():
|
|
|
201
201
|
graph_info = GraphsTB.find(id=("in", self.graph_ids))
|
|
202
202
|
else:
|
|
203
203
|
graph_info = GraphsTB.find(
|
|
204
|
-
|
|
205
|
-
|
|
204
|
+
objects_id=self.objects_id,
|
|
205
|
+
objects_type_id=self.objects_type_id,
|
|
206
206
|
status=STATUS.SUCCESS,
|
|
207
207
|
category=GRAPHTYPE.TRAIN)
|
|
208
208
|
graph_sort = sorted(graph_info, key=lambda x: x["score"], reverse=True)
|
|
@@ -132,8 +132,8 @@ class ReportMengDongEnergyTest():
|
|
|
132
132
|
graph_info = GraphsTB.find(id=("in", model_ids))
|
|
133
133
|
else:
|
|
134
134
|
graph_info = GraphsTB.find(
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
objects_id=self.instance_id,
|
|
136
|
+
objects_type_id=self.product_id,
|
|
137
137
|
status=STATUS.SUCCESS,
|
|
138
138
|
category=GRAPHTYPE.TRAIN)
|
|
139
139
|
graph_sort = sorted(graph_info, key=lambda x: x["score"], reverse=True)
|
|
@@ -27,11 +27,11 @@ class GraphMod(SpecialBase):
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
def run(self):
|
|
30
|
-
self.
|
|
30
|
+
self.objects_info = self.params.get("objects_info")
|
|
31
31
|
self.graph_info = self.params.get("graph_info")
|
|
32
32
|
graph = Graph(id=self.params["graphid"])
|
|
33
33
|
graphcopy = graph.copy()
|
|
34
|
-
graphcopy.info["
|
|
34
|
+
graphcopy.info["objects_info"] = self.objects_info
|
|
35
35
|
graphcopy.run()
|
|
36
36
|
self.node.model = graphcopy
|
|
37
37
|
return self.node, self.node.id
|
|
@@ -56,7 +56,7 @@ def get_npmos_info(prod_id, instance_id):
|
|
|
56
56
|
instance_id: 产品实例id
|
|
57
57
|
"""
|
|
58
58
|
try:
|
|
59
|
-
|
|
59
|
+
objects_info = {}
|
|
60
60
|
with connect_db(DB.dbPipeGraphPy) as npmos_db:
|
|
61
61
|
def get_entity_info(service_entity_rel_type):
|
|
62
62
|
"""
|
|
@@ -115,35 +115,35 @@ def get_npmos_info(prod_id, instance_id):
|
|
|
115
115
|
srv_data_id=service_entity["id"],
|
|
116
116
|
type_id=("in", [i["point_id"] for i in service_entity_rel_object])).all()
|
|
117
117
|
model_object = get_entity_info(service_entity_rel_type_2)
|
|
118
|
-
|
|
118
|
+
objects_info = {
|
|
119
119
|
"product_info": pro_base_info,
|
|
120
120
|
"product_instance_info": pro_instance_info,
|
|
121
121
|
"service_entity": service_entity,
|
|
122
122
|
"model_object": model_object
|
|
123
123
|
}
|
|
124
|
-
return
|
|
124
|
+
return objects_info
|
|
125
125
|
except:
|
|
126
126
|
err = traceback.format_exc()
|
|
127
127
|
return {"msg": "error", "content": err}
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
def
|
|
130
|
+
def get_objects_info(objects_type_id, objects_id):
|
|
131
131
|
"""获取业务信息
|
|
132
132
|
参数:
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
objects_type_id: 业务类型
|
|
134
|
+
objects_id:业务id
|
|
135
135
|
"""
|
|
136
|
-
if
|
|
137
|
-
return {"
|
|
138
|
-
elif
|
|
139
|
-
return {"
|
|
136
|
+
if objects_type_id == BIZ_TYPE.WFID:
|
|
137
|
+
return {"objects_type_id": objects_type_id, "objects_id": objects_id}
|
|
138
|
+
elif objects_type_id == BIZ_TYPE.CUSTOM:
|
|
139
|
+
return {"objects_type_id": objects_type_id, "objects_id": objects_id}
|
|
140
140
|
else:
|
|
141
|
-
npmos_info = get_npmos_info(
|
|
141
|
+
npmos_info = get_npmos_info(objects_type_id, objects_id)
|
|
142
142
|
if npmos_info.get("msg") == "error":
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
return
|
|
143
|
+
objects_info = ObjectsTB.find_one(objects_type_id=objects_type_id, objects_id=objects_id)
|
|
144
|
+
objects_info = objects_info if objects_info else {"objects_type_id": objects_type_id, "objects_id": objects_id}
|
|
145
|
+
objects_info["npmos_info"] = npmos_info
|
|
146
|
+
return objects_info
|
|
147
147
|
else:
|
|
148
148
|
return npmos_info
|
|
149
149
|
|
|
@@ -25,40 +25,40 @@ src/PipeGraphPy/config/config_light.py
|
|
|
25
25
|
src/PipeGraphPy/config/custom.py
|
|
26
26
|
src/PipeGraphPy/config/default_settings.py
|
|
27
27
|
src/PipeGraphPy/core/__init__.py
|
|
28
|
-
src/PipeGraphPy/core/anchor.cpython-38-
|
|
29
|
-
src/PipeGraphPy/core/edge.cpython-38-
|
|
30
|
-
src/PipeGraphPy/core/graph.cpython-38-
|
|
31
|
-
src/PipeGraphPy/core/graph_base.cpython-38-
|
|
32
|
-
src/PipeGraphPy/core/module.cpython-38-
|
|
33
|
-
src/PipeGraphPy/core/node.cpython-38-
|
|
34
|
-
src/PipeGraphPy/core/pipegraph.cpython-38-
|
|
28
|
+
src/PipeGraphPy/core/anchor.cpython-38-x86_64-linux-gnu.so
|
|
29
|
+
src/PipeGraphPy/core/edge.cpython-38-x86_64-linux-gnu.so
|
|
30
|
+
src/PipeGraphPy/core/graph.cpython-38-x86_64-linux-gnu.so
|
|
31
|
+
src/PipeGraphPy/core/graph_base.cpython-38-x86_64-linux-gnu.so
|
|
32
|
+
src/PipeGraphPy/core/module.cpython-38-x86_64-linux-gnu.so
|
|
33
|
+
src/PipeGraphPy/core/node.cpython-38-x86_64-linux-gnu.so
|
|
34
|
+
src/PipeGraphPy/core/pipegraph.cpython-38-x86_64-linux-gnu.so
|
|
35
35
|
src/PipeGraphPy/core/modcls/__init__.py
|
|
36
|
-
src/PipeGraphPy/core/modcls/base.cpython-38-
|
|
37
|
-
src/PipeGraphPy/core/modcls/branchselect.cpython-38-
|
|
38
|
-
src/PipeGraphPy/core/modcls/classifier.cpython-38-
|
|
39
|
-
src/PipeGraphPy/core/modcls/cluster.cpython-38-
|
|
40
|
-
src/PipeGraphPy/core/modcls/datacharts.cpython-38-
|
|
41
|
-
src/PipeGraphPy/core/modcls/deeplearning.cpython-38-
|
|
42
|
-
src/PipeGraphPy/core/modcls/endscript.cpython-38-
|
|
43
|
-
src/PipeGraphPy/core/modcls/ensemble.cpython-38-
|
|
44
|
-
src/PipeGraphPy/core/modcls/evaluate.cpython-38-
|
|
45
|
-
src/PipeGraphPy/core/modcls/exportdata.cpython-38-
|
|
46
|
-
src/PipeGraphPy/core/modcls/handlescript.cpython-38-
|
|
47
|
-
src/PipeGraphPy/core/modcls/importdata.cpython-38-
|
|
48
|
-
src/PipeGraphPy/core/modcls/merge.cpython-38-
|
|
49
|
-
src/PipeGraphPy/core/modcls/mergescript.cpython-38-
|
|
50
|
-
src/PipeGraphPy/core/modcls/metrics.cpython-38-
|
|
51
|
-
src/PipeGraphPy/core/modcls/postprocessor.cpython-38-
|
|
52
|
-
src/PipeGraphPy/core/modcls/preprocessor.cpython-38-
|
|
53
|
-
src/PipeGraphPy/core/modcls/pythonscript.cpython-38-
|
|
54
|
-
src/PipeGraphPy/core/modcls/regressor.cpython-38-
|
|
55
|
-
src/PipeGraphPy/core/modcls/selector.cpython-38-
|
|
56
|
-
src/PipeGraphPy/core/modcls/selectscript.cpython-38-
|
|
57
|
-
src/PipeGraphPy/core/modcls/special.cpython-38-
|
|
58
|
-
src/PipeGraphPy/core/modcls/split.cpython-38-
|
|
59
|
-
src/PipeGraphPy/core/modcls/splitscript.cpython-38-
|
|
60
|
-
src/PipeGraphPy/core/modcls/startscript.cpython-38-
|
|
61
|
-
src/PipeGraphPy/core/modcls/transformer.cpython-38-
|
|
36
|
+
src/PipeGraphPy/core/modcls/base.cpython-38-x86_64-linux-gnu.so
|
|
37
|
+
src/PipeGraphPy/core/modcls/branchselect.cpython-38-x86_64-linux-gnu.so
|
|
38
|
+
src/PipeGraphPy/core/modcls/classifier.cpython-38-x86_64-linux-gnu.so
|
|
39
|
+
src/PipeGraphPy/core/modcls/cluster.cpython-38-x86_64-linux-gnu.so
|
|
40
|
+
src/PipeGraphPy/core/modcls/datacharts.cpython-38-x86_64-linux-gnu.so
|
|
41
|
+
src/PipeGraphPy/core/modcls/deeplearning.cpython-38-x86_64-linux-gnu.so
|
|
42
|
+
src/PipeGraphPy/core/modcls/endscript.cpython-38-x86_64-linux-gnu.so
|
|
43
|
+
src/PipeGraphPy/core/modcls/ensemble.cpython-38-x86_64-linux-gnu.so
|
|
44
|
+
src/PipeGraphPy/core/modcls/evaluate.cpython-38-x86_64-linux-gnu.so
|
|
45
|
+
src/PipeGraphPy/core/modcls/exportdata.cpython-38-x86_64-linux-gnu.so
|
|
46
|
+
src/PipeGraphPy/core/modcls/handlescript.cpython-38-x86_64-linux-gnu.so
|
|
47
|
+
src/PipeGraphPy/core/modcls/importdata.cpython-38-x86_64-linux-gnu.so
|
|
48
|
+
src/PipeGraphPy/core/modcls/merge.cpython-38-x86_64-linux-gnu.so
|
|
49
|
+
src/PipeGraphPy/core/modcls/mergescript.cpython-38-x86_64-linux-gnu.so
|
|
50
|
+
src/PipeGraphPy/core/modcls/metrics.cpython-38-x86_64-linux-gnu.so
|
|
51
|
+
src/PipeGraphPy/core/modcls/postprocessor.cpython-38-x86_64-linux-gnu.so
|
|
52
|
+
src/PipeGraphPy/core/modcls/preprocessor.cpython-38-x86_64-linux-gnu.so
|
|
53
|
+
src/PipeGraphPy/core/modcls/pythonscript.cpython-38-x86_64-linux-gnu.so
|
|
54
|
+
src/PipeGraphPy/core/modcls/regressor.cpython-38-x86_64-linux-gnu.so
|
|
55
|
+
src/PipeGraphPy/core/modcls/selector.cpython-38-x86_64-linux-gnu.so
|
|
56
|
+
src/PipeGraphPy/core/modcls/selectscript.cpython-38-x86_64-linux-gnu.so
|
|
57
|
+
src/PipeGraphPy/core/modcls/special.cpython-38-x86_64-linux-gnu.so
|
|
58
|
+
src/PipeGraphPy/core/modcls/split.cpython-38-x86_64-linux-gnu.so
|
|
59
|
+
src/PipeGraphPy/core/modcls/splitscript.cpython-38-x86_64-linux-gnu.so
|
|
60
|
+
src/PipeGraphPy/core/modcls/startscript.cpython-38-x86_64-linux-gnu.so
|
|
61
|
+
src/PipeGraphPy/core/modcls/transformer.cpython-38-x86_64-linux-gnu.so
|
|
62
62
|
src/PipeGraphPy/core/modules/__init__.py
|
|
63
63
|
src/PipeGraphPy/core/modules/branchselect/__init__.py
|
|
64
64
|
src/PipeGraphPy/core/modules/branchselect/sqlbranchselect.py
|
|
@@ -119,7 +119,7 @@ src/PipeGraphPy/core/modules/transformer/MLP_test_Transformer.py
|
|
|
119
119
|
src/PipeGraphPy/core/modules/transformer/__init__.py
|
|
120
120
|
src/PipeGraphPy/core/modules/transformer/rnn_transformer.py
|
|
121
121
|
src/PipeGraphPy/db/__init__.py
|
|
122
|
-
src/PipeGraphPy/db/models.cpython-38-
|
|
122
|
+
src/PipeGraphPy/db/models.cpython-38-x86_64-linux-gnu.so
|
|
123
123
|
src/PipeGraphPy/db/utils.py
|
|
124
124
|
src/PipeGraphPy/plot/__init__.py
|
|
125
125
|
src/PipeGraphPy/plot/draw.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|