Skip to content

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

License

Notifications You must be signed in to change notification settings

Onlyartist9/RepoSize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

# 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

python reposize nameofuser/nameofrepository