CustomFunctions#

class src.pyconverter.xml2py.custom_functions.CustomFunctions#

Provides for creating customized functions.

Overview#

path

Path object where the customized function files are located.

py_names

List with all customized functions located in the folder.

py_returns

Dictionary containing the Returns section if any.

py_examples

Dictionary containing the Examples section if any.

py_code

Dictionary containing the customized source code.

lib_import

Dictionary containing the needed libraries if any.

Import detail#

from src.pyconverter.xml2py.custom_functions import CustomFunctions

Property detail#

property CustomFunctions.path: pathlib.Path#

Path object where the customized function files are located.

property CustomFunctions.py_names: list#

List with all customized functions located in the folder.

property CustomFunctions.py_returns: dict#

Dictionary containing the Returns section if any.

property CustomFunctions.py_examples: dict#

Dictionary containing the Examples section if any.

property CustomFunctions.py_code: dict#

Dictionary containing the customized source code.

property CustomFunctions.lib_import: dict#

Dictionary containing the needed libraries if any.