An open API service indexing awesome lists of open source software.

https://github.com/onlyartist9/reposize

A command line tool that returns the size of a specified public repo.
https://github.com/onlyartist9/reposize

argparse argparser cli cli-app command-line command-line-tool githubapi githubapiwrapper python python3 requests requests-library-python requests-python rest-api

Last synced: 6 months ago
JSON representation

A command line tool that returns the size of a specified public repo.

Awesome Lists containing this project

README

          

# RepoSize
A command line tool that returns the size of a specified public repo.

The main reason I am creating this tool is due to the fact that I realized it's fairly opaque finding out the size of a repo.

This can be important in data constrained environments (like a case in which a user has a data use limit) and needs to pull a repository. Finding out the size of repository can save costs before pulling a repo.

# Make sure you're using python version 3.6 or above.

## Installation

```console
# clone the repo
$ git clone https://github.com/Onlyartist9/RepoSize.git

# change the working directory to RepoSize
$ cd RepoSize

# install the requirements
$ python3 -m pip install -r requirements.txt
```

## Usage
```console
python reposize nameofuser/nameofrepository
```