public
Description: Python interface for talking to the github API
Clone URL: git://github.com/dustin/py-github.git
added license and copyright information throughout the source
ashcrow (author)
Sun Aug 31 21:22:50 -0700 2008
dustin (committer)
Sun Sep 07 21:01:07 -0700 2008
commit  ccadb8e13d60048162999c0f0f90f02c33e48e86
tree    d8716541df3e40f6447129a57c3c7b104aa5e91b
parent  1be68604d61e216cdcd069780e9f967630822924
...
1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
3
4
...
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
0
@@ -1,4 +1,29 @@
0
 #!/usr/bin/env python
0
+#
0
+# Copyright (c) 2005-2008 Dustin Sallings <dustin@spy.net>
0
+#
0
+# Permission is hereby granted, free of charge, to any person obtaining a copy
0
+# of this software and associated documentation files (the "Software"), to deal
0
+# in the Software without restriction, including without limitation the rights
0
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
0
+# copies of the Software, and to permit persons to whom the Software is
0
+# furnished to do so, subject to the following conditions:
0
+#
0
+# The above copyright notice and this permission notice shall be included in
0
+# all copies or substantial portions of the Software.
0
+#
0
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
0
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
0
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
0
+# SOFTWARE.
0
+#
0
+# <http://www.opensource.org/licenses/mit-license.php>
0
+"""
0
+Search script.
0
+"""
0
 
0
 import sys
0
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
 
18
19
20
...
35
36
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
39
40
...
1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
3
4
5
6
...
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
0
@@ -1,20 +1,6 @@
0
 #!/usr/bin/env python
0
-"""
0
-Interface to github's API.
0
-
0
-Basic usage:
0
-
0
-g = GitHub()
0
-
0
-for r in g.search('memcache'):
0
- print r.name
0
-
0
-See the GitHub docs or README.markdown for more usage.
0
-
0
-Copyright (c) 2007 Dustin Sallings <dustin@spy.net>
0
-"""
0
-
0
-# Copyright (c) 2005 Dustin Sallings <dustin@spy.net>
0
+#
0
+# Copyright (c) 2005-2008 Dustin Sallings <dustin@spy.net>
0
 #
0
 # Permission is hereby granted, free of charge, to any person obtaining a copy
0
 # of this software and associated documentation files (the "Software"), to deal
0
@@ -35,6 +21,20 @@ Copyright (c) 2007 Dustin Sallings <dustin@spy.net>
0
 # SOFTWARE.
0
 #
0
 # <http://www.opensource.org/licenses/mit-license.php>
0
+"""
0
+Interface to github's API.
0
+
0
+Basic usage:
0
+
0
+g = GitHub()
0
+
0
+for r in g.search('memcache'):
0
+ print r.name
0
+
0
+See the GitHub docs or README.markdown for more usage.
0
+
0
+Copyright (c) 2007 Dustin Sallings <dustin@spy.net>
0
+"""
0
 
0
 # GAE friendly URL detection (theoretically)
0
 try:
...
1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
3
4
5
6
7
8
...
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
0
@@ -1,8 +1,28 @@
0
 #!/usr/bin/env python
0
+#
0
+# Copyright (c) 2005-2008 Dustin Sallings <dustin@spy.net>
0
+#
0
+# Permission is hereby granted, free of charge, to any person obtaining a copy
0
+# of this software and associated documentation files (the "Software"), to deal
0
+# in the Software without restriction, including without limitation the rights
0
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
0
+# copies of the Software, and to permit persons to whom the Software is
0
+# furnished to do so, subject to the following conditions:
0
+#
0
+# The above copyright notice and this permission notice shall be included in
0
+# all copies or substantial portions of the Software.
0
+#
0
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
0
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
0
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
0
+# SOFTWARE.
0
+#
0
+# <http://www.opensource.org/licenses/mit-license.php>
0
 """
0
 Grab all of a user's projects from github.
0
-
0
-Copyright (c) 2008 Dustin Sallings <dustin@spy.net>
0
 """
0
 
0
 import os
...
1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
3
4
 
5
6
7
...
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
0
@@ -1,7 +1,28 @@
0
 #!/usr/bin/env python
0
+#
0
+# Copyright (c) 2005-2008 Dustin Sallings <dustin@spy.net>
0
+#
0
+# Permission is hereby granted, free of charge, to any person obtaining a copy
0
+# of this software and associated documentation files (the "Software"), to deal
0
+# in the Software without restriction, including without limitation the rights
0
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
0
+# copies of the Software, and to permit persons to whom the Software is
0
+# furnished to do so, subject to the following conditions:
0
+#
0
+# The above copyright notice and this permission notice shall be included in
0
+# all copies or substantial portions of the Software.
0
+#
0
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
0
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
0
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
0
+# SOFTWARE.
0
+#
0
+# <http://www.opensource.org/licenses/mit-license.php>
0
 """
0
-
0
-Copyright (c) 2007 Dustin Sallings <dustin@spy.net>
0
+Defines and runs unittests.
0
 """
0
 
0
 import unittest

Comments

    No one has commented yet.