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:
code
# 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, orlow - •
method: How the URL was found - •
package_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