Skip to main content

Internal package to automatically create GitHub issues

Project description

github_issue_creator

Version: 0.1.0

Overview

A lightweight internal Python package to create GitHub issues using PyGithub. Designed for private distribution inside your company.

Installation (from git)

pip install git+https://github.com/your-company/github_issue_creator.git

Quick example

from github_issue_creator import create_issue

resp = create_issue(
    repo_owner="Lokesh-techy",
    repo_name="django-testing",
    title="Automated Issue Creation Test",
    body="Issue body text",
    assignees=["Lokesh-techy"],
    labels=["bug"],
)
print(resp)

Token

Set the GitHub token as an environment variable:

export GITHUB_ISSUE_CREATION_TOKEN=ghp_...

Notes

  • This package depends on PyGithub.
  • For internal distribution, push this repo to a private GitHub or upload the built wheel to your private PyPI.

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

pygithub_assist-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygithub_assist-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file pygithub_assist-0.1.0.tar.gz.

File metadata

  • Download URL: pygithub_assist-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for pygithub_assist-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d7872ba30e1962ff4092157e4fbae99dcbdab3502dca90ab9eeef39c4645b1e1
MD5 de23d43d9667481a3ddb2b4a11799b39
BLAKE2b-256 d53ec281949f614d86909726e935efc0de5932e74378a654d86a98da25bd5b8d

See more details on using hashes here.

File details

Details for the file pygithub_assist-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pygithub_assist-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf9bef5f1a45bedb64e4656166fa86c0fdace6430246a7407604bdeeff0f6c46
MD5 18d1ec08b2404f162eb5df394bda15c8
BLAKE2b-256 71a52780d07b1ed6aeb68651613adb81a5215f17c5c49b8483062220be3c4a90

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page