Source Finder
Locates source code repositories for Python packages with confidence scoring.
Usage
To find a source repository for a given package:
- Run the finder script, for example:
# Find repository
$ ./scripts/finder.py requests
# Output structure:
{
"url": "https://github.com/psf/requests",
"confidence": "high",
"method": "pypi_metadata_project_urls.Source",
"package_name": "requests"
}
- Parse the JSON output:
url: Repository URL (ornullif not found)confidence:high,medium, orlowmethod: How the URL was foundpackage_name: the package that was searched
-
If confidence is
loworurlisnull, use WebSearch:<package_name> python github repository -
Present results with confidence level clearly indicated
Output Format
As a result, provide structured output including:
- Repository URL
- Confidence level (high/medium/low)
- Method used to find the repository
- Additional context or warnings