Skip to main content

A CLI tool for retrieving trending GitHub repositories.

Project description

GitHub Trending Repositories CLI

LiCENSE Python

A command-line tool for retrieving trending GitHub repositories based on different time periods.

Table of Contents

Features

  • Fetch trending repositories from GitHub.
  • Filter repositories by programming language.
  • Display repository information including name, author, link, description, language, stars, and forks.

Installation

pip install github-trending-repos

Usage

github-trending-repos daily --language python --page 1
  • daily, weekly, or monthly are the available time periods.
  • --language allows you to filter repositories by programming language.
  • --page lets you navigate through different pages of results (0 to 4).

Options

  • period: Trending period (daily, weekly, or monthly).
  • language: Filter repositories by programming language.
  • save: Save data as JSON (optional).
  • page: Page index (default: 0).

Examples

  • Retrieve daily trending Python repositories:

    github-trending-repos daily --language python
    
  • Save weekly trending repositories with JavaScript language to a JSON file:

    github-trending-repos weekly --language javascript --save
    
  • View the second page of monthly trending repositories:

    github-trending-repos monthly --page 1
    

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

github-trending-repos-1.1.4.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

github_trending_repos-1.1.4-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

Supported by

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