This repository was archived by the owner on May 22, 2021. It is now read-only.
forked from sigmavirus24/github3.py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
57 lines (53 loc) · 1.19 KB
/
Copy path__init__.py
File metadata and controls
57 lines (53 loc) · 1.19 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
"""github4.py."""
import sys
if sys.version_info[:2] >= (3, 8):
from importlib.metadata import version, PackageNotFoundError # pragma: no cover
else:
from importlib_metadata import version, PackageNotFoundError # pragma: no cover
try:
__version__ = version(__name__)
except PackageNotFoundError: # pragma: no cover
__version__ = "unknown"
from .api import enterprise_login
from .api import login
from .exceptions import GitHubError
from .github import GitHub
from .github import GitHubEnterprise
__all__ = (
"GitHub",
"GitHubEnterprise",
"GitHubError",
"authorize",
"login",
"enterprise_login",
"emojis",
"gist",
"gitignore_template",
"create_gist",
"issue",
"markdown",
"octocat",
"organization",
"pull_request",
"followers_of",
"followed_by",
"public_gists",
"gists_by",
"issues_on",
"gitignore_templates",
"all_repositories",
"all_users",
"all_events",
"organizations_with",
"repositories_by",
"starred_by",
"subscriptions_for",
"rate_limit",
"repository",
"search_code",
"search_repositories",
"search_users",
"search_issues",
"user",
"zen",
)