Skip to main content

GitHub API Wrapper written in Python.

Project description

Octopype

What is Octopype?

Octopype is a Wrapper for the GitHub API written in Python using the requests library.
The focus is on making it simple for the user and filling every niche with the features, that the GitHub API offers.

Disclaimer

Octopype is still in Early Development and it does not have many features yet!

Installing

pip install octopype

Basic tutorials

1. Getting your Github bio.

import octopype

github = octopype.OctoPype("INSERT TOKEN HERE")
print("My GitHub Bio is: " + github.account.info().bio)

2. Getting the name of a repository owner

import octopype

github = octopype.OctoPype("INSERT TOKEN HERE")
print("The owner of Octopype's repository is: " + github.repository.getrepository("BLUEAMETHYST-Studios", "octopype").owner.name)

3. Updating your display name

import octopype

github = octopype.OctoPype("INSERT TOKEN HERE")
github.account.update.display_name("OctoPype") # Will set your display name to 'OctoPype'

License

Octopype by BLUEAMETHYST-Studios is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.
To view the full license, click here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

octopype-0.1.0.tar.gz (18.4 kB view hashes)

Uploaded Source

Built Distribution

octopype-0.1.0-py3-none-any.whl (19.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page