github-heatmap 1.2.3__tar.gz → 1.2.5__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.2.3 → github_heatmap-1.2.5}/PKG-INFO +1 -1
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/notion_loader.py +5 -4
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap.egg-info/PKG-INFO +1 -1
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/setup.py +1 -1
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/LICENSE +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/README.md +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/__init__.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/__main__.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/circluar_drawer.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/cli.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/config.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/drawer.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/err.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/html_parser/__init__.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/html_parser/github_parser.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/html_parser/gitlab_parser.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/html_parser/jike_parse.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/html_parser/kindle_parser.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/__init__.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/apple_health_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/base_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/bbdc_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/bilibili_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/chatgpt_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/cichang_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/config.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/covid_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/dota2_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/duolingo_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/forest_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/from_github_issue_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/garmin_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/github_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/gitlab_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/gpx_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/jike_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/json_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/kindle_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/leetcode_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/multiple_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/neodb_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/nrc_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/ns_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/openlanguage_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/shanbay_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/strava_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/summary_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/todoist_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/wakatime_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/weread_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/loader/youtube_loader.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/poster.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/skyline/__init__.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/skyline/config.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/skyline/font/__init__.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/skyline/skyline.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/structures.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap/utils.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap.egg-info/SOURCES.txt +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap.egg-info/dependency_links.txt +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap.egg-info/entry_points.txt +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap.egg-info/requires.txt +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/github_heatmap.egg-info/top_level.txt +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/pyproject.toml +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/setup.cfg +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/tests/__init__.py +0 -0
- {github_heatmap-1.2.3 → github_heatmap-1.2.5}/tests/test_poster_utils.py +0 -0
|
@@ -57,8 +57,8 @@ class NotionLoader(BaseLoader):
|
|
|
57
57
|
"--database_filter",
|
|
58
58
|
dest="database_filter",
|
|
59
59
|
type=str,
|
|
60
|
-
default="
|
|
61
|
-
required=
|
|
60
|
+
default="",
|
|
61
|
+
required=False,
|
|
62
62
|
help="The database property name which stored the datetime.",
|
|
63
63
|
)
|
|
64
64
|
|
|
@@ -78,6 +78,7 @@ class NotionLoader(BaseLoader):
|
|
|
78
78
|
]
|
|
79
79
|
},
|
|
80
80
|
}
|
|
81
|
+
print(self.database_filter)
|
|
81
82
|
if self.database_filter:
|
|
82
83
|
payload["filter"]["and"].append(json.loads(self.database_filter))
|
|
83
84
|
print(payload)
|
|
@@ -133,9 +134,9 @@ class NotionLoader(BaseLoader):
|
|
|
133
134
|
dt = date.get("start")
|
|
134
135
|
type = value.get("type")
|
|
135
136
|
if type == "formula" and value.get(type).get("type") == "number":
|
|
136
|
-
value =
|
|
137
|
+
value = float(value.get(type).get("number"))
|
|
137
138
|
elif type == "rollup" and value.get(type).get("type") == "number":
|
|
138
|
-
value =
|
|
139
|
+
value = float(value.get(type).get("number"))
|
|
139
140
|
else:
|
|
140
141
|
value = value.get(type)
|
|
141
142
|
date_str = pendulum.parse(dt).to_date_string()
|
|
@@ -6,7 +6,7 @@ setup(
|
|
|
6
6
|
author_email="linkang.ma@gmail.com",
|
|
7
7
|
url="https://github.com/malinkang/GitHubPoster",
|
|
8
8
|
license="MIT",
|
|
9
|
-
version="1.2.
|
|
9
|
+
version="1.2.5",
|
|
10
10
|
description="Make everything a GitHub svg poster and Skyline!",
|
|
11
11
|
packages=find_packages(),
|
|
12
12
|
include_package_data=True,
|
|
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.2.3 → github_heatmap-1.2.5}/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
|
|
File without changes
|