List up GitHub user / org repositories filtered by topics (ghc = GitHub Collector)
Project description
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
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
-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 aws | jq
Result
{
"count": 2,
"repositories": [
{
"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": "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"
}
]
}
Output markdown
nghc homoluctus --token xxxxxxx -f md -t python aws
Result (Raw)
# Repositories
Total Count: 2
|Name|URL|Language|Archived|Template|Description|
|:--:|:--:|:--:|:--:|:--:|:--|
|pyinsights|https://github.com/homoluctus/pyinsights||False|False|The CLI tool to query AWS CloudWatch Logs Insights :mag:|
|ecranner|https://github.com/homoluctus/ecranner||False|False|Scan the vulnerability of Docker images stored in ECR|
Result
Repositories
Total Count: 2
| Name | URL | Language | Archived | Template | Description |
|---|---|---|---|---|---|
| pyinsights | https://github.com/homoluctus/pyinsights | False | False | The CLI tool to query AWS CloudWatch Logs Insights :mag: | |
| ecranner | https://github.com/homoluctus/ecranner | False | False | Scan the vulnerability of Docker images stored in ECR |
Roadmap
- Ignore filter
- Output to user-defined template
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ghc-0.1.0.tar.gz
(8.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ghc-0.1.0-py3-none-any.whl
(9.3 kB
view details)
File details
Details for the file ghc-0.1.0.tar.gz.
File metadata
- Download URL: ghc-0.1.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.5 Linux/5.3.0-1034-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c09850fddc4dd233facfc56b4cb437a9318ce3f4c2e5778c94bd0b8a500f64a
|
|
| MD5 |
8e47f5a8daf87fe0bf2587209b83104d
|
|
| BLAKE2b-256 |
04dd454873f851cc7996382a73a54314c461d30aac291c996df072892240e3c2
|
File details
Details for the file ghc-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ghc-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.8.5 Linux/5.3.0-1034-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
788768b9aaf813d39713b6f5779eccbfa3130711779755275ef67085fe88ec96
|
|
| MD5 |
03cdb057cf92368d2ff9ed0967940d07
|
|
| BLAKE2b-256 |
d3855ef5a3cfaaba0e6bd5977dc8ffd69b19b030403d9a1d29f6cddbde6d03a2
|