As a Python programmer, you may already be familiar with GitHub (http://www.github.com), a source code-sharing website, as shown in the following screenshot. You can share your source code privately to a team or publicly to the world using GitHub. It has a nice API interface to query about any source code repository. This recipe may give you a starting point to create your own source code search engine.
To run this recipe, you need to install the third-party Python library
requests by entering
$ pip install requests or
$ easy_install requests.
We would like to define a