icortex
icortex copied to clipboard
Construct module <> package map for auto-installing packages
Module names do not map directly to PyPI package names, so there needs to be a way to bridge that gap to auto-install missing modules.
To construct the mapping we could:
- Download the list of most popular Python packages, e.g. https://hugovk.github.io/top-pypi-packages/
- Scrape each package and find out which modules they install
The mapping should not be owned/provided by a third-party to prevent arbitrary code execution vulnerabilities.
The current stance is for the mapping to be hosted in TextCortex backend and to return relevant entries with each request.