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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file octopype-0.1.0.tar.gz.

File metadata

  • Download URL: octopype-0.1.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for octopype-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d360f6094d88d0d0a3c353a9819d302414a3dd59f422dd522844dc50f70e8e90
MD5 ed850f557dfcfff03c43ad36187deaf7
BLAKE2b-256 b6366a20cd7919eed0f610c7f6d3a82a5533e925f1e5426fab7dbe6ed70d2481

See more details on using hashes here.

File details

Details for the file octopype-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: octopype-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for octopype-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a23b4a10004829fa29fc0e691e171c687f22a53776182f43c4a40c1b7433fcf
MD5 ba73574e990e0e8304289be187b98a57
BLAKE2b-256 fc3ed229aa7bf61a0c0f32bef77d0141a4d7a3a7213ad7047c92f0ba8928d1ee

See more details on using hashes here.

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