notionhelper 0.2.2__tar.gz → 0.2.3__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 (25) hide show
  1. {notionhelper-0.2.2 → notionhelper-0.2.3}/PKG-INFO +1 -1
  2. {notionhelper-0.2.2 → notionhelper-0.2.3}/pyproject.toml +1 -1
  3. {notionhelper-0.2.2 → notionhelper-0.2.3}/src/notionhelper/helper.py +5 -5
  4. {notionhelper-0.2.2 → notionhelper-0.2.3}/.claude/settings.local.json +0 -0
  5. {notionhelper-0.2.2 → notionhelper-0.2.3}/.coverage +0 -0
  6. {notionhelper-0.2.2 → notionhelper-0.2.3}/.github/workflows/claude-code-review.yml +0 -0
  7. {notionhelper-0.2.2 → notionhelper-0.2.3}/.github/workflows/claude.yml +0 -0
  8. {notionhelper-0.2.2 → notionhelper-0.2.3}/.gitignore +0 -0
  9. {notionhelper-0.2.2 → notionhelper-0.2.3}/.python-version +0 -0
  10. {notionhelper-0.2.2 → notionhelper-0.2.3}/README.md +0 -0
  11. {notionhelper-0.2.2 → notionhelper-0.2.3}/images/helper_logo.png +0 -0
  12. {notionhelper-0.2.2 → notionhelper-0.2.3}/images/json_builder.png.png +0 -0
  13. {notionhelper-0.2.2 → notionhelper-0.2.3}/images/logo.png +0 -0
  14. {notionhelper-0.2.2 → notionhelper-0.2.3}/images/pillio.png +0 -0
  15. {notionhelper-0.2.2 → notionhelper-0.2.3}/images/pillio2.png +0 -0
  16. {notionhelper-0.2.2 → notionhelper-0.2.3}/notion_api_examples.md +0 -0
  17. {notionhelper-0.2.2 → notionhelper-0.2.3}/notionapi_md_info.md +0 -0
  18. {notionhelper-0.2.2 → notionhelper-0.2.3}/pytest.ini +0 -0
  19. {notionhelper-0.2.2 → notionhelper-0.2.3}/src/notionhelper/__init__.py +0 -0
  20. {notionhelper-0.2.2 → notionhelper-0.2.3}/src/notionhelper/helper1.8.py +0 -0
  21. {notionhelper-0.2.2 → notionhelper-0.2.3}/tests/README.md +0 -0
  22. {notionhelper-0.2.2 → notionhelper-0.2.3}/tests/__init__.py +0 -0
  23. {notionhelper-0.2.2 → notionhelper-0.2.3}/tests/conftest.py +0 -0
  24. {notionhelper-0.2.2 → notionhelper-0.2.3}/tests/test_helper.py +0 -0
  25. {notionhelper-0.2.2 → notionhelper-0.2.3}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: notionhelper
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: NotionHelper is a Python library that simplifies interactions with the Notion API, enabling easy management of databases, pages, and files within Notion workspaces.
5
5
  Author-email: Jan du Plessis <drjanduplessis@icloud.com>
6
6
  Requires-Python: >=3.10
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "notionhelper"
3
- version = "0.2.2"
3
+ version = "0.2.3"
4
4
  description = "NotionHelper is a Python library that simplifies interactions with the Notion API, enabling easy management of databases, pages, and files within Notion workspaces."
5
5
  readme = "README.md"
6
6
  authors = [
@@ -490,7 +490,7 @@ class NotionHelper:
490
490
  headers = {
491
491
  "Authorization": f"Bearer {self.notion_token}",
492
492
  "Content-Type": "application/json",
493
- "Notion-Version": "2022-06-28",
493
+ "Notion-Version": "2025-09-03",
494
494
  }
495
495
  response = requests.post(create_upload_url, headers=headers, json={})
496
496
  response.raise_for_status()
@@ -501,7 +501,7 @@ class NotionHelper:
501
501
  with open(file_path, "rb") as f:
502
502
  upload_headers = {
503
503
  "Authorization": f"Bearer {self.notion_token}",
504
- "Notion-Version": "2022-06-28",
504
+ "Notion-Version": "2025-09-03",
505
505
  }
506
506
  files = {'file': (os.path.basename(file_path), f, mimetypes.guess_type(file_path)[0] or 'application/octet-stream')}
507
507
  upload_response = requests.post(upload_url, headers=upload_headers, files=files)
@@ -519,7 +519,7 @@ class NotionHelper:
519
519
  headers = {
520
520
  "Authorization": f"Bearer {self.notion_token}",
521
521
  "Content-Type": "application/json",
522
- "Notion-Version": "2022-06-28",
522
+ "Notion-Version": "2025-09-03",
523
523
  }
524
524
  data = {
525
525
  "children": [
@@ -543,7 +543,7 @@ class NotionHelper:
543
543
  headers = {
544
544
  "Authorization": f"Bearer {self.notion_token}",
545
545
  "Content-Type": "application/json",
546
- "Notion-Version": "2022-06-28",
546
+ "Notion-Version": "2025-09-03",
547
547
  }
548
548
  data = {
549
549
  "children": [
@@ -569,7 +569,7 @@ class NotionHelper:
569
569
  headers = {
570
570
  "Authorization": f"Bearer {self.notion_token}",
571
571
  "Content-Type": "application/json",
572
- "Notion-Version": "2022-06-28",
572
+ "Notion-Version": "2025-09-03",
573
573
  }
574
574
  data = {
575
575
  "properties": {
File without changes
File without changes
File without changes
File without changes
File without changes