Yeah, that's the solution I asked about (last line of my question). I was just trying to make sure that this is ok and won't tangle up my code later on.
I'm not sure why you're using as to make the module name longer? Usually, if I use it at all, I use it make things shorter. Anyway, once you've imported dep2, you can call dep2.some_fn().
That was just for the example (clarifying order of import). The actual code has imports such as from src.formatter import Formatter as fmt; always making the name shorter.
Thanks for the suggestions