I've been searching for a library or tool to test my Django project architecture, check the dependencies, layers, etc. like Arch Unit for Java. But until now, I didn't find anything. I don't even know if it's viable doing these kinds of tests in Python/Django projects. I know that Django itself already checks for cyclic dependencies.
Check out what you can find under Python complexity metrics.
A tool called Wily may be of use. However, what counts as good practices will be very different for Java and Python.