github-heatmap 1.1.5__tar.gz → 1.1.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.
Files changed (67) hide show
  1. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/PKG-INFO +1 -1
  2. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/README.md +1 -3
  3. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/cli.py +0 -2
  4. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/notion_loader.py +2 -1
  5. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap.egg-info/PKG-INFO +2 -2
  6. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/setup.py +1 -1
  7. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/LICENSE +0 -0
  8. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/__init__.py +0 -0
  9. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/__main__.py +0 -0
  10. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/circluar_drawer.py +0 -0
  11. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/config.py +0 -0
  12. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/drawer.py +0 -0
  13. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/err.py +0 -0
  14. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/html_parser/__init__.py +0 -0
  15. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/html_parser/github_parser.py +0 -0
  16. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/html_parser/gitlab_parser.py +0 -0
  17. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/html_parser/jike_parse.py +0 -0
  18. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/html_parser/kindle_parser.py +0 -0
  19. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/__init__.py +0 -0
  20. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/apple_health_loader.py +0 -0
  21. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/base_loader.py +0 -0
  22. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/bbdc_loader.py +0 -0
  23. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/bilibili_loader.py +0 -0
  24. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/chatgpt_loader.py +0 -0
  25. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/cichang_loader.py +0 -0
  26. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/config.py +0 -0
  27. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/covid_loader.py +0 -0
  28. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/dota2_loader.py +0 -0
  29. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/duolingo_loader.py +0 -0
  30. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/forest_loader.py +0 -0
  31. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/from_github_issue_loader.py +0 -0
  32. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/garmin_loader.py +0 -0
  33. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/github_loader.py +0 -0
  34. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/gitlab_loader.py +0 -0
  35. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/gpx_loader.py +0 -0
  36. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/jike_loader.py +0 -0
  37. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/json_loader.py +0 -0
  38. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/kindle_loader.py +0 -0
  39. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/leetcode_loader.py +0 -0
  40. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/multiple_loader.py +0 -0
  41. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/neodb_loader.py +0 -0
  42. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/nrc_loader.py +0 -0
  43. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/ns_loader.py +0 -0
  44. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/openlanguage_loader.py +0 -0
  45. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/shanbay_loader.py +0 -0
  46. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/strava_loader.py +0 -0
  47. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/summary_loader.py +0 -0
  48. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/todoist_loader.py +0 -0
  49. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/wakatime_loader.py +0 -0
  50. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/weread_loader.py +0 -0
  51. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/loader/youtube_loader.py +0 -0
  52. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/poster.py +0 -0
  53. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/skyline/__init__.py +0 -0
  54. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/skyline/config.py +0 -0
  55. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/skyline/font/__init__.py +0 -0
  56. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/skyline/skyline.py +0 -0
  57. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/structures.py +0 -0
  58. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap/utils.py +0 -0
  59. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap.egg-info/SOURCES.txt +0 -0
  60. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap.egg-info/dependency_links.txt +0 -0
  61. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap.egg-info/entry_points.txt +0 -0
  62. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap.egg-info/requires.txt +0 -0
  63. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/github_heatmap.egg-info/top_level.txt +0 -0
  64. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/pyproject.toml +0 -0
  65. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/setup.cfg +0 -0
  66. {github_heatmap-1.1.5 → github_heatmap-1.1.6}/tests/__init__.py +0 -0
  67. {github_heatmap-1.1.5 → github_heatmap-1.1.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.1.5
3
+ Version: 1.1.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
@@ -738,6 +738,4 @@ python3 -m github_heatmap neodb --neodb_token <token> --mark_type <complete, wis
738
738
 
739
739
  谢谢就够了
740
740
 
741
- Just enjoy it
742
-
743
- python3 -m github_heatmap notion --notion_token "secret_xvMkQzLkCRtZL478L8MhvLdIDOxicjjSUm9U9voAwbb" --database_id "cf6359306f94456da01908af73191a61" --date_prop_name "时间" --value_prop_name "金币" --unit "金币" --year 2024 --me "哈哈哈" --without-type-name --with-animation --background-color=#FFFFFF --track-color=#f44336 --special-color1=#ffd966 --special-color2=#549F57 --dom-color=#EBEDF0 --text-color=#000000
741
+ Just enjoy it
@@ -142,8 +142,6 @@ def run():
142
142
  + poster_length
143
143
  * (YEAR_FONT_SIZE + MONTH_FONT_SIZE+DOM_BOX_PADING*3 + (DOM_BOX_PADING + DOM_BOX_TUPLE[0]) * 7)
144
144
  )
145
- print(f"高度 = {p.height}")
146
- print(f"宽度 = {p.width}")
147
145
  if not os.path.exists(OUT_FOLDER):
148
146
  os.mkdir(OUT_FOLDER)
149
147
  # support different issues, maybe better way
@@ -96,7 +96,8 @@ class NotionLoader(BaseLoader):
96
96
  type = value.get("type")
97
97
  if(type == "formula" and value.get(type).get("type") == "number"):
98
98
  value = int(value.get(type).get("number"))
99
-
99
+ elif(type== "rollup" and value.get(type).get("type") == "number"):
100
+ value = int(value.get(type).get("number"))
100
101
  date_str = pendulum.parse(dt).to_date_string()
101
102
  self.number_by_date_dict[date_str] = self.number_by_date_dict.get(date_str,0) + value
102
103
  for _, v in self.number_by_date_dict.items():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
- Name: github-heatmap
3
- Version: 1.1.5
2
+ Name: github_heatmap
3
+ Version: 1.1.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
@@ -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.1.5",
9
+ version="1.1.6",
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