import parent module python code example
Example 1: python reference parent module
from .some_module import some_class
from ..some_package import some_function
from . import some_class
Example 2: run a python module with imports from parent
from setuptools import setup, find_packages
setup(name='myproject', version='1.0', packages=find_packages())