Thanks for your work - pycgmes is very helpful in a project that I'm working on right now. I think one small change in the codebase might help to simplify the import of classes:
Current state
from pycgmes.resources.BaseVoltage import BaseVoltage
from pycgmes.resources.ConnectivityNode import ConnectivityNode
from pycgmes.resources.EquipmentContainer import EquipmentContainer
from pycgmes.resources.TopologicalNode import TopologicalNode
-> One new import line for every class
Improvement
from pycgmes.resources import BaseVoltage, ConnectivityNode, EquipmentContainer, TopologicalNode
This could be achieved by importing all classes in the __init__.py file in the resources folder. If this is of interest, I can create the corresponding Pull Request.
Thanks for your work - pycgmes is very helpful in a project that I'm working on right now. I think one small change in the codebase might help to simplify the import of classes:
Current state
-> One new import line for every class
Improvement
This could be achieved by importing all classes in the
__init__.pyfile in theresourcesfolder. If this is of interest, I can create the corresponding Pull Request.