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

octopie

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

octopie

Python GitHub API Client

  • 0.0.11
  • PyPI
  • Socket score

Maintainers
1

======= octopie

Python API client for GitHub APIv3

Installation

To Run

pip install octopie

To Develop

Nothing specific now

Usage

import octopie

client = octopie.GitHubAPI()

try:
   result = client.search.users.get(q='language:python')
except APIError as e:
    print e

In case of having variables for an API call. For example:

GET /repos/:owner/:repo/collaborators

The octopie for above example will be:

owner = 'steven'
repo = 'octopie'
result = api_client.repos.__getattr__(owner).__getattr__(repo).collaborators.get()

Notes

  • Octpie is defaulted to 30 seconds connection timeout

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