ghc (GitHub Collector)
List up GitHub user / org repositories filtered by topics
Feature
- List up GitHub org repositories
- filtered by topics
- Support several formats
- JSON
- Markdown
- Output the results to stdout or file
- Specify 'ghc/result.md' as output filename and if 'ghc' does not exist, create new directory
Installtion
pip install ghc
Usage
usage: ghc [-h] [--token TOKEN] [-t [TOPICS [TOPICS ...]]] [-f {json,md}] [-o FILENAME] [-V] owner
List up GitHub user / org repositories filtered by topics
positional arguments:
owner Repository user or organization name to search
optional arguments:
-h, --help show this help message and exit
--token TOKEN Personal Access Token to access the private repository. Use the environment variable "GHC_TOKEN" instead.
-t [TOPICS [TOPICS ...]], --topics [TOPICS [TOPICS ...]]
Filter repository using topics
-f {json,md}, --format {json,md}
Format the results with json or md (markdown). Default is json
-o FILENAME, --output FILENAME
Filename to output the results. Output stdout if not specified
-V, --version Show command version
Examples
Output JSON
ghc homoluctus --token xxxxxxxx -f json -t python
Result
{
"count": 11,
"repositories": [
{
"description": null,
"is_archive": false,
"is_template": false,
"language": "Python",
"language_logo_url": "https://cdn.jsdelivr.net/npm/programming-languages-logos/src/python/python_24x24.png",
"name": "algorithms",
"url": "https://github.com/homoluctus/algorithms"
},
{
"description": "Sample for logging decorator",
"is_archive": false,
"is_template": false,
"language": "Python",
"language_logo_url": "https://cdn.jsdelivr.net/npm/programming-languages-logos/src/python/python_24x24.png",
"name": "decolog",
"url": "https://github.com/homoluctus/decolog"
},
{
"description": "This tool helps to migrate DynamoDB to MySQL",
"is_archive": false,
"is_template": false,
"language": "Python",
"language_logo_url": "https://cdn.jsdelivr.net/npm/programming-languages-logos/src/python/python_24x24.png",
"name": "dymy",
"url": "https://github.com/homoluctus/dymy"
},
{
"description": "Scan the vulnerability of Docker images stored in ECR",
"is_archive": false,
"is_template": false,
"language": "Python",
"language_logo_url": "https://cdn.jsdelivr.net/npm/programming-languages-logos/src/python/python_24x24.png",
"name": "ecranner",
"url": "https://github.com/homoluctus/ecranner"
},
{
"description": "List up GitHub user / org repositories filtered by topics (ghc = GitHub Collector)",
"is_archive": false,
"is_template": false,
"language": "Python",
"language_logo_url": "https://cdn.jsdelivr.net/npm/programming-languages-logos/src/python/python_24x24.png",
"name": "ghc",
"url": "https://github.com/homoluctus/ghc"
},
{
"description": "Python logging outputs as JSON",
"is_archive": false,
"is_template": false,
"language": "Python",
"language_logo_url": "https://cdn.jsdelivr.net/npm/programming-languages-logos/src/python/python_24x24.png",
"name": "json-pyformatter",
"url": "https://github.com/homoluctus/json-pyformatter"
},
{
"description": "Analysis tool for Postfix log in /var/log/maillog",
"is_archive": false,
"is_template": false,
"language": "Python",
"language_logo_url": "https://cdn.jsdelivr.net/npm/programming-languages-logos/src/python/python_24x24.png",
"name": "maillogger",
"url": "https://github.com/homoluctus/maillogger"
},
{
"description": "Notify today's wether information",
"is_archive": false,
"is_template": false,
"language": "Python",
"language_logo_url": "https://cdn.jsdelivr.net/npm/programming-languages-logos/src/python/python_24x24.png",
"name": "ohtenki",
"url": "https://github.com/homoluctus/ohtenki"
},
{
"description": "Audit action for python dependencies (requirements.txt, Pipfile and poetry.lock)",
"is_archive": false,
"is_template": false,
"language": "Shell",
"language_logo_url": null,
"name": "pip-audit-action",
"url": "https://github.com/homoluctus/pip-audit-action"
},
{
"description": "The CLI tool to query AWS CloudWatch Logs Insights :mag:",
"is_archive": false,
"is_template": false,
"language": "Python",
"language_logo_url": "https://cdn.jsdelivr.net/npm/programming-languages-logos/src/python/python_24x24.png",
"name": "pyinsights",
"url": "https://github.com/homoluctus/pyinsights"
},
{
"description": "GitHub template for Python3.8",
"is_archive": false,
"is_template": true,
"language": "Makefile",
"language_logo_url": null,
"name": "python-template",
"url": "https://github.com/homoluctus/python-template"
}
]
}
Output Markdown
nghc homoluctus --token xxxxxxx -f md -t python
Result (Raw)
# Repositories
Total Count: 11
|Name|URL|Language|Description|
|:--:|:--:|:--:|:--|
|algorithms|https://github.com/homoluctus/algorithms||None|
|decolog|https://github.com/homoluctus/decolog||Sample for logging decorator|
|dymy|https://github.com/homoluctus/dymy||This tool helps to migrate DynamoDB to MySQL|
|ecranner|https://github.com/homoluctus/ecranner||Scan the vulnerability of Docker images stored in ECR|
|ghc|https://github.com/homoluctus/ghc||List up GitHub user / org repositories filtered by topics (ghc = GitHub Collector)|
|json-pyformatter|https://github.com/homoluctus/json-pyformatter||Python logging outputs as JSON|
|maillogger|https://github.com/homoluctus/maillogger||Analysis tool for Postfix log in /var/log/maillog|
|ohtenki|https://github.com/homoluctus/ohtenki||Notify today's wether information|
|pip-audit-action|https://github.com/homoluctus/pip-audit-action|Shell|Audit action for python dependencies (requirements.txt, Pipfile and poetry.lock)|
|pyinsights|https://github.com/homoluctus/pyinsights||The CLI tool to query AWS CloudWatch Logs Insights :mag:|
|python-template |https://github.com/homoluctus/python-template|Makefile|GitHub template for Python3.8|
> Generated by [ghc](https://github.com/homoluctus/ghc)
Result
Repositories
Total Count: 11
| Name | URL | Language | Description |
|---|---|---|---|
| algorithms | https://github.com/homoluctus/algorithms | None | |
| decolog | https://github.com/homoluctus/decolog | Sample for logging decorator | |
| dymy | https://github.com/homoluctus/dymy | This tool helps to migrate DynamoDB to MySQL | |
| ecranner | https://github.com/homoluctus/ecranner | Scan the vulnerability of Docker images stored in ECR | |
| ghc | https://github.com/homoluctus/ghc | List up GitHub user / org repositories filtered by topics (ghc = GitHub Collector) | |
| json-pyformatter | https://github.com/homoluctus/json-pyformatter | Python logging outputs as JSON | |
| maillogger | https://github.com/homoluctus/maillogger | Analysis tool for Postfix log in /var/log/maillog | |
| ohtenki | https://github.com/homoluctus/ohtenki | Notify today's wether information | |
| pip-audit-action | https://github.com/homoluctus/pip-audit-action | Shell | Audit action for python dependencies (requirements.txt, Pipfile and poetry.lock) |
| pyinsights | https://github.com/homoluctus/pyinsights | The CLI tool to query AWS CloudWatch Logs Insights 🔍 | |
| python-template |
https://github.com/homoluctus/python-template | Makefile | GitHub template for Python3.8 |
Generated by ghc
Use GHC_TOKEN instead of --token option
GHC_TOKEN=xxxxxxxx ghc homoluctus -f json -t python aws
Roadmap
- Ignore filter
- Output to user-defined template
Metadata
Release files for ghc 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ghc-0.2.0.tar.gz | 10.4 kB | Without provenance | Details for ghc-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ghc-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for ghc-0.2.0-py3-none-any.whl |
Total release size: 21.4 kB
Release files / ghc-0.2.0.tar.gz
| Download URL | ghc-0.2.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ccf87e7fb4913a0c40f4fee504df05edfda8e10d5502b408bb0f0f3abb098c6
|
|
BLAKE2b-256 checksum How to use checksums |
7a7b557a14e214ffde498e7d0a3d466caec0412d2662a5d0c44827dc04f7a090
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.5 Linux/5.4.0-1025-azure
|
Release files / ghc-0.2.0-py3-none-any.whl
| Download URL | ghc-0.2.0-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0dd502b740760c648a3bf4a82d67457662a64bf19849ca592aa7e6fa980c2b3c
|
|
BLAKE2b-256 checksum How to use checksums |
5525fefe960df5012a73b793f67809bb3c102b4bf77604c423d5d65368786c13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.5 Linux/5.4.0-1025-azure
|
Security for ghc 0.2.0
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.