News for hackers. Stuff that matters.
Re:An analysis of module names inside top PyPI packages by woodruffw on Wednesday July 10, 2024 @09:19PM (#40932988)
I don't necessarily disagree, although note that this is true for just about every packaging ecosystem: Rust, Ruby, etc. are similar in making no guarantee that the index name is even remotely related to the importable/module name.

Python gets the "worst" of it in the sense that it's big and has a large diversity of packages, but it's a general consequence of having a packaging ecosystem that's distinct from a given language's import machinery.

Re:An analysis of module names inside top PyPI packages by Timon3 on Thursday July 11, 2024 @06:58AM (#40935350)
This is one thing I really, really like about JavaScript - you explicitly import everything from packages using the same name you install them with.

When viewing source code without a code editor, many modern languages have no way to know what comes from where. I don't understand why this seems to be the standard for new languages like Rust.