Skip to main content

girepo

pypi version CircleCI Status

This makes it easy to investigate repositories at Github and to describe the results as a markdown table format.

Installation

pip install girepo

Usage

usage: girepo [-h] {rough,ro,strict,st} ...

Print Git Repositories information with the markdown format for your
documents. This uses github api without authentication. So you could reach the
rate-limitation if you use this 60 requests per hour.
https://developer.github.com/v3/#rate-limiting Could you take a cup of coffee
☕ until recovering if you exceed.

optional arguments:
  -h, --help            show this help message and exit

subcommands:
  you can choose a search way from sub commands. rough sub command does not
  require owner info but it might return wrong info.

  {rough,ro,strict,st}
    rough (ro)          heuristic search. see `girepo ro --help`
    strict (st)         strict search. see `girepo st --help`

God bless you.

Example

Simple (ver. rough)

If you want to investigate repositories of frontend framework, you can run this script like below.

girepo rough angular react vue

Output:

| fullname | star | star/day | created_at | updated_at | license | language | description | url |
| :----: | :----: | :----: | :----: | :----: | :----: | :----: | :----: | :----: |
| angular/angular | 51,080 | 28.17 | 2014-09-18 | 2019-09-05 | MIT License | TypeScript | One framework. Mobile & desktop. | [link](https://github.com/angular/angular) |
| facebook/react | 135,563 | 59.07 | 2013-05-24 | 2019-09-05 | MIT License | JavaScript | A declarative, efficient, and flexible JavaScript library for building user interfaces. | [link](https://github.com/facebook/react) |
| vuejs/vue | 147,494 | 66.14 | 2013-07-29 | 2019-09-05 | MIT License | JavaScript | 🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web. | [link](https://github.com/vuejs/vue) |

Then you can get the table format of markdown.

fullname star star/day created_at updated_at license language description url
angular/angular 51,080 28.17 2014-09-18 2019-09-05 MIT License TypeScript One framework. Mobile & desktop. link
facebook/react 135,563 59.07 2013-05-24 2019-09-05 MIT License JavaScript A declarative, efficient, and flexible JavaScript library for building user interfaces. link
vuejs/vue 147,494 66.14 2013-07-29 2019-09-05 MIT License JavaScript 🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web. link

This results are heuristic so if you find wrong rows, I recommend to use strict sub-command with the fullname and the headless option.

Simple (ver. strict)

If you want to investigate repositories of frontend framework, you can run this script like below.

girepo strict angular/angular facebook/react vuejs/vue 

Output:

| fullname | star | star/day | created_at | updated_at | license | language | description | url |
| :----: | :----: | :----: | :----: | :----: | :----: | :----: | :----: | :----: |
| angular/angular | 51,080 | 28.17 | 2014-09-18 | 2019-09-05 | MIT License | TypeScript | One framework. Mobile & desktop. | [link](https://github.com/angular/angular) |
| facebook/react | 135,563 | 59.07 | 2013-05-24 | 2019-09-05 | MIT License | JavaScript | A declarative, efficient, and flexible JavaScript library for building user interfaces. | [link](https://github.com/facebook/react) |
| vuejs/vue | 147,494 | 66.14 | 2013-07-29 | 2019-09-05 | MIT License | JavaScript | 🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web. | [link](https://github.com/vuejs/vue) |

Then you can get the table format of markdown.

fullname star star/day created_at updated_at license language description url
angular/angular 51,080 28.17 2014-09-18 2019-09-05 MIT License TypeScript One framework. Mobile & desktop. link
facebook/react 135,563 59.07 2013-05-24 2019-09-05 MIT License JavaScript A declarative, efficient, and flexible JavaScript library for building user interfaces. link
vuejs/vue 147,494 66.14 2013-07-29 2019-09-05 MIT License JavaScript 🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web. link

Input From File

If you want to use a bulk input, please prepare a file whose content is like below. Do not contain a blank line.

angular/angular
facebook/react
vuetifyjs / vuetify
vuejs/vue

For example, if the file name is ./misc/input.txt, then

girepo strict @misc/input.txt

Output:

| fullname | star | star/day | created_at | updated_at | license | language | description | url |
| :----: | :----: | :----: | :----: | :----: | :----: | :----: | :----: | :----: |
| angular/angular | 51,080 | 28.17 | 2014-09-18 | 2019-09-05 | MIT License | TypeScript | One framework. Mobile & desktop. | [link](https://github.com/angular/angular) |
| facebook/react | 135,563 | 59.07 | 2013-05-24 | 2019-09-05 | MIT License | JavaScript | A declarative, efficient, and flexible JavaScript library for building user interfaces. | [link](https://github.com/facebook/react) |
| vuetifyjs/vuetify | 21,394 | 19.65 | 2016-09-12 | 2019-09-05 | MIT License | TypeScript | 🐉 Material Component Framework for Vue.js 2 | [link](https://github.com/vuetifyjs/vuetify) |
| vuejs/vue | 147,494 | 66.14 | 2013-07-29 | 2019-09-05 | MIT License | JavaScript | 🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web. | [link](https://github.com/vuejs/vue) |

Whitespace

when you copy a name of an owner and a repository on a topic page the below, you might get whitespaces between the owner and repository like vuetifyjs / vuetify. So this script enables to parse them.

topic_page

Please surround the owner/repository name with " if it contains whitespaces.

girepo strict " vuetifyjs / vuetify " "kriasoft / react-starter-kit " 

Output:

| fullname | star | star/day | created_at | updated_at | license | language | description | url |
| :----: | :----: | :----: | :----: | :----: | :----: | :----: | :----: | :----: |
| vuetifyjs/vuetify | 21,394 | 19.65 | 2016-09-12 | 2019-09-05 | MIT License | TypeScript | 🐉 Material Component Framework for Vue.js 2 | [link](https://github.com/vuetifyjs/vuetify) |
| kriasoft/react-starter-kit | 19,484 | 9.9 | 2014-04-16 | 2019-09-05 | MIT License | JavaScript | React Starter Kit — isomorphic web app boilerplate (Node.js, Express, GraphQL, React.js, Babel, PostCSS, Webpack, Browsersync) | [link](https://github.com/kriasoft/react-starter-kit) |

etc

girepo strict angular/angular facebook/react vuejs/vue  --asc star
girepo rough angular react vue  --headless

Metadata

Release files for girepo 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for girepo 0.3.2
File Size Uploaded Provenance Actions
girepo-0.3.2.tar.gz 8.1 kB Without provenance Details for girepo-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for girepo 0.3.2
File Interpreter ABI Platform Actions
girepo-0.3.2-py3-none-any.whl Python 3 none any Details for girepo-0.3.2-py3-none-any.whl

Total release size: 20.3 kB

Release files / girepo-0.3.2.tar.gz

Download URL girepo-0.3.2.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
de5ea78e8bdf21da75c00683951d58f7a0232eae917d12e7bde7ce21b82234e9
BLAKE2b-256 checksum
How to use checksums
c214199831501dfc77a55a082d0c4ff746833fa4386a78b4b5e1b91dd33e68dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

Release files / girepo-0.3.2-py3-none-any.whl

Download URL girepo-0.3.2-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecbaae20e6b85252874156ad3dc9b4d031ad802d77aa3c7695b62d8410633db8
BLAKE2b-256 checksum
How to use checksums
c0132d723f8dbd10bb2376e4630bad588f60e21cc94f615c22790f5e1d6aae01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

Security for girepo 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page