/github-trending

Command line tool for fetching GitHub trending repositories

Primary LanguagePythonMIT LicenseMIT

Pytrend-CLI

A command line tool for fetching GitHub trending repositories.

Build Status PyPI version pyversion downloads license Codacy Badge

Description

Pytrend-CLI is a command line tool for getting the latest (actually, current, per call) information about trending repositories/developers on GitHub.
Pytrend can be filtered by programming language or trending period (daily/weekly/monthly).
Currently supports top 25 most popular programming languages on GitHub (and HTML).
langs
Data is taken from GitHut and is true to quarter 3 of 2017.

Update

Version 1.19 added support for Rust, CoffeeScript, Haskell, Groovy, Lua, Elixir, Perl, Kotlin and Clojure.

Installation

pip install pytrend-cli

Usage

Call pytrend from the command line followed by (optional) arguments.
Using the --dev flag will show information about trending developers instead of repositories. This flag can also be filtered with --weekly or --monthly flags, or a specified language.
An argument free call to pytrend will result in the top 25 repositories from all languages trending daily.

Options/Flags

Usage: pytrend [OPTIONS]

Options:
  -l, --language TEXT  Display repositories for this programming language
  -d, --dev            Get trending developers instead of repositories
  -w, --weekly         Display trending repositories from the past week
  -m, --monthly        Display trending repositories from the past month
  -j, --json           Save data to a JSON file
  -x, --xml            Save data to an XML file
  -s, --silent         Do not write to sdout
  --help               Show this message and exit.