fetch-github-issues
Fetch all GitHub issues for a repository and save them as JSON
Installation
Install this tool using pip:
pip install fetch-github-issues
Usage
To fetch all issues from a GitHub repository:
fetch-github-issues owner/repo --all
Or for just specific issues:
fetch-github-issues owner/repo 1 2 3
Other options:
--key xxx: GitHub API key - will use theGITHUB_TOKENenvironment variable if this is not set.--output path/to/dir: Output directory to save JSON. Default is the current directory.
For more help, run:
fetch-github-issues --help
You can also use:
python -m fetch_github_issues --help
Issue format
Issues will be saved in files called 1.json and 2.json and so on, where the filename is the issue number.
Each file will look like this:
{
"issue": {
"GitHub API issue representation": "..."
},
"comments": [
{
"GitHub API comment representation": "..."
}
]
}
Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd fetch-github-issues
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Metadata
Release files for fetch-github-issues 0.1.2
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 |
|---|---|---|---|---|
| fetch_github_issues-0.1.2.tar.gz | 7.6 kB | Without provenance | Details for fetch_github_issues-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fetch_github_issues-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for fetch_github_issues-0.1.2-py3-none-any.whl |
Total release size: 16.2 kB
Release files / fetch_github_issues-0.1.2.tar.gz
| Download URL | fetch_github_issues-0.1.2.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff61619487ca378f81623bd7431c552b963f12f28608458b5afb082ceffc1666
|
|
BLAKE2b-256 checksum How to use checksums |
a37c30d38203ee02fd368ec9dbf7e30ceced743899cc89cf511d96d9aeb228df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / fetch_github_issues-0.1.2-py3-none-any.whl
| Download URL | fetch_github_issues-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3079355c71e96907c202bdef18f746700a769b8367a35b77d3a60a949957fbef
|
|
BLAKE2b-256 checksum How to use checksums |
e4ce370baab045fda43c86595dc5f1ecada9cbcdc2f1b362d4806e45e92f944c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for fetch-github-issues 0.1.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.