UsageΒΆ

To use import_class in a project:

from import_class import import_class

klass = import_class('path.to.Class')

To use import_instance in a project:

from import_class import import_instance

instance = import_class('path.to.Class')