textcortex / icortex

A no-code development framework—Let AI do the coding for you 🦾

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Construct module <> package map for auto-installing packages

osolmaz opened this issue · comments

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:

  1. Download the list of most popular Python packages, e.g. https://hugovk.github.io/top-pypi-packages/
  2. 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.