I already have a project have a module name abc.py

I want to change and add some method in module abc.py but I do not want to modify abc.py because I want to keep entireness of that project.

So I create other module name abc.py in other package name myPackage

How when I install project and myPackage, my module abc.py can overwrite original module abc.py in that project

Thank