All Projects β†’ lnishan β†’ SQLGitHub

lnishan / SQLGitHub

Licence: MIT license
πŸ’» SQLGitHub β€” Managing GitHub organization made easier

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to SQLGitHub

Falko Api
πŸ“ˆ Falko API: Plataform for agile projects management πŸ“Š
Stars: ✭ 13 (-61.76%)
Mutual labels:  github-api, management
Projeny
A project and package manager for Unity
Stars: ✭ 656 (+1829.41%)
Mutual labels:  organization, management
Orgmanager
Invite System for GitHub Organizations
Stars: ✭ 196 (+476.47%)
Mutual labels:  github-api, organization
Gitstalk
Discover who's upto what on Github
Stars: ✭ 538 (+1482.35%)
Mutual labels:  github-api, analytics
Github Traffic
Get the Github traffic for the specified repository
Stars: ✭ 77 (+126.47%)
Mutual labels:  github-api, analytics
Gitstats
An open source github contribution analyzer
Stars: ✭ 115 (+238.24%)
Mutual labels:  github-api, analytics
sensible-github-labels
Github labels for teams that like workflows and structure
Stars: ✭ 121 (+255.88%)
Mutual labels:  organization, management
search-github-starred
Full-Text Search the readme, description, homepage and URL of your GitHub starred repository. Use GitHub OAuth 2, React, Redux, Golang (server side), Elasticsearch, Redis.
Stars: ✭ 15 (-55.88%)
Mutual labels:  github-api
plausible on dokku
Dockerfile to run Plausible (analytics) on Dokku (mini-Heroku)
Stars: ✭ 17 (-50%)
Mutual labels:  analytics
GitHubReadmeWebTrends
An automated tool created using Azure Functions that double checks each Readme to ensure every repository is leveraging Web Trends
Stars: ✭ 13 (-61.76%)
Mutual labels:  github-api
dashflare
πŸ•΅πŸΌβ€β™€οΈ Open Source and privacy-focused analytics solution. πŸ“Š Advanced monitoring for your website behind Cloudflare
Stars: ✭ 78 (+129.41%)
Mutual labels:  analytics
github-classroom-utils
Python tools for instructors working with GitHub Classroom
Stars: ✭ 66 (+94.12%)
Mutual labels:  github-api
Swift-VIPER-iOS
SwiftVIPER is an sample iOS App written in Swift using the VIPER architecture. Also SwiftVIPER is not a strict VIPER architecture.
Stars: ✭ 25 (-26.47%)
Mutual labels:  github-api
barmate
Modern and intuitive POS web application written with the Laravel framework
Stars: ✭ 13 (-61.76%)
Mutual labels:  management
pyenvdiff-lib
Python environment comparison tool
Stars: ✭ 23 (-32.35%)
Mutual labels:  management
startuptoolbox
The startup founder toolbelt. A forever-updating crowdsourced collection.
Stars: ✭ 146 (+329.41%)
Mutual labels:  analytics
eAnalytics
Dynamic Web-based Analytics for the Energy Industry
Stars: ✭ 28 (-17.65%)
Mutual labels:  analytics
opensource-management-portal
Microsoft's monolithic GitHub Management Portal enabling enterprise scale self-service powered by the GitHub API πŸ”πŸ§‘β€πŸ’»πŸ§°
Stars: ✭ 369 (+985.29%)
Mutual labels:  management
github-resume
An instant resume generator using Github.
Stars: ✭ 56 (+64.71%)
Mutual labels:  github-api
github-api-plugin
This plugin packages stock github-api library
Stars: ✭ 20 (-41.18%)
Mutual labels:  github-api

SQLGitHub

SQLGitHub β€” Managing GitHub organization made easier

Introduction

SQLGitHub features a SQL-like syntax that allows you to:
Query information about an organization as a whole.

You may also think of it as a better, enhanced frontend layer built on top of GitHub's RESTful API.

ScreenshotIntro

Installation

  1. Install prerequisites
pip install requests prompt_toolkit pygments regex
  1. Install my patched PyGithub
git clone https://github.com/lnishan/PyGithub.git
cd PyGithub
./setup.py build
sudo ./setup.py install
  1. Configure SQLGitHub (optional)
    In root directory (same directory as SQLGitHub.py),
    Create and edit config.py:
token = "your token here"  # can be obtained from https://github.com/settings/tokens
output = "str"  # or "csv", "html"
  1. Start SQLGitHub
./SQLGitHub.py

Sample Usage

β†’ Get name and description from all the repos in abseil.

select name, description from abseil.repos

Screenshot1


β†’ Get last-updated time and title of the issues closed in the past 3 days in servo listed in descending order of last-updated time.

select updated_at, title from servo.issues.closed.3 order by updated_at desc

Screenshot2


β†’ Get top 10 most-starred repositories in servo.

select concat(concat("(", stargazers_count, ") ", name), ": ", description) from servo.repos order by stargazers_count desc, name limit 10

Screenshot3


β†’ Get top 10 contributors in servo for the past 7 days based on number of commits.

select login, count(login) from servo.commits.7 group by login order by count(login) desc, login limit 10

Screenshot4

SQL Language Support

Supported Schema

SELECT
    select_expr [, select_expr ...]
    FROM {org_name | org_name.{repos | issues | pulls | commits}}
    [WHERE where_condition]
    [GROUP BY {col_name | expr}
      [ASC | DESC], ...]
    [HAVING where_condition]
    [ORDER BY {col_name | expr}
      [ASC | DESC], ...]
    [LIMIT row_count]

Supported Fields

Most of the fields listed in GitHub API v3 are available for query.
For example, for org_name.repos queries, you can specify id, name, full_name, description ... etc. in expr's.
You may also use select * for the full list of fields.

Supported Functions

String Functions:
"concat", "concat_ws", "find_in_set", "insert", "instr", "length", "locate", "lcase", "lower", "left", "mid", "repeat", "right", "replace", "strcmp", "substr", "substring", "ucase", β€œupper"

Numeric Functions:
"avg", "count", "max", "min", β€œsum", "abs", "ceil", "ceiling", "exp", "floor", "greatest", "least", "ln", "log", "pow", "power", "sign", "sqrt"

Date & Advanced Functions:
"curdate", "current_date", "current_time", "current_timestamp", "curtime", "localtime", "localtimestamp", "now", β€œbin"

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].