blob: 0fdffd467ab8052957cc45870e755784ec43538a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# -*- coding: utf-8 -*-
"""
github3.core
~~~~~~~~~~~~
This module provides the entrance point for the GitHub3 module.
"""
__version__ = '0.0.0'
__license__ = 'MIT'
__author__ = 'Kenneth Reitz'
from .api import Github, settings
def no_auth():
"""Returns an un-authenticated Github object."""
gh = Github()
return gh
def basic_auth():
"""Returns an authenticated Github object, via HTTP Basic."""
gh = Github()
return gh
|