Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Searches for a file in a VCS

Project Description

# Repo-Scout Searches for a file in a VCS


Within a script

>>> from service.repo_scout import RepoScout
>>> scout = RepoScout('GitHub')
>>> scout.find('Parcks','plugins','Laravel.ppl')

From the CLI


-h, --help           show this help message and exit
-p, --provider PROV  The name of the VCS provider (Default: GitHub)
-o, --owner OWNER    The name of the owner of the repository
-n, --name NAME      The name of the repository to search in
-m, --method METHOD  Indicates if the file should be searched in a directory
                     or just retrieve the first occurrence (Default: First)
-f, --file FILE      The name of the file to find
-d, --directory DIR  The path in the repository where the file should be


Find first occurrence
jvalck@Setarit-DTP:~/repo_scout$ python -o Parcks -n plugins -f Laravel.ppl
Find in directory
  • Example 1: One level deep

    jvalck@Setarit-DTP:~/repo_scout$ rscout -o Parcks -n plugins -f Laravel.ppl -m InDirectory -d debian
  • Example 2: two levels deep

    jvalck@Setarit-DTP:~/repo_scout$ rscout -o Parcks -n core -f -m InDirectory -d src/cli

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(39.5 kB) Copy SHA256 Hash SHA256
2.7 Egg Nov 12, 2017
(40.5 kB) Copy SHA256 Hash SHA256
3.6 Egg Nov 12, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting