pyedb 0.45.0__py3-none-any.whl → 0.46.0__py3-none-any.whl

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.

Potentially problematic release.


This version of pyedb might be problematic. Click here for more details.

pyedb/__init__.py CHANGED
@@ -44,7 +44,7 @@ deprecation_warning()
44
44
  #
45
45
 
46
46
  pyedb_path = os.path.dirname(__file__)
47
- __version__ = "0.45.0"
47
+ __version__ = "0.46.0"
48
48
  version = __version__
49
49
 
50
50
  #
@@ -73,7 +73,7 @@ class CfgData(object):
73
73
  ]
74
74
 
75
75
  self.package_definitions = CfgPackageDefinitions(self._pedb, data=kwargs.get("package_definitions", []))
76
- self.operations = CfgOperations(self._pedb, data=kwargs.get("operations", []))
76
+ self.operations = CfgOperations(self._pedb, data=kwargs.get("operations", {}))
77
77
 
78
78
  self.modeler = CfgModeler(self._pedb, data=kwargs.get("modeler", {}))
79
79
 
@@ -56,9 +56,7 @@ class CfgCutout(CfgBase):
56
56
  self.api = self.Grpc(self)
57
57
  else:
58
58
  self.api = self.DotNet(self)
59
- self.auto_identify_nets = kwargs.get(
60
- "auto_identify_nets", {"enabled": False, "resistor_below": 100, "inductor_below": 1, "capacitor_above": 1}
61
- )
59
+ self.auto_identify_nets = kwargs.get("auto_identify_nets")
62
60
  self.signal_list = kwargs.get("signal_list")
63
61
  self.reference_list = kwargs.get("reference_list")
64
62
  self.extent_type = kwargs.get("extent_type")
@@ -163,7 +161,16 @@ class CfgOperations(CfgBase):
163
161
  self.api = self.Grpc(self)
164
162
  else:
165
163
  self.api = self.DotNet(self)
166
- self.op_cutout = CfgCutout(pedb, **data["cutout"]) if "cutout" in data else None
164
+ cutout = data.get("cutout", None)
165
+ if cutout:
166
+ auto_identify_nets = (
167
+ cutout.pop("auto_identify_nets")
168
+ if cutout.get("auto_identify_nets")
169
+ else {"enabled": False, "resistor_below": 100, "inductor_below": 1, "capacitor_above": 1}
170
+ )
171
+ self.op_cutout = CfgCutout(pedb, auto_identify_nets=auto_identify_nets, **cutout)
172
+ else:
173
+ self.op_cutout = None
167
174
 
168
175
  def apply(self):
169
176
  """Imports operation information from JSON."""
@@ -33,6 +33,7 @@ def Edb(
33
33
  use_ppe=False,
34
34
  technology_file=None,
35
35
  grpc=False,
36
+ control_file=None,
36
37
  ):
