Registry / devops / ghtopdep

ghtopdep

JSON →
library0.4.3pypypi✓ verified 81d ago

A CLI tool to list and sort GitHub dependent repositories and packages by star count, helping to identify the most popular dependents of a given repository or package. Version 0.4.3, last release in 2023, stable with low maintenance.

pip install ghtopdep
INSTALL
IMPORT
SIG · GHTOPDEP
G
ghtopdep
devopspythonv0.4.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ghtopdep
import ghtopdep
from ghtopdep import ghtopdep

Get the top 5 most-starred dependents of tensorflow/tensorflow (as a Python function call).

from ghtopdep import ghtopdep ghtopdep.main(['--repo', 'tensorflow/tensorflow', '--limit', '5'])
ghtopdep --version
Debug
Known issues
gotchaThe output includes both repositories and packages (PyPI, npm) by default, which may mix GitHub repos with package registries. Use '--type repo' or '--type package' to filter.
fix
Add '--type repo' to limit to GitHub repositories.
affects: >=0.1.0
deprecatedThe library previously had a different CLI entry point (ghtopdep as a module) but now recommends using the 'ghtopdep' command directly in terminal. Calling as a Python function is not officially documented.
fix
Use the command-line tool: 'ghtopdep --repo tensorflow/tensorflow'
affects: >=0.4.0
gotchaGitHub API rate limits can cause failures for large queries. The tool does not have built-in authentication token support; you must set GH_TOKEN environment variable manually.
fix
Export GITHUB_TOKEN or GA_TOKEN environment variable with a GitHub personal access token before running.
affects: >=0.1.0
Upgrade
Version history
0.4.3latest on PyPI · released Aug 2, 2024
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
ghtopdep — pip install ghtopdep · libregistry