From 0cec0d25e606c023a62a4fc7cdc815309ebf6d16 Mon Sep 17 00:00:00 2001 From: Vincent Jacques Date: Fri, 25 May 2012 19:13:33 +0200 Subject: [PATCH] Publish version 0.7 --- ReferenceOfClasses.md | 2 +- setup.py | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ReferenceOfClasses.md b/ReferenceOfClasses.md index af9d0955..c1602a73 100644 --- a/ReferenceOfClasses.md +++ b/ReferenceOfClasses.md @@ -3,7 +3,7 @@ You obtain instances through calls to `get_` and `create_` methods. Class `Github` ============== -* Constructed from user's login and password +* Constructed from user's login and password or OAuth token * `get_user()`: `AuthenticatedUser` * `get_user( login )`: `NamedUser` * `get_organization( login )`: `Organization` diff --git a/setup.py b/setup.py index 53bce9fa..47e6c657 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ import textwrap setup( name = 'PyGithub', - version = '0.6', + version = '0.7', description = 'Use the full Github API v3', author = 'Vincent Jacques', author_email = 'vincent@vincent-jacques.net', @@ -26,6 +26,14 @@ setup( print repo.name repo.edit( has_wiki = False ) + You can also create a Github instance without authentication:: + + g = Github( "user", "password" ) + + Or with an OAuth token:: + + g = Github( token ) + Reference documentation =======================