The general.py module#

Summary#

PadGeometryTpe

Generic enumeration.

DielectricExtentType

Generic enumeration.

Primitives

Generic enumeration.

LayoutObjType

Generic enumeration.

convert_netdict_to_pydict

Convert a net dictionary to a Python dictionary.

convert_pytuple_to_nettuple

Convert a Python tuple into a .NET tuple.

convert_pydict_to_netdict

Convert a Python dictionary to a .NET dictionary.

convert_py_list_to_net_list

Convert a Python list to a Net list.

convert_net_list_to_py_list

Convert a Net list to a Python list.

pascal_to_snake

snake_to_pascal

Description#

This module contains EDB general methods and related methods.

Module detail#

general.convert_netdict_to_pydict(dict_in)#

Convert a net dictionary to a Python dictionary.

Parameters:
dict_indict

Net dictionary to convert.

Returns:
dict

Dictionary converted to Python.

general.convert_pytuple_to_nettuple(_tuple)#

Convert a Python tuple into a .NET tuple. Parameters ———- tuple : Python tuple

Returns:
NET tuple.
general.convert_pydict_to_netdict(input_dict)#

Convert a Python dictionary to a .NET dictionary.

Parameters:
input_dictdict

Python dictionary to convert.

Returns:
dict

Dictionary converted to .NET.

general.convert_py_list_to_net_list(pylist, list_type=None)#

Convert a Python list to a Net list.

Parameters:
pylistlist

Python list to convert.

Returns:
list

List converted to Net.

general.convert_net_list_to_py_list(netlist)#

Convert a Net list to a Python list.

Parameters:
netlistlist

Net list to convert.

Returns:
list

List converted to Python.

general.pascal_to_snake(s)#
general.snake_to_pascal(s)#
general.logger#