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. 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 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 |
Use GHC_TOKEN
GHC_TOKEN=xxxxxxxx ghc homoluctus -f json -t python aws
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.2.tar.gz
(8.1 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.2-py3-none-any.whl
(9.4 kB
view details)
File details
Details for the file ghc-0.1.2.tar.gz.
File metadata
- Download URL: ghc-0.1.2.tar.gz
- Upload date:
- Size: 8.1 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 |
2206417d859321e322d146589aeb7db8ce1a1a0f74e6df769b144c2d08676ecf
|
|
| MD5 |
90f6171965b88af2cc24e410485b3499
|
|
| BLAKE2b-256 |
91b7f0dbe76290978a70225a68a2afdd7254916f47bf56cf4d8c532335734cc8
|
File details
Details for the file ghc-0.1.2-py3-none-any.whl.
File metadata
- Download URL: ghc-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.4 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 |
e0516f237e2fec7f83dc8562dd9d57f37d2e14d475976533e305812999b49afc
|
|
| MD5 |
45fc238a9d697d276fc5762302ea37d8
|
|
| BLAKE2b-256 |
bd011b23655d3ab294ccf0d016c562046a5e1a50c811bde36a6050c5582f8aac
|