Skip to content

GitHub used by

question

how does used by work in GitHub for Python packages?
e.g. https://github.com/yjg30737/pyqt-frameless-window
I understand it reads from requirements.txt

pyqt-frameless-window==0.0.61

but how does it know where the repo lives?
anyone could make a repo with the same name after all.

answer

the GitHub docs explain how:

  • The dependency graph is enabled for the repository
  • Your repository contains a package that is published on a supported package ecosystem.
  • Within the ecosystem, your package has a link to a public repository where the source is stored.