https://github.com/sanketdg/gitdl
Download GitHub repositories with a single command.
https://github.com/sanketdg/gitdl
git github
Last synced: 6 months ago
JSON representation
Download GitHub repositories with a single command.
- Host: GitHub
- URL: https://github.com/sanketdg/gitdl
- Owner: SanketDG
- License: mit
- Created: 2015-08-08T17:27:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-16T18:44:03.000Z (over 8 years ago)
- Last Synced: 2025-05-04T21:13:11.007Z (6 months ago)
- Topics: git, github
- Language: Python
- Size: 204 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gitdl
Download zips of github repositories easily.
[](https://travis-ci.org/SanketDG/gitdl) [](https://coveralls.io/github/SanketDG/gitdl?branch=master)
## Installation
Clone the repository and cd to it. Then do:
```
$ python setup.py install
```
## Usage
The point of `gitdl` is to quickly get something from GitHub.
### Download a repo with the best match
```
$ gitdl bootstrap
```
This will search for bootstrap, and find the best match and download the
zip for it.
### Download an exact repo
```
$ gitdl -e nvbn/thefuck
```
When `gitdl` is passed with `-e` it expects a {author}/{repo} format to
download the exact repo from GitHub.
### Search for a repo
```
$ gitdl search "intermediate python"
```
This will search GitHub and present the results in a tabular format.
## Development
### Testing
To run the tests:
```
$ py.test
```
To run the tests with coverage:
```
$ py.test --cov
```