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.
- Host: GitHub
- URL: https://github.com/onlyartist9/reposize
- Owner: Onlyartist9
- License: mit
- Created: 2023-02-15T15:22:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-14T19:08:11.000Z (over 2 years ago)
- Last Synced: 2025-02-15T04:25:25.481Z (8 months ago)
- Topics: argparse, argparser, cli, cli-app, command-line, command-line-tool, githubapi, githubapiwrapper, python, python3, requests, requests-library-python, requests-python, rest-api
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```