Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Python library implementing the full Github API v3

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
github
.gitignore
Design.md
IntegrationTest.py
ReadMe.md
ReferenceOfApis.md
ReferenceOfClasses.md
RoadMap.md
run_tests.sh
setup.py

ReadMe.md

This is a Python library to access the Gitub API v3.

With it, you can manage your Github resources (repositories, user profiles, organizations, etc.) from Python scripts.

It is still a work in progress, but I'm sure I'll finish it soon. The aim is to cover the full API in version 1.0.

Download and install

This package is in the Python Package Index. You can also clone it on Github.

Tutorial

First create a Gihub instance:

from github import Github

g = Github( "user", "password" )

Then play with your Github objects:

for repo in g.get_user().get_repos():
    print repo.name
    repo.edit( has_wiki = False )

History

Version 0.3 (February 26th, 2012)

  • More refactoring
  • Issues, milestones and their labels
  • NamedUser:
    • emails
  • Repository:
    • downloads
    • tags, branches, commits and comments (not the same as "Git objects" of version 0.2)
    • pull requests (no automatic merge yet)
  • Automatic generation of the reference documentation of classes, with less "see API"s, and less errors

Version 0.2 (February 23rd, 2012)

  • Refactoring
  • Teams details and modification
    • basic attributes
    • list teams in organizations, on repositories
  • Git objects
    • create and get tags, references, commits, trees, blobs
    • list and edit references

Version 0.1 (February 19th, 2012)

  • User details and modification
    • basic attributes
    • followers, following, watching
    • organizations
    • repositories
  • Repository details and modification
    • basic attributes
    • forking
    • collaborators, contributors, watchers
  • Organization details and modification
    • basic attributes
    • members and public members
Something went wrong with that request. Please try again.