Skip to main content

Python package to easily use the GitHub API.

Installation

Install using pip3 install githubAPy

Usage

  • Import the class from githubAPy import gapy
  • Create an object and pass the GitHub Access Token a = gapy('<access_token_here>')

Multiple actions are supported

  • a.me return your information in dict (JSON) format.
  • a.user('<username>') return the information of a user.
  • a.create_fork('<owner>', '<repository>') create a fork of the specified repository and returns url of the forked repository if fork successfully created else raises an error.
  • a.update_with_upstream('<owner>', '<repository>') updates your forked repository master with the upstream master. Returns True if updated successfully else raises an error.

More feature to be added in later versions.

Metadata

Release files for githubAPy 0.4

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

Source distribution (sdist)

Source distribution for githubAPy 0.4
File Size Uploaded
githubAPy-0.4.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for githubAPy 0.4
File Interpreter ABI Platform
githubAPy-0.4-py3-none-any.whl Python 3 none any Details

Total release size: 5.1 kB

Release files / githubAPy-0.4.tar.gz

Download URL githubAPy-0.4.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
918a03eb8cc094fd3f7f57b001b8a1019df733ad38baf39b79a7dc6b51064999
BLAKE2b-256 checksum
How to use checksums
b10ad761fdd59abe2e578d5023fb5e92a5d767186f9d6c040db60cf5628e1d56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

Release files / githubAPy-0.4-py3-none-any.whl

Download URL githubAPy-0.4-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a2e47c8ed5f0014606d30d080db35df52a09a255c8237fafc274ad219348529
BLAKE2b-256 checksum
How to use checksums
bebb7eab7cd072cd09c41209dd80c247fb49fb4909cd959eb060e26d4d6404d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

0.3

2 release files

0.2

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