Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

GH Issues

GH Issues is a wrapper for the GitHub API Issues Endpoint that makes it easy to work with a Github Issue's body as a Python object.

Installation

pip install gh-issues

Usage

from gh_issues import Repo, Issue

repo = Repo(
    owner="python-community-news", repo="gh-issues"
    )
issue = Issue(repo=repo, issue_number=1)

If the issue text is

# Issue Header
This is some text

the issue would be represented as

issue.issue_header
>>> "This is some text"

Nested Issues

Nested issues are supported. If the issue text is

# Issue Header
This is some text referencing issue #2

You can access the issue referenced by the issue

for issue in Issue.get_content_issues('issue_header'):
    print(issue.issue_header)

>>> <Issue - #2: This is the issue #2 Title by @user>

Contributing

Review the Contributing Guidelines for information on how to contribute to this project.

License

This project is licensed under the terms of the MIT License.

Code of Conduct

This project is governed by the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to kjaymiller@gmail.com

Metadata

Release files for gh-issues 2024.10.2a4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gh-issues 2024.10.2a4
File Size Uploaded Provenance
gh_issues-2024.10.2a4.tar.gz 14.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gh-issues 2024.10.2a4
File Interpreter ABI Platform
gh_issues-2024.10.2a4-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / gh_issues-2024.10.2a4.tar.gz

Download URL gh_issues-2024.10.2a4.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
15b21f94bb2a57598929546bf83d6b39c606bc0b14894547b4abe40335f46fc5
BLAKE2b-256 checksum
How to use checksums
9b3e9430040c672a6c2b1352911cd96b3cb73463d0f96dc0b4909c98096ed67e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / gh_issues-2024.10.2a4-py3-none-any.whl

Download URL gh_issues-2024.10.2a4-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a534e60049a52d4a120f92328de1f552f49238af03bbb29151ea718de34f0c4
BLAKE2b-256 checksum
How to use checksums
970a13bf02315061748bf79e345ecd3e63163ee8509d231f38891d3d6e6f606e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Security for gh-issues 2024.10.2a4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page