github-heatmap 1.3.4__tar.gz → 1.3.6__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.
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/PKG-INFO +2 -2
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/weread_loader.py +4 -6
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap.egg-info/PKG-INFO +2 -2
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap.egg-info/requires.txt +1 -1
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/setup.py +2 -2
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/LICENSE +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/README.md +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/__init__.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/__main__.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/circluar_drawer.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/cli.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/config.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/drawer.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/err.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/html_parser/__init__.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/html_parser/github_parser.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/html_parser/gitlab_parser.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/html_parser/jike_parse.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/html_parser/kindle_parser.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/__init__.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/apple_health_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/base_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/bbdc_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/bilibili_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/chatgpt_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/cichang_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/config.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/covid_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/dota2_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/duolingo_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/forest_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/from_github_issue_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/garmin_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/github_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/gitlab_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/gpx_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/jike_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/json_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/kindle_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/leetcode_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/multiple_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/neodb_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/notion_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/nrc_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/ns_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/openlanguage_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/shanbay_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/strava_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/summary_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/todoist_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/wakatime_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/youtube_loader.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/poster.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/skyline/__init__.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/skyline/config.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/skyline/font/__init__.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/skyline/skyline.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/structures.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/utils.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap.egg-info/SOURCES.txt +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap.egg-info/dependency_links.txt +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap.egg-info/entry_points.txt +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap.egg-info/top_level.txt +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/pyproject.toml +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/setup.cfg +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/tests/__init__.py +0 -0
- {github_heatmap-1.3.4 → github_heatmap-1.3.6}/tests/test_poster_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: github_heatmap
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.6
|
|
4
4
|
Summary: Make everything a GitHub svg poster and Skyline!
|
|
5
5
|
Home-page: https://github.com/malinkang/GitHubPoster
|
|
6
6
|
Author: malinkang
|
|
@@ -9,7 +9,7 @@ License: MIT
|
|
|
9
9
|
License-File: LICENSE
|
|
10
10
|
Requires-Dist: requests
|
|
11
11
|
Requires-Dist: svgwrite
|
|
12
|
-
Requires-Dist: pendulum==3.
|
|
12
|
+
Requires-Dist: pendulum==3.1.0
|
|
13
13
|
Requires-Dist: colour
|
|
14
14
|
Provides-Extra: garmin
|
|
15
15
|
Requires-Dist: garminconnect; extra == "garmin"
|
|
@@ -41,13 +41,10 @@ class WereadLoader(BaseLoader):
|
|
|
41
41
|
)
|
|
42
42
|
|
|
43
43
|
def refresh_token(self):
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
weread = self.weread_cookie
|
|
47
|
-
weread = json.loads(weread)
|
|
48
|
-
body = {"deviceId": weread.get("generatedDeviceId"), "refreshToken": weread.get("refreshToken"),"activationCode":os.getenv("CODE")}
|
|
44
|
+
github_repo_env = os.getenv('REPOSITORY')
|
|
45
|
+
body = {'url': f"https://github.com/{github_repo_env}","token":os.getenv("TOKEN")}
|
|
49
46
|
r = self.session.post(
|
|
50
|
-
"https://api.notionhub.app/refresh-weread-token", json=body
|
|
47
|
+
"https://api.notionhub.app/refresh-weread-token/v2", json=body
|
|
51
48
|
)
|
|
52
49
|
if r.ok:
|
|
53
50
|
response_data = r.json()
|
|
@@ -57,6 +54,7 @@ class WereadLoader(BaseLoader):
|
|
|
57
54
|
self.session.headers.update({"vid": str(vid), "accessToken": accessToken})
|
|
58
55
|
else:
|
|
59
56
|
print("Failed to refresh token")
|
|
57
|
+
|
|
60
58
|
|
|
61
59
|
def get_api_data(self):
|
|
62
60
|
r = self.session.get(WEREAD_HISTORY_URL)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: github_heatmap
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.6
|
|
4
4
|
Summary: Make everything a GitHub svg poster and Skyline!
|
|
5
5
|
Home-page: https://github.com/malinkang/GitHubPoster
|
|
6
6
|
Author: malinkang
|
|
@@ -9,7 +9,7 @@ License: MIT
|
|
|
9
9
|
License-File: LICENSE
|
|
10
10
|
Requires-Dist: requests
|
|
11
11
|
Requires-Dist: svgwrite
|
|
12
|
-
Requires-Dist: pendulum==3.
|
|
12
|
+
Requires-Dist: pendulum==3.1.0
|
|
13
13
|
Requires-Dist: colour
|
|
14
14
|
Provides-Extra: garmin
|
|
15
15
|
Requires-Dist: garminconnect; extra == "garmin"
|
|
@@ -6,14 +6,14 @@ setup(
|
|
|
6
6
|
author_email="linkang.ma@gmail.com",
|
|
7
7
|
url="https://github.com/malinkang/GitHubPoster",
|
|
8
8
|
license="MIT",
|
|
9
|
-
version="1.3.
|
|
9
|
+
version="1.3.6",
|
|
10
10
|
description="Make everything a GitHub svg poster and Skyline!",
|
|
11
11
|
packages=find_packages(),
|
|
12
12
|
include_package_data=True,
|
|
13
13
|
install_requires=[
|
|
14
14
|
"requests",
|
|
15
15
|
"svgwrite",
|
|
16
|
-
"pendulum==3.
|
|
16
|
+
"pendulum==3.1.0",
|
|
17
17
|
"colour",
|
|
18
18
|
],
|
|
19
19
|
extras_require={
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{github_heatmap-1.3.4 → github_heatmap-1.3.6}/github_heatmap/loader/from_github_issue_loader.py
RENAMED
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|