Skip to main content

CLI tool for sorting dependents repositories and packages by stars

Project description

GHTOPDEP

image image image

CLI tool for sorting dependents repo by stars

Requirements

  • Python 3.5 and up

Installation

from PyPI

$ pip install ghtopdep

from git repository

$ pip install git+https://github.com/github-tooling/ghtopdep

from source

$ git clone https://github.com/github-tooling/ghtopdep
$ cd ghtopdep
$ python setup.py install

Usage

➜ ghtopdep --help                                              
Usage: ghtopdep [OPTIONS] URL

Options:
  --repositories / --packages  Sort repositories or packages (default
                               repositories)
  --show INTEGER               Number of showing repositories (default=10)
  --more-than INTEGER          Minimum number of stars (default=5)
  --help                       Show this message and exit.

➜ ghtopdep https://github.com/dropbox/dropbox-sdk-js
+-------------------------------------------+---------+
| URL                                       |   Stars |
+===========================================+=========+
| https://github.com/LN-Zap/zap-desktop     |     979 |
+-------------------------------------------+---------+
| https://github.com/Cleod9/syncmarx-webext |      35 |
+-------------------------------------------+---------+
| https://github.com/Playork/StickyNotes    |      32 |
+-------------------------------------------+---------+
| https://github.com/WebAssemblyOS/wasmos   |      23 |
+-------------------------------------------+---------+
| https://github.com/Cleod9/syncmarx-api    |      19 |
+-------------------------------------------+---------+
| https://github.com/Bearer/templates       |      11 |
+-------------------------------------------+---------+
| https://github.com/nathsimpson/isobel     |       9 |
+-------------------------------------------+---------+
| https://github.com/sorentycho/blackmirror |       8 |
+-------------------------------------------+---------+
| https://github.com/easylogic/edy          |       6 |
+-------------------------------------------+---------+
| https://github.com/Kikugumo/imas765probot |       5 |
+-------------------------------------------+---------+
found 1173 repos others repos is private
found 281 repos with more than zero star
~ via ⬢ v12.5.0 via 🐘 v7.2.19 via 🐍 3.5.7 took 36s 

also you can sort packages

➜ ghtopdep https://github.com/dropbox/dropbox-sdk-js --packages
+--------------------------------------------------------+---------+
| URL                                                    |   Stars |
+========================================================+=========+
| https://github.com/jsbin/jsbin                         |    3917 |
+--------------------------------------------------------+---------+
| https://github.com/jvilk/BrowserFS                     |    1489 |
+--------------------------------------------------------+---------+
| https://github.com/coderaiser/cloudcmd                 |    1033 |
+--------------------------------------------------------+---------+
| https://github.com/robertknight/passcards              |     130 |
+--------------------------------------------------------+---------+
| https://github.com/transloadit/uppy-server             |     115 |
+--------------------------------------------------------+---------+
| https://github.com/bioimagesuiteweb/bisweb             |      31 |
+--------------------------------------------------------+---------+
| https://github.com/sallar/dropbox-fs                   |      29 |
+--------------------------------------------------------+---------+
| https://github.com/NickTikhonov/up                     |      13 |
+--------------------------------------------------------+---------+
| https://github.com/soixantecircuits/altruist           |       8 |
+--------------------------------------------------------+---------+
| https://github.com/OpenMarshal/npm-WebDAV-Server-Types |       5 |
+--------------------------------------------------------+---------+
found 129 packages others packages is private
found 57 packages with more than zero star

Development setup

Using Poetry

$ poetry install

or Pipenv

$ pipenv install --dev -e .

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ghtopdep-0.1.4.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

ghtopdep-0.1.4-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page