GitHubIssueExtractor
Project description
GitHub Issue Extractor
This script extracts all issues from a specified milestone in a GitHub repository and saves them to an Excel file. The script can be run from the command line and accepts the milestone number and access token as arguments.
Requirements
- Python 3.6 or higher
- requests module
- openpyxl module
Installation
- Clone the GitHub repository to your local machine.
- Install the required modules using pip:
pip install -r requirements.txt
Usage
To run the script, use the following command:
python main.py <milestone_number> <access_token> <repo-name> <name_of_owner_of_the_repo>
Replace <milestone_number> with the number of the milestone you want to extract issues from, <access_token> with your GitHub access token, <repo-name> with the repo name, and <name_of_owner_of_the_repo> with the name of the owner of the repository.
Example:
python main.py 1 abc123def456 issues-repo-name owner_of_the_repo
This will extract all issues from milestone 1 in the specified repository and save them to an Excel file.
The Excel file will be saved as <reponame>-<milestone_number>.xlsx in the Downloads folder.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file github_issue_extractor-0.1.1.tar.gz.
File metadata
- Download URL: github_issue_extractor-0.1.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
940011e834dd2197a28144ecbe22a2a5967bed026ffd8f2d176f8f347e1dbd5b
|
|
| MD5 |
e50ce10d19ae38a769a46288bbb264bc
|
|
| BLAKE2b-256 |
f47cd44e3921832943c933b61e2a305100fcb054fe20e3f2a745bb7432f5083a
|
File details
Details for the file github_issue_extractor-0.1.1-py3-none-any.whl.
File metadata
- Download URL: github_issue_extractor-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddbabbd9b414cec2a547274f0e5aeeed20f9f433c5e86ee975e8304f47a51c65
|
|
| MD5 |
d03ce2c79c1118e435a7dde978b558ad
|
|
| BLAKE2b-256 |
cf734a589ecf7c2f2f8ad254d62032d7c72fa421ec1920d33ba102c659d16b45
|