New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

githubAPy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

githubAPy

Python wrapper to easily communicate with the GitHub API

  • 0.4
  • PyPI
  • Socket score

Maintainers
1

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc