deepKernel 0.0.7__tar.gz → 0.0.8__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.
- {deepkernel-0.0.7 → deepkernel-0.0.8}/PKG-INFO +4 -2
- deepkernel-0.0.8/README.md +5 -0
- {deepkernel-0.0.7 → deepkernel-0.0.8}/deepKernel/base.py +11 -0
- {deepkernel-0.0.7 → deepkernel-0.0.8}/deepKernel/information.py +20 -0
- {deepkernel-0.0.7 → deepkernel-0.0.8}/deepKernel.egg-info/PKG-INFO +4 -2
- {deepkernel-0.0.7 → deepkernel-0.0.8}/setup.py +1 -1
- deepkernel-0.0.7/README.md +0 -3
- {deepkernel-0.0.7 → deepkernel-0.0.8}/LICENSE +0 -0
- {deepkernel-0.0.7 → deepkernel-0.0.8}/deepKernel/__init__.py +0 -0
- {deepkernel-0.0.7 → deepkernel-0.0.8}/deepKernel/configuration.py +0 -0
- {deepkernel-0.0.7 → deepkernel-0.0.8}/deepKernel/deepline.py +0 -0
- {deepkernel-0.0.7 → deepkernel-0.0.8}/deepKernel/input.py +0 -0
- {deepkernel-0.0.7 → deepkernel-0.0.8}/deepKernel/output.py +0 -0
- {deepkernel-0.0.7 → deepkernel-0.0.8}/deepKernel.egg-info/SOURCES.txt +0 -0
- {deepkernel-0.0.7 → deepkernel-0.0.8}/deepKernel.egg-info/dependency_links.txt +0 -0
- {deepkernel-0.0.7 → deepkernel-0.0.8}/deepKernel.egg-info/top_level.txt +0 -0
- {deepkernel-0.0.7 → deepkernel-0.0.8}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deepKernel
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: A simple example package
|
|
5
5
|
Home-page: https://www.pzeda.com/CN
|
|
6
6
|
Author: pz
|
|
@@ -23,4 +23,6 @@ Dynamic: summary
|
|
|
23
23
|
|
|
24
24
|
20250926 0.0.5 正式第一版,主要使用configuration.init、input.open_job、information.get_profile_box以测试SDK包是否可用
|
|
25
25
|
|
|
26
|
-
20250928 0.0.7 正式第二版,主要加入output模块用以测试导出Gerber/ODBPP
|
|
26
|
+
20250928 0.0.7 正式第二版,主要加入output模块用以测试导出Gerber/ODBPP接口是否可用,验证导出目前不可使用
|
|
27
|
+
|
|
28
|
+
20250929 0.0.8 正式第三版,加入information模块中加入get_layer_feature_count与get_all_features_info为在无法导出时测试验证导入的正确性、在导入后获取信息
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
20250926 0.0.5 正式第一版,主要使用configuration.init、input.open_job、information.get_profile_box以测试SDK包是否可用
|
|
2
|
+
|
|
3
|
+
20250928 0.0.7 正式第二版,主要加入output模块用以测试导出Gerber/ODBPP接口是否可用,验证导出目前不可使用
|
|
4
|
+
|
|
5
|
+
20250929 0.0.8 正式第三版,加入information模块中加入get_layer_feature_count与get_all_features_info为在无法导出时测试验证导入的正确性、在导入后获取信息
|
|
@@ -158,4 +158,15 @@ def save_png(job,step,layers,xmin,ymin,xmax,ymax,picpath,picname,backcolor,layer
|
|
|
158
158
|
"layercolors":layercolors
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
+
return deepline.process(json.dumps(data))
|
|
162
|
+
|
|
163
|
+
def get_all_feature_info(job, step, layer,featuretype=127):
|
|
164
|
+
data = {
|
|
165
|
+
'func': 'GET_ALL_FEATURE_INFO',
|
|
166
|
+
'paras': {'job': job,
|
|
167
|
+
'step': step,
|
|
168
|
+
'layer': layer,
|
|
169
|
+
'featureType':featuretype
|
|
170
|
+
}
|
|
171
|
+
}
|
|
161
172
|
return deepline.process(json.dumps(data))
|
|
@@ -101,4 +101,24 @@ def get_layers(job:str)->list:
|
|
|
101
101
|
return layer_list
|
|
102
102
|
except Exception as e:
|
|
103
103
|
print(e)
|
|
104
|
+
return []
|
|
105
|
+
|
|
106
|
+
def get_layer_feature_count(job:str, step:str, layer:str)->int:
|
|
107
|
+
try:
|
|
108
|
+
ret = base.get_layer_feature_count(job, step, layer)
|
|
109
|
+
ret = json.loads(ret)
|
|
110
|
+
if 'featureNum' in ret:
|
|
111
|
+
return int(ret['featureNum'])
|
|
112
|
+
return -1
|
|
113
|
+
except Exception as e:
|
|
114
|
+
print(e)
|
|
115
|
+
return -1
|
|
116
|
+
|
|
117
|
+
def get_all_features_info(job:str ,step:str, layer:str)->list:
|
|
118
|
+
try:
|
|
119
|
+
ret = base.get_all_feature_info(job,step,layer,127)
|
|
120
|
+
ret = json.loads(ret)['paras']
|
|
121
|
+
return ret
|
|
122
|
+
except Exception as e:
|
|
123
|
+
print(e)
|
|
104
124
|
return []
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deepKernel
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: A simple example package
|
|
5
5
|
Home-page: https://www.pzeda.com/CN
|
|
6
6
|
Author: pz
|
|
@@ -23,4 +23,6 @@ Dynamic: summary
|
|
|
23
23
|
|
|
24
24
|
20250926 0.0.5 正式第一版,主要使用configuration.init、input.open_job、information.get_profile_box以测试SDK包是否可用
|
|
25
25
|
|
|
26
|
-
20250928 0.0.7 正式第二版,主要加入output模块用以测试导出Gerber/ODBPP
|
|
26
|
+
20250928 0.0.7 正式第二版,主要加入output模块用以测试导出Gerber/ODBPP接口是否可用,验证导出目前不可使用
|
|
27
|
+
|
|
28
|
+
20250929 0.0.8 正式第三版,加入information模块中加入get_layer_feature_count与get_all_features_info为在无法导出时测试验证导入的正确性、在导入后获取信息
|
|
@@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
6
6
|
|
|
7
7
|
setuptools.setup(
|
|
8
8
|
name="deepKernel", # Replace with your desired PyPI package name (must be unique)
|
|
9
|
-
version="0.0.
|
|
9
|
+
version="0.0.8", # Initial version number
|
|
10
10
|
author="pz", # Replace with your name
|
|
11
11
|
author_email="meichiyuan@pzeda.com", # Replace with your email
|
|
12
12
|
description="A simple example package", # Short description
|
deepkernel-0.0.7/README.md
DELETED
|
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
|