Skip to main content

CLIME - GitHub Repository Searcher

Project description

CLIME GitHub Repository Searcher

Release Project DOI

A utility to perform advanced searching on GitHub using both the REST and GraphQL APIs

Table of Contents

About

The Software Systems Laboratory (SSL) GitHub Repository Searcher is an installable Python project that utilizes both the GitHub REST and GraphQL APIs to allow for the advanced searching of repositories hosted on GitHub.

Licensing

This project is licensed under the BSD-3-Clause. See the LICENSE for more information.

How To Use

Installation

You can install the tool from PyPi with one of the following one liners:

  • pip install clime-metrics
  • pip install clime-github-repository-searcher

Command Line Arguements

clime-github-repository-searcher -h

usage: CLIME GitHub Repository Searcher [-h] [-r REPOSITORY] [--topic TOPIC]
                                        -o OUTPUT -t TOKEN
                                        [--min-stars MIN_STARS]
                                        [--max-stars MAX_STARS]
                                        [--min-commits MIN_COMMITS]
                                        [--max-commits MAX_COMMITS]
                                        [--min-issues MIN_ISSUES]
                                        [--max-issues MAX_ISSUES]
                                        [--min-pull-requests MIN_PULL_REQUESTS]
                                        [--max-pull-requests MAX_PULL_REQUESTS]
                                        [--min-forks MIN_FORKS]
                                        [--max-forks MAX_FORKS]
                                        [--min-watchers MIN_WATCHERS]
                                        [--max-watchers MAX_WATCHERS]
                                        [--min-created-date MIN_CREATED_DATE]
                                        [--max-created-date MAX_CREATED_DATE]
                                        [--min-pushed-date MIN_PUSHED_DATE]
                                        [--max-pushed-date MAX_PUSHED_DATE]
                                        [-v]

A utility to perform advanced searching on GitHub using both the REST and
GraphQL APIs

options:
  -h, --help            show this help message and exit
  -r REPOSITORY, --repository REPOSITORY
                        A specific repository to be analyzed. Must be in
                        format OWNER/REPO
  --topic TOPIC         Topic to scrape (up to) the top 1000 repositories from
  -o OUTPUT, --output OUTPUT
                        JSON file to dump data to
  -t TOKEN, --token TOKEN
                        GitHub personal access token
  --min-stars MIN_STARS
                        Minimum number of stars a repository must have
  --max-stars MAX_STARS
                        Maximum number of stars a repository must have
  --min-commits MIN_COMMITS
                        Minimum number of commits a repository must have
  --max-commits MAX_COMMITS
                        Maximum number of commits a repository must have
  --min-issues MIN_ISSUES
                        Minimum number of issues a repository must have
  --max-issues MAX_ISSUES
                        Maximum number of issues a repository must have
  --min-pull-requests MIN_PULL_REQUESTS
                        Minimum number of pull requests a repository must have
  --max-pull-requests MAX_PULL_REQUESTS
                        Maximum number of pull requests a repository must have
  --min-forks MIN_FORKS
                        Minimum number of forks a repository must have
  --max-forks MAX_FORKS
                        Maximum number of forks a repository must have
  --min-watchers MIN_WATCHERS
                        Minimum number of watchers a repository must have
  --max-watchers MAX_WATCHERS
                        Maximum number of watchers a repository must have
  --min-created-date MIN_CREATED_DATE
                        Minimum date of creation a repository must have
  --max-created-date MAX_CREATED_DATE
                        Maximum date of creation a repository must have
  --min-pushed-date MIN_PUSHED_DATE
                        Minimum date of the latest push a repository must have
  --max-pushed-date MAX_PUSHED_DATE
                        Maximum date of the latest push a repository must have
  -v, --version         Display version of the tool

Author(s): Nicholas M. Synovic, Matthew Hyatt, George K. Thiruvathukal

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

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

Source Distribution

clime-github-repository-searcher-0.2.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file clime-github-repository-searcher-0.2.tar.gz.

File metadata

File hashes

Hashes for clime-github-repository-searcher-0.2.tar.gz
Algorithm Hash digest
SHA256 2c3b8dd421ebf77bf3dc4a36632c5f5da0c1dc5ed2d9aea6e6ce8cb439269c1a
MD5 abb2e0be7ab105d6020d1fea01d20364
BLAKE2b-256 dda9ba8078437d446593a5bb0871267c8e2358bd45e84e797691d013de1f1c23

See more details on using hashes here.

File details

Details for the file clime_github_repository_searcher-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for clime_github_repository_searcher-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9a03dccbaab2ea3dc8e2a2ba8b259c10d58dd6f9e0969694102c4145f5d0c9f7
MD5 cdf815a9eea23273ca57a58085ef4623
BLAKE2b-256 f7209f19e1a806a2210fbb4ab03d44d9a6639c64690957e1bdf3e7f74dcdaf96

See more details on using hashes here.

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