friends, you got any favorite libraries to help introspect large import trees? (use cases: providing feedback during the early import-the-world phase of loading a monorepo; determining how to extract internal dependencies or resolve cycles; etc)

My fallback is to just whip something up with sys.meta_path finders, but smells like the kinda use case where there might be a nice handy lib already on PyPI.

EDIT: see social.coop/@bitprophet/115714 for a stdlib resolution. batteries included, baby!

0
0
0

If you have a fediverse account, you can quote this note from your own instance. Search https://social.coop/users/bitprophet/statuses/115713138030207362 on your instance and quote it. (Note that quoting is not supported in Mastodon.)