News for hackers. Stuff that matters.
Re:The Python Package Cache by remram on Friday March 19, 2021 @10:57PM (#26520449)
I also wonder how they solved the stupid but annoying problem of mapping import names to package names, e.g. "import sklearn" -> scikit-learn, "import dateutil" -> python-dateutil, "import bs4" -> beautifulsoup4, ...
Re:The Python Package Cache by myroon5 on Saturday March 20, 2021 @01:00AM (#26520901)
pipreqs' mapping was my first guess:

https://github.com/bndr/pipreqs/blob/master/pipreqs/mapping

Although it looks like they may have expanded beyond pipreqs:

https://github.com/replit/upm/pull/4