pygitpub 0.0.52__tar.gz → 0.0.53__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pygitpub-0.0.52 → pygitpub-0.0.53}/PKG-INFO +3 -2
- {pygitpub-0.0.52 → pygitpub-0.0.53}/README.rst +1 -1
- {pygitpub-0.0.52 → pygitpub-0.0.53}/pygitpub/configs.py +2 -5
- {pygitpub-0.0.52 → pygitpub-0.0.53}/pygitpub/main.py +3 -1
- {pygitpub-0.0.52 → pygitpub-0.0.53}/pygitpub/static.py +1 -1
- {pygitpub-0.0.52 → pygitpub-0.0.53}/pygitpub.egg-info/PKG-INFO +3 -2
- {pygitpub-0.0.52 → pygitpub-0.0.53}/pygitpub.egg-info/requires.txt +1 -0
- {pygitpub-0.0.52 → pygitpub-0.0.53}/setup.py +2 -1
- {pygitpub-0.0.52 → pygitpub-0.0.53}/LICENSE +0 -0
- {pygitpub-0.0.52 → pygitpub-0.0.53}/pygitpub/__init__.py +0 -0
- {pygitpub-0.0.52 → pygitpub-0.0.53}/pygitpub/utils/__init__.py +0 -0
- {pygitpub-0.0.52 → pygitpub-0.0.53}/pygitpub/utils/importlib.py +0 -0
- {pygitpub-0.0.52 → pygitpub-0.0.53}/pygitpub/utils/misc.py +0 -0
- {pygitpub-0.0.52 → pygitpub-0.0.53}/pygitpub.egg-info/SOURCES.txt +0 -0
- {pygitpub-0.0.52 → pygitpub-0.0.53}/pygitpub.egg-info/dependency_links.txt +0 -0
- {pygitpub-0.0.52 → pygitpub-0.0.53}/pygitpub.egg-info/entry_points.txt +0 -0
- {pygitpub-0.0.52 → pygitpub-0.0.53}/pygitpub.egg-info/top_level.txt +0 -0
- {pygitpub-0.0.52 → pygitpub-0.0.53}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pygitpub
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.53
|
|
4
4
|
Summary: Pygitpub will help you work with github
|
|
5
5
|
Home-page: https://veltzer.github.io/pygitpub
|
|
6
6
|
Download-URL: https://github.com/veltzer/pygitpub
|
|
@@ -25,6 +25,7 @@ License-File: LICENSE
|
|
|
25
25
|
Requires-Dist: pytconf
|
|
26
26
|
Requires-Dist: pylogconf
|
|
27
27
|
Requires-Dist: PyGithub
|
|
28
|
+
Requires-Dist: pyapikey
|
|
28
29
|
|
|
29
30
|
==========
|
|
30
31
|
*pygitpub*
|
|
@@ -40,6 +41,6 @@ project website: https://veltzer.github.io/pygitpub
|
|
|
40
41
|
|
|
41
42
|
author: Mark Veltzer
|
|
42
43
|
|
|
43
|
-
version: 0.0.
|
|
44
|
+
version: 0.0.53
|
|
44
45
|
|
|
45
46
|
Mark Veltzer <mark.veltzer@gmail.com>, Copyright © 2022, 2023, 2024
|
|
@@ -11,11 +11,8 @@ class ConfigGithub(Config):
|
|
|
11
11
|
username = ParamCreator.create_str(
|
|
12
12
|
help_string="What is your github username?",
|
|
13
13
|
)
|
|
14
|
-
|
|
15
|
-
help_string="What is your
|
|
16
|
-
)
|
|
17
|
-
token_name = ParamCreator.create_str(
|
|
18
|
-
help_string="What is the name of the token on github?",
|
|
14
|
+
apikey = ParamCreator.create_str(
|
|
15
|
+
help_string="What is the name of your apikey (see pyapikey)?",
|
|
19
16
|
)
|
|
20
17
|
|
|
21
18
|
|
|
@@ -11,6 +11,7 @@ import pylogconf.core
|
|
|
11
11
|
from pytconf import register_main, config_arg_parse_and_launch, register_endpoint
|
|
12
12
|
|
|
13
13
|
import github
|
|
14
|
+
import pyapikey
|
|
14
15
|
from pygitpub.configs import ConfigGithub, ConfigOutput, ConfigAlgo
|
|
15
16
|
import pygitpub.static
|
|
16
17
|
from pygitpub.utils.misc import delete, get_all_git_repos
|
|
@@ -18,7 +19,8 @@ from pygitpub.utils.importlib import import_file
|
|
|
18
19
|
|
|
19
20
|
|
|
20
21
|
def yield_repos():
|
|
21
|
-
|
|
22
|
+
apikey = pyapikey.get_key(ConfigGithub.apikey)
|
|
23
|
+
g = github.Github(login_or_token=apikey)
|
|
22
24
|
for repo in g.get_user().get_repos():
|
|
23
25
|
reason = "no reason set"
|
|
24
26
|
skip = False
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pygitpub
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.53
|
|
4
4
|
Summary: Pygitpub will help you work with github
|
|
5
5
|
Home-page: https://veltzer.github.io/pygitpub
|
|
6
6
|
Download-URL: https://github.com/veltzer/pygitpub
|
|
@@ -25,6 +25,7 @@ License-File: LICENSE
|
|
|
25
25
|
Requires-Dist: pytconf
|
|
26
26
|
Requires-Dist: pylogconf
|
|
27
27
|
Requires-Dist: PyGithub
|
|
28
|
+
Requires-Dist: pyapikey
|
|
28
29
|
|
|
29
30
|
==========
|
|
30
31
|
*pygitpub*
|
|
@@ -40,6 +41,6 @@ project website: https://veltzer.github.io/pygitpub
|
|
|
40
41
|
|
|
41
42
|
author: Mark Veltzer
|
|
42
43
|
|
|
43
|
-
version: 0.0.
|
|
44
|
+
version: 0.0.53
|
|
44
45
|
|
|
45
46
|
Mark Veltzer <mark.veltzer@gmail.com>, Copyright © 2022, 2023, 2024
|
|
@@ -9,7 +9,7 @@ def get_readme():
|
|
|
9
9
|
setuptools.setup(
|
|
10
10
|
# the first three fields are a must according to the documentation
|
|
11
11
|
name="pygitpub",
|
|
12
|
-
version="0.0.
|
|
12
|
+
version="0.0.53",
|
|
13
13
|
packages=[
|
|
14
14
|
"pygitpub",
|
|
15
15
|
"pygitpub.utils",
|
|
@@ -36,6 +36,7 @@ setuptools.setup(
|
|
|
36
36
|
"pytconf",
|
|
37
37
|
"pylogconf",
|
|
38
38
|
"PyGithub",
|
|
39
|
+
"pyapikey",
|
|
39
40
|
],
|
|
40
41
|
classifiers=[
|
|
41
42
|
"Development Status :: 4 - Beta",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|