37
38
  """Provides the EDB application interface.
38
39
 
@@ -127,6 +128,7 @@ def Edb(
127
128
  student_version=student_version,
128
129
  use_ppe=use_ppe,
129
130
  technology_file=technology_file,
131
+ control_file=control_file,
130
132
  )
131
133
 
132
134
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyedb
3
- Version: 0.45.0
3
+ Version: 0.46.0
4
4
  Summary: Higher-Level Pythonic Ansys Electronics Data Base
5
5
  Author-email: "ANSYS, Inc." <pyansys.core@ansys.com>
6
6
  Maintainer-email: PyEDB developers <simon.vandenbrouck@ansys.com>
@@ -1,4 +1,4 @@
1
- pyedb/__init__.py,sha256=jPfquPDdV0IJjTtldZ3mliXjMnIiYmW12PqLoINlJP8,1525
1
+ pyedb/__init__.py,sha256=taKaF35c6sH2jB7v7-DM7fPhP5zpaRBQbmI0r2zqtPg,1525
2
2
  pyedb/edb_logger.py,sha256=7KXPvAMCKzlzJ5zioiNO5A3zkqbpCHhWHB4aXKfgu5Y,14959
3
3
  pyedb/exceptions.py,sha256=n94xluzUks6BA24vd_L6HkrvoP_H_l6__hQmqzdCyPo,111
4
4
  pyedb/siwave.py,sha256=Mgg5ZGzOUOtNdlePHcnrgN3rletQ7jrqRi3WfxF58uU,17727
@@ -10,11 +10,11 @@ pyedb/configuration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
10
10
  pyedb/configuration/cfg_boundaries.py,sha256=-CEUVF3_mnRJv9otavjMKX6iOsLSo1X03nfxnrrApmo,11216
11
11
  pyedb/configuration/cfg_common.py,sha256=U45p2qksEwMY_woVFaSwn5qjib9QQJDShajZZ-IZV0Y,2575
12
12
  pyedb/configuration/cfg_components.py,sha256=LFciizI0GIkny-A3PE2_KPnhf1VDjkQph7QNa35fN24,26082
13
- pyedb/configuration/cfg_data.py,sha256=sy1xUrfhRA3jorbR60qGExaMxQ1nQGGAbZYJ0xXYktE,3860
13
+ pyedb/configuration/cfg_data.py,sha256=bZOZDuzgw33Vff0cGXEmh5issNHg_Gcvr-yXCYNiQG4,3860
14
14
  pyedb/configuration/cfg_general.py,sha256=RvBG9DnGB7700fDTa8eEZpOUgI2wwS3GoPXOUzmaDNQ,3200
15
15
  pyedb/configuration/cfg_modeler.py,sha256=ytuGzb3Do4ZO793TkIk0nRfc27SkYcv9CnCJsPncJAU,10567
16
16
  pyedb/configuration/cfg_nets.py,sha256=vAtp3tTTuTDSDZw6uay4qXjbThqcCoyEXf7fNKW64DY,2900
17
- pyedb/configuration/cfg_operations.py,sha256=20CUt8-HYhMusaIH_iLOkrfcHF7eflFAXpxzrHBbWiA,8078
17
+ pyedb/configuration/cfg_operations.py,sha256=YikpnTqaW_5D3-jtg8zAzDrsC6JXbsUOHPYDDtjKdnY,8340
18
18
  pyedb/configuration/cfg_package_definition.py,sha256=aNA3ympBjvxtw9hVehF9PQWaEvNLVB8cwb-r7MtZtzY,7844
19
19
  pyedb/configuration/cfg_padstacks.py,sha256=RxCmRe4qbIefuKYaPCPhZ6fJ3-Tz9sektvXnswljQwU,39801
20
20
  pyedb/configuration/cfg_pin_groups.py,sha256=UkDgJNAa6E9bv2Jo0K4vY2eTuqC61qcgqszrZ_bUcEg,5595
@@ -113,7 +113,7 @@ pyedb/extensions/pre_layout_design_toolkit/via_design.py,sha256=b9pTM5Gi3S3O2epa
113
113
  pyedb/generic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
114
114
  pyedb/generic/constants.py,sha256=prWLZH0-SeBIVK6LHZ4SGZFQCofuym2TuQYfdqwhuSQ,28956
115
115
  pyedb/generic/data_handlers.py,sha256=rfqNe2tPCJRqhXZBCyWxRFu5SjQ92Cdzq4l0TDC4Pvw,6905
116
- pyedb/generic/design_types.py,sha256=nQbAXGGdc_HX3xcSF2JDijl8YxhRq__FpmRfQcC3Usk,4899
116
+ pyedb/generic/design_types.py,sha256=UnH4GZmAbTu89ixSWcKFWYW7asHTaePQfFwQiYDCGTA,4957
117
117
  pyedb/generic/filesystem.py,sha256=EqsLGwdhCgY3asomjoWZBBYWQiGhVOBlSzQlM6FCZhw,3674
118
118
  pyedb/generic/general_methods.py,sha256=Lg4k53Ny9LraiU6AQX5WwBiPFqtvGaZ3Ik7LcWil6Rg,42798
119
119
  pyedb/generic/plot.py,sha256=4zCA5lpk-FhPmWR7xi6yecc5lZtRpxJdd3B8FLGXmxE,4705
@@ -282,7 +282,7 @@ pyedb/misc/siw_feature_config/xtalk_scan/scan_config.py,sha256=YmYI6WTQulL5Uf8Wx
282
282
  pyedb/misc/siw_feature_config/xtalk_scan/td_xtalk_config.py,sha256=KHa-UqcXuabiVfT2CV-UvWl5Q2qGYHF2Ye9azcAlnXc,3966
283
283
  pyedb/modeler/geometry_operators.py,sha256=YhR-QE0dvIkbp4SsjWp309KDE1OZa6wUzr8a634MuJ4,74195
284
284
  pyedb/siwave_core/icepak.py,sha256=WnZ-t8mik7LDY06V8hZFV-TxRZJQWK7bu_8Ichx-oBs,5206
285
- pyedb-0.45.0.dist-info/LICENSE,sha256=qQWivZ12ETN5l3QxvTARY-QI5eoRRlyHdwLlAj0Bg5I,1089
286
- pyedb-0.45.0.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
287
- pyedb-0.45.0.dist-info/METADATA,sha256=YKDuYdhY4PMac09SQ9J7d3coe57XivALh3vmIh6xkgg,8619
288
- pyedb-0.45.0.dist-info/RECORD,,
285
+ pyedb-0.46.0.dist-info/LICENSE,sha256=qQWivZ12ETN5l3QxvTARY-QI5eoRRlyHdwLlAj0Bg5I,1089
286
+ pyedb-0.46.0.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
287
+ pyedb-0.46.0.dist-info/METADATA,sha256=BJxIHUuwZF4VDNtGcb6ZYD4XCT2d63OW5hAjSiavtrM,8619
288
+ pyedb-0.46.0.dist-info/RECORD,,
File without changes