# GitHub Context Extractor
A simple CLI tool to extract context from GitHub repositories (code, issues, wiki ...) for AI.
## Install
```bash
pip install github-context
```
## Usage
```bash
ghc owner/repo [options]
```
Options:
- `--issues-only`: Extract only issues
- `--wiki-only`: Extract only wiki
- `--code-only`: Extract only code
- `--no-issues`: Exclude issues
- `--no-wiki`: Exclude wiki
- `--output DIR`: Specify output directory
## Features
- Parallel processing for faster extraction
- Progress bars to track extraction progress
- Option to extract only code
- Improved performance for large repositories
## Requirements
- Python 3.6+
- GitHub Personal Access Token (set as `GITHUB_TOKEN` environment variable)
## License
MIT
Raw data
{
"_id": null,
"home_page": "https://github.com/elyxlz/github-context",
"name": "github-context",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Elio Pascarelli",
"author_email": "elio@pascarelli.com",
"download_url": "https://files.pythonhosted.org/packages/a8/b6/fceffaeaca20c973309956993d43937a571a923b41f0b4f9db04b82e78cb/github_context-0.3.1.tar.gz",
"platform": null,
"description": "# GitHub Context Extractor\n\nA simple CLI tool to extract context from GitHub repositories (code, issues, wiki ...) for AI.\n\n## Install\n\n```bash\npip install github-context\n```\n\n## Usage\n\n```bash\nghc owner/repo [options]\n```\n\nOptions:\n- `--issues-only`: Extract only issues\n- `--wiki-only`: Extract only wiki\n- `--code-only`: Extract only code\n- `--no-issues`: Exclude issues\n- `--no-wiki`: Exclude wiki\n- `--output DIR`: Specify output directory\n\n## Features\n\n- Parallel processing for faster extraction\n- Progress bars to track extraction progress\n- Option to extract only code\n- Improved performance for large repositories\n\n## Requirements\n\n- Python 3.6+\n- GitHub Personal Access Token (set as `GITHUB_TOKEN` environment variable)\n\n## License\n\nMIT\n",
"bugtrack_url": null,
"license": null,
"summary": "A CLI tool to quickly extract context from GitHub repositories for AI",
"version": "0.3.1",
"project_urls": {
"Homepage": "https://github.com/elyxlz/github-context"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "665051a84b554a2598cf75fe8051220f3e4577b0dfe91c91fae815779f2be77a",
"md5": "f6e3e2a6cfa75394e6421c914fba20b1",
"sha256": "09ade9ce96299107cc9ba5acf0c1750a0b0e23daa7799fc4302488cd81aabf67"
},
"downloads": -1,
"filename": "github_context-0.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f6e3e2a6cfa75394e6421c914fba20b1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 5420,
"upload_time": "2024-08-05T10:37:50",
"upload_time_iso_8601": "2024-08-05T10:37:50.739709Z",
"url": "https://files.pythonhosted.org/packages/66/50/51a84b554a2598cf75fe8051220f3e4577b0dfe91c91fae815779f2be77a/github_context-0.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a8b6fceffaeaca20c973309956993d43937a571a923b41f0b4f9db04b82e78cb",
"md5": "b98c08e4fa9c78afbcab33a69d7753f1",
"sha256": "5974be04b9c5d44b7922a56215b3664748e9beff2339e6d565d24cc580976d69"
},
"downloads": -1,
"filename": "github_context-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "b98c08e4fa9c78afbcab33a69d7753f1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4783,
"upload_time": "2024-08-05T10:37:51",
"upload_time_iso_8601": "2024-08-05T10:37:51.968404Z",
"url": "https://files.pythonhosted.org/packages/a8/b6/fceffaeaca20c973309956993d43937a571a923b41f0b4f9db04b82e78cb/github_context-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-05 10:37:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "elyxlz",
"github_project": "github-context",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "github-context"
}