Skip to main content

PyGitHub

Simple GitHub API with Python

Instructions

from iamjjinta.github import GitHub


username = 'Your GitHub Username'
password = 'Your GitHub Password'

# GitHub Login
github = GitHub(username, password)
login = github.login()
print(login.status_code)

# Get Repository Content
owner = 'iamjjintta-python'
repo = 'PyGitHub'
branch = 'main'
path = '/git/github.py'

source_code = github.get_content(owner, repo, branch, path)
print(source_code)

Metadata

Release files for iamjjintta-pygithub 0.0.1

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

Source distribution (sdist)

Source distribution for iamjjintta-pygithub 0.0.1
File Size Uploaded
iamjjintta-pygithub-0.0.1.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iamjjintta-pygithub 0.0.1
File Interpreter ABI Platform
iamjjintta_pygithub-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.3 kB

Release files / iamjjintta-pygithub-0.0.1.tar.gz

Download URL iamjjintta-pygithub-0.0.1.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d61e0fe471d295748cdc77b29e7ff9e8f64417ce6498663e10eff9e8c8eedbda
BLAKE2b-256 checksum
How to use checksums
a38c321254c4672fcce03552f3f65cb6a37ca9e2c9f9589f1c52d188cbed2d30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / iamjjintta_pygithub-0.0.1-py3-none-any.whl

Download URL iamjjintta_pygithub-0.0.1-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82c12010f5169b5673af3854e8db8aa03b1d294fcf43daf6431f743915722c45
BLAKE2b-256 checksum
How to use checksums
3d491d1b059718039190adeeb21f2a1559cc359a212d93758302e24b0a093321
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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