Skip to main content

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

Metadata

Release files for octopie 0.0.11

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

Source distribution (sdist)

Source distribution for octopie 0.0.11
File Size Uploaded
octopie-0.0.11.tar.gz 3.8 kB Details

Release files / octopie-0.0.11.tar.gz

Download URL octopie-0.0.11.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
95faef20f88e17de62130870901ed4239e129a87f5bbb6a9be67dd10b66216ed
BLAKE2b-256 checksum
How to use checksums
7bafab7e00ecd06ea91d702cbb414e352b84c665b2c0fd05c0dae044644cad3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.11 This release

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.1

1 release file

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