Circular Imports

I’ve been having trouble with circular imports lately. I’ve looked at a lot of sources and everything I’m seeing points to my code just being badly organized and that it would function in one file, but if I have 7000+ lines of code in a singular file it takes forever to load, so I was wondering if there’s an alternative method.

Repl link:

Just your standard
from a import c
from b import d

found a nice stack overflow answer about this:
Also, I think the reason its so slow is because of the amount of packages there are, so I personally would remove some dependencies to make the downloading go faster