supermemory 3.1.0__tar.gz → 3.13.0__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 (143) hide show
  1. supermemory-3.13.0/.release-please-manifest.json +3 -0
  2. {supermemory-3.1.0 → supermemory-3.13.0}/CHANGELOG.md +170 -0
  3. {supermemory-3.1.0 → supermemory-3.13.0}/PKG-INFO +20 -19
  4. {supermemory-3.1.0 → supermemory-3.13.0}/README.md +16 -15
  5. {supermemory-3.1.0 → supermemory-3.13.0}/api.md +29 -2
  6. {supermemory-3.1.0 → supermemory-3.13.0}/pyproject.toml +18 -12
  7. {supermemory-3.1.0 → supermemory-3.13.0}/requirements-dev.lock +63 -51
  8. {supermemory-3.1.0 → supermemory-3.13.0}/requirements.lock +21 -20
  9. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_base_client.py +8 -2
  10. supermemory-3.13.0/src/supermemory/_client.py +847 -0
  11. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_models.py +37 -15
  12. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_streaming.py +12 -12
  13. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_types.py +3 -2
  14. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_utils/_sync.py +3 -31
  15. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_utils/_utils.py +1 -1
  16. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_version.py +1 -1
  17. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/resources/connections.py +219 -29
  18. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/resources/documents.py +314 -76
  19. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/resources/memories.py +296 -93
  20. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/resources/search.py +28 -21
  21. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/resources/settings.py +16 -0
  22. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/__init__.py +19 -2
  23. supermemory-3.13.0/src/supermemory/types/add_response.py +13 -0
  24. supermemory-3.13.0/src/supermemory/types/client_add_params.py +36 -0
  25. supermemory-3.13.0/src/supermemory/types/client_profile_params.py +21 -0
  26. supermemory-3.13.0/src/supermemory/types/connection_configure_params.py +12 -0
  27. supermemory-3.13.0/src/supermemory/types/connection_configure_response.py +17 -0
  28. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/connection_get_by_id_response.py +2 -3
  29. supermemory-3.1.0/src/supermemory/types/connection_get_by_tags_params.py → supermemory-3.13.0/src/supermemory/types/connection_get_by_tag_params.py +2 -2
  30. supermemory-3.1.0/src/supermemory/types/connection_get_by_tags_response.py → supermemory-3.13.0/src/supermemory/types/connection_get_by_tag_response.py +4 -5
  31. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/connection_list_response.py +2 -3
  32. supermemory-3.13.0/src/supermemory/types/connection_resources_params.py +13 -0
  33. supermemory-3.13.0/src/supermemory/types/connection_resources_response.py +13 -0
  34. supermemory-3.13.0/src/supermemory/types/document_add_params.py +36 -0
  35. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/document_add_response.py +2 -0
  36. supermemory-3.1.0/src/supermemory/types/memory_add_params.py → supermemory-3.13.0/src/supermemory/types/document_batch_add_params.py +32 -17
  37. supermemory-3.13.0/src/supermemory/types/document_batch_add_response.py +19 -0
  38. supermemory-3.13.0/src/supermemory/types/document_delete_bulk_params.py +18 -0
  39. supermemory-3.13.0/src/supermemory/types/document_delete_bulk_response.py +37 -0
  40. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/document_get_response.py +8 -6
  41. supermemory-3.13.0/src/supermemory/types/document_list_params.py +3839 -0
  42. supermemory-3.13.0/src/supermemory/types/document_list_processing_response.py +75 -0
  43. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/document_list_response.py +9 -5
  44. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/document_update_params.py +0 -14
  45. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/document_update_response.py +2 -0
  46. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/document_upload_file_params.py +17 -3
  47. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/document_upload_file_response.py +2 -0
  48. supermemory-3.13.0/src/supermemory/types/memory_add_params.py +36 -0
  49. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/memory_add_response.py +2 -0
  50. supermemory-3.13.0/src/supermemory/types/memory_forget_params.py +26 -0
  51. supermemory-3.13.0/src/supermemory/types/memory_forget_response.py +15 -0
  52. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/memory_get_response.py +8 -6
  53. supermemory-3.13.0/src/supermemory/types/memory_list_params.py +3839 -0
  54. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/memory_list_response.py +9 -5
  55. supermemory-3.13.0/src/supermemory/types/memory_update_memory_params.py +31 -0
  56. supermemory-3.13.0/src/supermemory/types/memory_update_memory_response.py +31 -0
  57. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/memory_update_params.py +0 -14
  58. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/memory_update_response.py +2 -0
  59. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/memory_upload_file_params.py +17 -3
  60. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/memory_upload_file_response.py +2 -0
  61. supermemory-3.13.0/src/supermemory/types/profile_response.py +37 -0
  62. supermemory-3.13.0/src/supermemory/types/search_documents_params.py +3880 -0
  63. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/search_documents_response.py +4 -3
  64. supermemory-3.13.0/src/supermemory/types/search_execute_params.py +3880 -0
  65. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/search_execute_response.py +4 -3
  66. supermemory-3.13.0/src/supermemory/types/search_memories_params.py +3876 -0
  67. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/search_memories_response.py +38 -11
  68. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/setting_get_response.py +8 -0
  69. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/setting_update_params.py +8 -0
  70. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/setting_update_response.py +8 -0
  71. supermemory-3.13.0/tests/api_resources/test_client.py +202 -0
  72. {supermemory-3.1.0 → supermemory-3.13.0}/tests/api_resources/test_connections.py +217 -19
  73. {supermemory-3.1.0 → supermemory-3.13.0}/tests/api_resources/test_documents.py +289 -34
  74. {supermemory-3.1.0 → supermemory-3.13.0}/tests/api_resources/test_memories.py +216 -40
  75. {supermemory-3.1.0 → supermemory-3.13.0}/tests/api_resources/test_search.py +64 -96
  76. {supermemory-3.1.0 → supermemory-3.13.0}/tests/api_resources/test_settings.py +8 -0
  77. {supermemory-3.1.0 → supermemory-3.13.0}/tests/test_client.py +212 -196
  78. {supermemory-3.1.0 → supermemory-3.13.0}/tests/test_models.py +4 -4
  79. supermemory-3.1.0/.release-please-manifest.json +0 -3
  80. supermemory-3.1.0/src/supermemory/_client.py +0 -435
  81. supermemory-3.1.0/src/supermemory/types/document_add_params.py +0 -69
  82. supermemory-3.1.0/src/supermemory/types/document_list_params.py +0 -111
  83. supermemory-3.1.0/src/supermemory/types/memory_list_params.py +0 -111
  84. supermemory-3.1.0/src/supermemory/types/search_documents_params.py +0 -155
  85. supermemory-3.1.0/src/supermemory/types/search_execute_params.py +0 -155
  86. supermemory-3.1.0/src/supermemory/types/search_memories_params.py +0 -135
  87. {supermemory-3.1.0 → supermemory-3.13.0}/.gitignore +0 -0
  88. {supermemory-3.1.0 → supermemory-3.13.0}/CONTRIBUTING.md +0 -0
  89. {supermemory-3.1.0 → supermemory-3.13.0}/LICENSE +0 -0
  90. {supermemory-3.1.0 → supermemory-3.13.0}/SECURITY.md +0 -0
  91. {supermemory-3.1.0 → supermemory-3.13.0}/bin/check-release-environment +0 -0
  92. {supermemory-3.1.0 → supermemory-3.13.0}/bin/publish-pypi +0 -0
  93. {supermemory-3.1.0 → supermemory-3.13.0}/examples/.keep +0 -0
  94. {supermemory-3.1.0 → supermemory-3.13.0}/noxfile.py +0 -0
  95. {supermemory-3.1.0 → supermemory-3.13.0}/release-please-config.json +0 -0
  96. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/__init__.py +0 -0
  97. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_compat.py +0 -0
  98. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_constants.py +0 -0
  99. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_exceptions.py +0 -0
  100. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_files.py +0 -0
  101. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_qs.py +0 -0
  102. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_resource.py +0 -0
  103. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_response.py +0 -0
  104. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_utils/__init__.py +0 -0
  105. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_utils/_compat.py +0 -0
  106. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_utils/_datetime_parse.py +0 -0
  107. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_utils/_logs.py +0 -0
  108. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_utils/_proxy.py +0 -0
  109. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_utils/_reflection.py +0 -0
  110. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_utils/_resources_proxy.py +0 -0
  111. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_utils/_streams.py +0 -0
  112. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_utils/_transform.py +0 -0
  113. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/_utils/_typing.py +0 -0
  114. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/lib/.keep +0 -0
  115. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/py.typed +0 -0
  116. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/resources/__init__.py +0 -0
  117. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/connection_create_params.py +0 -0
  118. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/connection_create_response.py +0 -0
  119. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/connection_delete_by_id_response.py +0 -0
  120. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/connection_delete_by_provider_params.py +0 -0
  121. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/connection_delete_by_provider_response.py +0 -0
  122. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/connection_import_params.py +0 -0
  123. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/connection_import_response.py +0 -0
  124. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/connection_list_documents_params.py +0 -0
  125. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/connection_list_documents_response.py +0 -0
  126. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory/types/connection_list_params.py +0 -0
  127. {supermemory-3.1.0 → supermemory-3.13.0}/src/supermemory_new/lib/.keep +0 -0
  128. {supermemory-3.1.0 → supermemory-3.13.0}/tests/__init__.py +0 -0
  129. {supermemory-3.1.0 → supermemory-3.13.0}/tests/api_resources/__init__.py +0 -0
  130. {supermemory-3.1.0 → supermemory-3.13.0}/tests/conftest.py +0 -0
  131. {supermemory-3.1.0 → supermemory-3.13.0}/tests/sample_file.txt +0 -0
  132. {supermemory-3.1.0 → supermemory-3.13.0}/tests/test_deepcopy.py +0 -0
  133. {supermemory-3.1.0 → supermemory-3.13.0}/tests/test_extract_files.py +0 -0
  134. {supermemory-3.1.0 → supermemory-3.13.0}/tests/test_files.py +0 -0
  135. {supermemory-3.1.0 → supermemory-3.13.0}/tests/test_qs.py +0 -0
  136. {supermemory-3.1.0 → supermemory-3.13.0}/tests/test_required_args.py +0 -0
  137. {supermemory-3.1.0 → supermemory-3.13.0}/tests/test_response.py +0 -0
  138. {supermemory-3.1.0 → supermemory-3.13.0}/tests/test_streaming.py +0 -0
  139. {supermemory-3.1.0 → supermemory-3.13.0}/tests/test_transform.py +0 -0
  140. {supermemory-3.1.0 → supermemory-3.13.0}/tests/test_utils/test_datetime_parse.py +0 -0
  141. {supermemory-3.1.0 → supermemory-3.13.0}/tests/test_utils/test_proxy.py +0 -0
  142. {supermemory-3.1.0 → supermemory-3.13.0}/tests/test_utils/test_typing.py +0 -0
  143. {supermemory-3.1.0 → supermemory-3.13.0}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "3.13.0"
3
+ }
@@ -1,5 +1,175 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.13.0 (2025-12-29)
4
+
5
+ Full Changelog: [v3.12.1...v3.13.0](https://github.com/supermemoryai/python-sdk/compare/v3.12.1...v3.13.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([94d92d9](https://github.com/supermemoryai/python-sdk/commit/94d92d978d3c7e53d0ad1e8704845a105733b95c))
10
+
11
+ ## 3.12.1 (2025-12-19)
12
+
13
+ Full Changelog: [v3.12.0...v3.12.1](https://github.com/supermemoryai/python-sdk/compare/v3.12.0...v3.12.1)
14
+
15
+ ### Chores
16
+
17
+ * **internal:** add `--fix` argument to lint script ([43c4206](https://github.com/supermemoryai/python-sdk/commit/43c42067ce474eacac435fd686ff8f6bb1d159d1))
18
+
19
+ ## 3.12.0 (2025-12-18)
20
+
21
+ Full Changelog: [v3.11.1...v3.12.0](https://github.com/supermemoryai/python-sdk/compare/v3.11.1...v3.12.0)
22
+
23
+ ### Features
24
+
25
+ * **api:** api update ([928291a](https://github.com/supermemoryai/python-sdk/commit/928291a1778a0abaecfa72f0d244af3aad03e8c1))
26
+
27
+ ## 3.11.1 (2025-12-18)
28
+
29
+ Full Changelog: [v3.11.0...v3.11.1](https://github.com/supermemoryai/python-sdk/compare/v3.11.0...v3.11.1)
30
+
31
+ ### Bug Fixes
32
+
33
+ * use async_to_httpx_files in patch method ([aa13c3d](https://github.com/supermemoryai/python-sdk/commit/aa13c3d8760b95b308fe785a9a022375c8021379))
34
+
35
+
36
+ ### Chores
37
+
38
+ * **internal:** add missing files argument to base client ([8c1dda0](https://github.com/supermemoryai/python-sdk/commit/8c1dda0fc98ab035e884fe78d3025ec69f04cc82))
39
+ * speedup initial import ([088bf48](https://github.com/supermemoryai/python-sdk/commit/088bf4882131b61f629bb6bc2a78c872263d5712))
40
+
41
+ ## 3.11.0 (2025-12-11)
42
+
43
+ Full Changelog: [v3.10.0...v3.11.0](https://github.com/supermemoryai/python-sdk/compare/v3.10.0...v3.11.0)
44
+
45
+ ### Features
46
+
47
+ * **api:** api update ([b4b239e](https://github.com/supermemoryai/python-sdk/commit/b4b239ef02d6c8018d761a2d660cd2182a10dde8))
48
+
49
+ ## 3.10.0 (2025-12-10)
50
+
51
+ Full Changelog: [v3.9.0...v3.10.0](https://github.com/supermemoryai/python-sdk/compare/v3.9.0...v3.10.0)
52
+
53
+ ### Features
54
+
55
+ * **api:** api update ([4b30459](https://github.com/supermemoryai/python-sdk/commit/4b3045968d0fccd106e87a1aa3f4c7c49a1475fe))
56
+ * **api:** api update ([8225250](https://github.com/supermemoryai/python-sdk/commit/822525089de88691c334f32b8ae3bf71096894e9))
57
+ * **api:** manual updates ([3691dfd](https://github.com/supermemoryai/python-sdk/commit/3691dfd45b9c8c15e8d318adc4b79e8c8ae9ed27))
58
+ * **api:** manual updates ([be8efa6](https://github.com/supermemoryai/python-sdk/commit/be8efa6ea1c7fdb58428741e7938540e266cbdc2))
59
+ * **api:** manual updates ([094162f](https://github.com/supermemoryai/python-sdk/commit/094162f52b3eba730f85176acfb5b5f34267449f))
60
+ * **api:** manual updates ([13a8b89](https://github.com/supermemoryai/python-sdk/commit/13a8b89e35e60356537d1c59c6721043e45d7577))
61
+ * **api:** manual updates ([acee529](https://github.com/supermemoryai/python-sdk/commit/acee529be2cdc01a6452cf3981575ece4905465a))
62
+ * **api:** manual updates ([ca75227](https://github.com/supermemoryai/python-sdk/commit/ca75227ff922f6d25d4a12e045066fe6545454af))
63
+
64
+ ## 3.9.0 (2025-12-09)
65
+
66
+ Full Changelog: [v3.8.0...v3.9.0](https://github.com/supermemoryai/python-sdk/compare/v3.8.0...v3.9.0)
67
+
68
+ ### Features
69
+
70
+ * **api:** api update ([3042cbf](https://github.com/supermemoryai/python-sdk/commit/3042cbfd221d52291480c6df1c1fca40eb97a61f))
71
+ * **api:** manual updates ([96b34d0](https://github.com/supermemoryai/python-sdk/commit/96b34d0a371e0d9c9866e1dbbfd70329d9400850))
72
+
73
+
74
+ ### Bug Fixes
75
+
76
+ * ensure streams are always closed ([a1403da](https://github.com/supermemoryai/python-sdk/commit/a1403da98836ac4215ee81f168ff044dcd83fc83))
77
+ * **types:** allow pyright to infer TypedDict types within SequenceNotStr ([4c1365d](https://github.com/supermemoryai/python-sdk/commit/4c1365d2bc02b2d81eb99ef93ac56f1f1b6aba3c))
78
+
79
+
80
+ ### Chores
81
+
82
+ * add missing docstrings ([bdb32bc](https://github.com/supermemoryai/python-sdk/commit/bdb32bc4a13ae9a73409f827082a1c5637dc9860))
83
+ * **deps:** mypy 1.18.1 has a regression, pin to 1.17 ([2fc3d2a](https://github.com/supermemoryai/python-sdk/commit/2fc3d2a92410192a31bb1c4a7b85094c2ea55f4a))
84
+ * **docs:** use environment variables for authentication in code snippets ([442b9fd](https://github.com/supermemoryai/python-sdk/commit/442b9fdc7e8b7b07dc82cc087ffbc6fbe60bd12f))
85
+ * update lockfile ([37b9f74](https://github.com/supermemoryai/python-sdk/commit/37b9f74097fdc2e3395714ccb72c0f470d162ac4))
86
+
87
+ ## 3.8.0 (2025-11-27)
88
+
89
+ Full Changelog: [v3.7.0...v3.8.0](https://github.com/supermemoryai/python-sdk/compare/v3.7.0...v3.8.0)
90
+
91
+ ### Features
92
+
93
+ * **api:** api update ([a6a18ce](https://github.com/supermemoryai/python-sdk/commit/a6a18ce48bb1f1f80f4cfe6a9c3b0c9ff4f9fbcb))
94
+
95
+ ## 3.7.0 (2025-11-26)
96
+
97
+ Full Changelog: [v3.6.0...v3.7.0](https://github.com/supermemoryai/python-sdk/compare/v3.6.0...v3.7.0)
98
+
99
+ ### Features
100
+
101
+ * **api:** manual updates ([ee2daac](https://github.com/supermemoryai/python-sdk/commit/ee2daac3a0c1a085971a71ef9605d1d4f6fdb3f7))
102
+ * **api:** manual updates ([89a6e6d](https://github.com/supermemoryai/python-sdk/commit/89a6e6d1220cd8fd2c38d1c54f412650913a9184))
103
+ * **api:** manual updates ([7f0b5aa](https://github.com/supermemoryai/python-sdk/commit/7f0b5aa308004d68b5620f6956068e0c7fbc20da))
104
+ * **api:** manual updates ([3f2f954](https://github.com/supermemoryai/python-sdk/commit/3f2f954a542c4f2e6fc7d6e204c7e44fe640ec7d))
105
+ * **api:** manual updates ([8680e72](https://github.com/supermemoryai/python-sdk/commit/8680e723f9bd9cdc930ed33914557dc60d5242c0))
106
+
107
+ ## 3.6.0 (2025-11-26)
108
+
109
+ Full Changelog: [v3.5.0...v3.6.0](https://github.com/supermemoryai/python-sdk/compare/v3.5.0...v3.6.0)
110
+
111
+ ### Features
112
+
113
+ * **api:** manual updates ([a46347c](https://github.com/supermemoryai/python-sdk/commit/a46347c8640b2442d0f8ffbe4c5f948a9c5edb1b))
114
+
115
+ ## 3.5.0 (2025-11-26)
116
+
117
+ Full Changelog: [v3.4.0...v3.5.0](https://github.com/supermemoryai/python-sdk/compare/v3.4.0...v3.5.0)
118
+
119
+ ### Features
120
+
121
+ * **api:** api update ([a7749c9](https://github.com/supermemoryai/python-sdk/commit/a7749c97703d995ed97ba1a5c09fef9e5804bea7))
122
+ * **api:** api update ([0972c10](https://github.com/supermemoryai/python-sdk/commit/0972c10cebf6bab936371dfa4c5ad87dad1f5496))
123
+ * **api:** api update ([e29337c](https://github.com/supermemoryai/python-sdk/commit/e29337c11f26831d69e6f830542e5db708760b62))
124
+ * **api:** api update ([a776c2c](https://github.com/supermemoryai/python-sdk/commit/a776c2cfcf82ee239c707b9065bd3313755388fa))
125
+ * **api:** api update ([4e6c8e6](https://github.com/supermemoryai/python-sdk/commit/4e6c8e61653c99c733f862cbb5e08478159d082b))
126
+ * **api:** manual updates ([c780b0f](https://github.com/supermemoryai/python-sdk/commit/c780b0fc9afb857dd55613d5b67cd7849b68973c))
127
+
128
+
129
+ ### Bug Fixes
130
+
131
+ * **client:** close streams without requiring full consumption ([1155c43](https://github.com/supermemoryai/python-sdk/commit/1155c4396baa8681dcb72f6b53f90c42052fac6f))
132
+ * compat with Python 3.14 ([d42dd9c](https://github.com/supermemoryai/python-sdk/commit/d42dd9c177546142c2d87484e1bb435401cfaac8))
133
+ * **compat:** update signatures of `model_dump` and `model_dump_json` for Pydantic v1 ([447f54f](https://github.com/supermemoryai/python-sdk/commit/447f54f0f7846283b4033275fe2042f6dff66a2c))
134
+
135
+
136
+ ### Chores
137
+
138
+ * add Python 3.14 classifier and testing ([8802bdd](https://github.com/supermemoryai/python-sdk/commit/8802bdd0529ef3759bf1b8547ce2405c8164d0e9))
139
+ * bump `httpx-aiohttp` version to 0.1.9 ([6ad4b61](https://github.com/supermemoryai/python-sdk/commit/6ad4b613df1d4177fabeaf0b67d984e195af8594))
140
+ * **internal/tests:** avoid race condition with implicit client cleanup ([7bad0fc](https://github.com/supermemoryai/python-sdk/commit/7bad0fc387de50f25bec0e3a7ecca2b732294460))
141
+ * **internal:** detect missing future annotations with ruff ([6085dd3](https://github.com/supermemoryai/python-sdk/commit/6085dd39d67398eec25d5b9bcc5371f4810622c8))
142
+ * **internal:** grammar fix (it's -> its) ([329768e](https://github.com/supermemoryai/python-sdk/commit/329768ed8cec31b2ef510409b9f67a3f800a286b))
143
+ * **package:** drop Python 3.8 support ([9feb588](https://github.com/supermemoryai/python-sdk/commit/9feb588a112036bd5de9041f775232f7c1384e3f))
144
+
145
+ ## 3.4.0 (2025-10-07)
146
+
147
+ Full Changelog: [v3.3.0...v3.4.0](https://github.com/supermemoryai/python-sdk/compare/v3.3.0...v3.4.0)
148
+
149
+ ### Features
150
+
151
+ * **api:** api update ([ad11246](https://github.com/supermemoryai/python-sdk/commit/ad112460d7aa5642895c4dec8b9c4e1993c01635))
152
+ * **api:** api update ([0a01f62](https://github.com/supermemoryai/python-sdk/commit/0a01f623aa5daf19192259bee921e65acd583244))
153
+ * **api:** api update ([91585de](https://github.com/supermemoryai/python-sdk/commit/91585de6396d6529c2d15b2b2c4db481e72f32d0))
154
+ * **api:** api update ([2a12ab8](https://github.com/supermemoryai/python-sdk/commit/2a12ab834b2748eb30a6bad5ea6ce6e53644334e))
155
+ * **api:** manual updates ([71bae29](https://github.com/supermemoryai/python-sdk/commit/71bae2938f3c523b3bb5f814e96937f067f454f5))
156
+
157
+ ## 3.3.0 (2025-09-21)
158
+
159
+ Full Changelog: [v3.2.0...v3.3.0](https://github.com/supermemoryai/python-sdk/compare/v3.2.0...v3.3.0)
160
+
161
+ ### Features
162
+
163
+ * **api:** api update ([fd86dc5](https://github.com/supermemoryai/python-sdk/commit/fd86dc5ee1a83000113c7dcc8ba678af94d825bd))
164
+
165
+ ## 3.2.0 (2025-09-21)
166
+
167
+ Full Changelog: [v3.1.0...v3.2.0](https://github.com/supermemoryai/python-sdk/compare/v3.1.0...v3.2.0)
168
+
169
+ ### Features
170
+
171
+ * **api:** api update ([82b35f0](https://github.com/supermemoryai/python-sdk/commit/82b35f0447a67d089304d57f41d1d1527f6da7fb))
172
+
3
173
  ## 3.1.0 (2025-09-20)
4
174
 
5
175
  Full Changelog: [v3.0.0-alpha.30...v3.1.0](https://github.com/supermemoryai/python-sdk/compare/v3.0.0-alpha.30...v3.1.0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: supermemory
3
- Version: 3.1.0
3
+ Version: 3.13.0
4
4
  Summary: The official Python library for the supermemory API
5
5
  Project-URL: Homepage, https://github.com/supermemoryai/python-sdk
6
6
  Project-URL: Repository, https://github.com/supermemoryai/python-sdk
@@ -13,15 +13,15 @@ Classifier: Operating System :: Microsoft :: Windows
13
13
  Classifier: Operating System :: OS Independent
14
14
  Classifier: Operating System :: POSIX
15
15
  Classifier: Operating System :: POSIX :: Linux
16
- Classifier: Programming Language :: Python :: 3.8
17
16
  Classifier: Programming Language :: Python :: 3.9
18
17
  Classifier: Programming Language :: Python :: 3.10
19
18
  Classifier: Programming Language :: Python :: 3.11
20
19
  Classifier: Programming Language :: Python :: 3.12
21
20
  Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
22
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
23
  Classifier: Typing :: Typed
24
- Requires-Python: >=3.8
24
+ Requires-Python: >=3.9
25
25
  Requires-Dist: anyio<5,>=3.5.0
26
26
  Requires-Dist: distro<2,>=1.7.0
27
27
  Requires-Dist: httpx<1,>=0.23.0
@@ -30,7 +30,7 @@ Requires-Dist: sniffio
30
30
  Requires-Dist: typing-extensions<5,>=4.10
31
31
  Provides-Extra: aiohttp
32
32
  Requires-Dist: aiohttp; extra == 'aiohttp'
33
- Requires-Dist: httpx-aiohttp>=0.1.8; extra == 'aiohttp'
33
+ Requires-Dist: httpx-aiohttp>=0.1.9; extra == 'aiohttp'
34
34
  Description-Content-Type: text/markdown
35
35
 
36
36
  # Supermemory Python API library
@@ -38,7 +38,7 @@ Description-Content-Type: text/markdown
38
38
  <!-- prettier-ignore -->
39
39
  [![PyPI version](https://img.shields.io/pypi/v/supermemory.svg?label=pypi%20(stable))](https://pypi.org/project/supermemory/)
40
40
 
41
- The Supermemory Python library provides convenient access to the Supermemory REST API from any Python 3.8+
41
+ The Supermemory Python library provides convenient access to the Supermemory REST API from any Python 3.9+
42
42
  application. The library includes type definitions for all request params and response fields,
43
43
  and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
44
44
 
@@ -118,6 +118,7 @@ pip install supermemory[aiohttp]
118
118
  Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
119
119
 
120
120
  ```python
121
+ import os
121
122
  import asyncio
122
123
  from supermemory import DefaultAioHttpClient
123
124
  from supermemory import AsyncSupermemory
@@ -125,7 +126,7 @@ from supermemory import AsyncSupermemory
125
126
 
126
127
  async def main() -> None:
127
128
  async with AsyncSupermemory(
128
- api_key="My API Key",
129
+ api_key=os.environ.get("SUPERMEMORY_API_KEY"), # This is the default and can be omitted
129
130
  http_client=DefaultAioHttpClient(),
130
131
  ) as client:
131
132
  response = await client.search.documents(
@@ -195,8 +196,8 @@ from supermemory import Supermemory
195
196
  client = Supermemory()
196
197
 
197
198
  try:
198
- client.memories.add(
199
- content="This is a detailed article about machine learning concepts...",
199
+ client.add(
200
+ content="content",
200
201
  )
201
202
  except supermemory.APIConnectionError as e:
202
203
  print("The server could not be reached")
@@ -240,8 +241,8 @@ client = Supermemory(
240
241
  )
241
242
 
242
243
  # Or, configure per-request:
243
- client.with_options(max_retries=5).memories.add(
244
- content="This is a detailed article about machine learning concepts...",
244
+ client.with_options(max_retries=5).add(
245
+ content="content",
245
246
  )
246
247
  ```
247
248
 
@@ -265,8 +266,8 @@ client = Supermemory(
265
266
  )
266
267
 
267
268
  # Override per-request:
268
- client.with_options(timeout=5.0).memories.add(
269
- content="This is a detailed article about machine learning concepts...",
269
+ client.with_options(timeout=5.0).add(
270
+ content="content",
270
271
  )
271
272
  ```
272
273
 
@@ -308,13 +309,13 @@ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to
308
309
  from supermemory import Supermemory
309
310
 
310
311
  client = Supermemory()
311
- response = client.memories.with_raw_response.add(
312
- content="This is a detailed article about machine learning concepts...",
312
+ response = client.with_raw_response.add(
313
+ content="content",
313
314
  )
314
315
  print(response.headers.get('X-My-Header'))
315
316
 
316
- memory = response.parse() # get the object that `memories.add()` would have returned
317
- print(memory.id)
317
+ client = response.parse() # get the object that `add()` would have returned
318
+ print(client.id)
318
319
  ```
319
320
 
320
321
  These methods return an [`APIResponse`](https://github.com/supermemoryai/python-sdk/tree/main/src/supermemory/_response.py) object.
@@ -328,8 +329,8 @@ The above interface eagerly reads the full response body when you make the reque
328
329
  To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
329
330
 
330
331
  ```python
331
- with client.memories.with_streaming_response.add(
332
- content="This is a detailed article about machine learning concepts...",
332
+ with client.with_streaming_response.add(
333
+ content="content",
333
334
  ) as response:
334
335
  print(response.headers.get("X-My-Header"))
335
336
 
@@ -440,7 +441,7 @@ print(supermemory.__version__)
440
441
 
441
442
  ## Requirements
442
443
 
443
- Python 3.8 or higher.
444
+ Python 3.9 or higher.
444
445
 
445
446
  ## Contributing
446
447
 
@@ -3,7 +3,7 @@
3
3
  <!-- prettier-ignore -->
4
4
  [![PyPI version](https://img.shields.io/pypi/v/supermemory.svg?label=pypi%20(stable))](https://pypi.org/project/supermemory/)
5
5
 
6
- The Supermemory Python library provides convenient access to the Supermemory REST API from any Python 3.8+
6
+ The Supermemory Python library provides convenient access to the Supermemory REST API from any Python 3.9+
7
7
  application. The library includes type definitions for all request params and response fields,
8
8
  and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
9
9
 
@@ -83,6 +83,7 @@ pip install supermemory[aiohttp]
83
83
  Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
84
84
 
85
85
  ```python
86
+ import os
86
87
  import asyncio
87
88
  from supermemory import DefaultAioHttpClient
88
89
  from supermemory import AsyncSupermemory
@@ -90,7 +91,7 @@ from supermemory import AsyncSupermemory
90
91
 
91
92
  async def main() -> None:
92
93
  async with AsyncSupermemory(
93
- api_key="My API Key",
94
+ api_key=os.environ.get("SUPERMEMORY_API_KEY"), # This is the default and can be omitted
94
95
  http_client=DefaultAioHttpClient(),
95
96
  ) as client:
96
97
  response = await client.search.documents(
@@ -160,8 +161,8 @@ from supermemory import Supermemory
160
161
  client = Supermemory()
161
162
 
162
163
  try:
163
- client.memories.add(
164
- content="This is a detailed article about machine learning concepts...",
164
+ client.add(
165
+ content="content",
165
166
  )
166
167
  except supermemory.APIConnectionError as e:
167
168
  print("The server could not be reached")
@@ -205,8 +206,8 @@ client = Supermemory(
205
206
  )
206
207
 
207
208
  # Or, configure per-request:
208
- client.with_options(max_retries=5).memories.add(
209
- content="This is a detailed article about machine learning concepts...",
209
+ client.with_options(max_retries=5).add(
210
+ content="content",
210
211
  )
211
212
  ```
212
213
 
@@ -230,8 +231,8 @@ client = Supermemory(
230
231
  )
231
232
 
232
233
  # Override per-request:
233
- client.with_options(timeout=5.0).memories.add(
234
- content="This is a detailed article about machine learning concepts...",
234
+ client.with_options(timeout=5.0).add(
235
+ content="content",
235
236
  )
236
237
  ```
237
238
 
@@ -273,13 +274,13 @@ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to
273
274
  from supermemory import Supermemory
274
275
 
275
276
  client = Supermemory()
276
- response = client.memories.with_raw_response.add(
277
- content="This is a detailed article about machine learning concepts...",
277
+ response = client.with_raw_response.add(
278
+ content="content",
278
279
  )
279
280
  print(response.headers.get('X-My-Header'))
280
281
 
281
- memory = response.parse() # get the object that `memories.add()` would have returned
282
- print(memory.id)
282
+ client = response.parse() # get the object that `add()` would have returned
283
+ print(client.id)
283
284
  ```
284
285
 
285
286
  These methods return an [`APIResponse`](https://github.com/supermemoryai/python-sdk/tree/main/src/supermemory/_response.py) object.
@@ -293,8 +294,8 @@ The above interface eagerly reads the full response body when you make the reque
293
294
  To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
294
295
 
295
296
  ```python
296
- with client.memories.with_streaming_response.add(
297
- content="This is a detailed article about machine learning concepts...",
297
+ with client.with_streaming_response.add(
298
+ content="content",
298
299
  ) as response:
299
300
  print(response.headers.get("X-My-Header"))
300
301
 
@@ -405,7 +406,7 @@ print(supermemory.__version__)
405
406
 
406
407
  ## Requirements
407
408
 
408
- Python 3.8 or higher.
409
+ Python 3.9 or higher.
409
410
 
410
411
  ## Contributing
411
412
 
@@ -1,3 +1,16 @@
1
+ # Supermemory
2
+
3
+ Types:
4
+
5
+ ```python
6
+ from supermemory.types import AddResponse, ProfileResponse
7
+ ```
8
+
9
+ Methods:
10
+
11
+ - <code title="post /v3/documents">client.<a href="./src/supermemory/_client.py">add</a>(\*\*<a href="src/supermemory/types/client_add_params.py">params</a>) -> <a href="./src/supermemory/types/add_response.py">AddResponse</a></code>
12
+ - <code title="post /v4/profile">client.<a href="./src/supermemory/_client.py">profile</a>(\*\*<a href="src/supermemory/types/client_profile_params.py">params</a>) -> <a href="./src/supermemory/types/profile_response.py">ProfileResponse</a></code>
13
+
1
14
  # Memories
2
15
 
3
16
  Types:
@@ -7,7 +20,9 @@ from supermemory.types import (
7
20
  MemoryUpdateResponse,
8
21
  MemoryListResponse,
9
22
  MemoryAddResponse,
23
+ MemoryForgetResponse,
10
24
  MemoryGetResponse,
25
+ MemoryUpdateMemoryResponse,
11
26
  MemoryUploadFileResponse,
12
27
  )
13
28
  ```
@@ -18,7 +33,9 @@ Methods:
18
33
  - <code title="post /v3/documents/list">client.memories.<a href="./src/supermemory/resources/memories.py">list</a>(\*\*<a href="src/supermemory/types/memory_list_params.py">params</a>) -> <a href="./src/supermemory/types/memory_list_response.py">MemoryListResponse</a></code>
19
34
  - <code title="delete /v3/documents/{id}">client.memories.<a href="./src/supermemory/resources/memories.py">delete</a>(id) -> None</code>
20
35
  - <code title="post /v3/documents">client.memories.<a href="./src/supermemory/resources/memories.py">add</a>(\*\*<a href="src/supermemory/types/memory_add_params.py">params</a>) -> <a href="./src/supermemory/types/memory_add_response.py">MemoryAddResponse</a></code>
36
+ - <code title="delete /v4/memories">client.memories.<a href="./src/supermemory/resources/memories.py">forget</a>(\*\*<a href="src/supermemory/types/memory_forget_params.py">params</a>) -> <a href="./src/supermemory/types/memory_forget_response.py">MemoryForgetResponse</a></code>
21
37
  - <code title="get /v3/documents/{id}">client.memories.<a href="./src/supermemory/resources/memories.py">get</a>(id) -> <a href="./src/supermemory/types/memory_get_response.py">MemoryGetResponse</a></code>
38
+ - <code title="patch /v4/memories">client.memories.<a href="./src/supermemory/resources/memories.py">update_memory</a>(\*\*<a href="src/supermemory/types/memory_update_memory_params.py">params</a>) -> <a href="./src/supermemory/types/memory_update_memory_response.py">MemoryUpdateMemoryResponse</a></code>
22
39
  - <code title="post /v3/documents/file">client.memories.<a href="./src/supermemory/resources/memories.py">upload_file</a>(\*\*<a href="src/supermemory/types/memory_upload_file_params.py">params</a>) -> <a href="./src/supermemory/types/memory_upload_file_response.py">MemoryUploadFileResponse</a></code>
23
40
 
24
41
  # Documents
@@ -30,7 +47,10 @@ from supermemory.types import (
30
47
  DocumentUpdateResponse,
31
48
  DocumentListResponse,
32
49
  DocumentAddResponse,
50
+ DocumentBatchAddResponse,
51
+ DocumentDeleteBulkResponse,
33
52
  DocumentGetResponse,
53
+ DocumentListProcessingResponse,
34
54
  DocumentUploadFileResponse,
35
55
  )
36
56
  ```
@@ -41,7 +61,10 @@ Methods:
41
61
  - <code title="post /v3/documents/list">client.documents.<a href="./src/supermemory/resources/documents.py">list</a>(\*\*<a href="src/supermemory/types/document_list_params.py">params</a>) -> <a href="./src/supermemory/types/document_list_response.py">DocumentListResponse</a></code>
42
62
  - <code title="delete /v3/documents/{id}">client.documents.<a href="./src/supermemory/resources/documents.py">delete</a>(id) -> None</code>
43
63
  - <code title="post /v3/documents">client.documents.<a href="./src/supermemory/resources/documents.py">add</a>(\*\*<a href="src/supermemory/types/document_add_params.py">params</a>) -> <a href="./src/supermemory/types/document_add_response.py">DocumentAddResponse</a></code>
64
+ - <code title="post /v3/documents/batch">client.documents.<a href="./src/supermemory/resources/documents.py">batch_add</a>(\*\*<a href="src/supermemory/types/document_batch_add_params.py">params</a>) -> <a href="./src/supermemory/types/document_batch_add_response.py">DocumentBatchAddResponse</a></code>
65
+ - <code title="delete /v3/documents/bulk">client.documents.<a href="./src/supermemory/resources/documents.py">delete_bulk</a>(\*\*<a href="src/supermemory/types/document_delete_bulk_params.py">params</a>) -> <a href="./src/supermemory/types/document_delete_bulk_response.py">DocumentDeleteBulkResponse</a></code>
44
66
  - <code title="get /v3/documents/{id}">client.documents.<a href="./src/supermemory/resources/documents.py">get</a>(id) -> <a href="./src/supermemory/types/document_get_response.py">DocumentGetResponse</a></code>
67
+ - <code title="get /v3/documents/processing">client.documents.<a href="./src/supermemory/resources/documents.py">list_processing</a>() -> <a href="./src/supermemory/types/document_list_processing_response.py">DocumentListProcessingResponse</a></code>
45
68
  - <code title="post /v3/documents/file">client.documents.<a href="./src/supermemory/resources/documents.py">upload_file</a>(\*\*<a href="src/supermemory/types/document_upload_file_params.py">params</a>) -> <a href="./src/supermemory/types/document_upload_file_response.py">DocumentUploadFileResponse</a></code>
46
69
 
47
70
  # Search
@@ -79,12 +102,14 @@ Types:
79
102
  from supermemory.types import (
80
103
  ConnectionCreateResponse,
81
104
  ConnectionListResponse,
105
+ ConnectionConfigureResponse,
82
106
  ConnectionDeleteByIDResponse,
83
107
  ConnectionDeleteByProviderResponse,
84
108
  ConnectionGetByIDResponse,
85
- ConnectionGetByTagsResponse,
109
+ ConnectionGetByTagResponse,
86
110
  ConnectionImportResponse,
87
111
  ConnectionListDocumentsResponse,
112
+ ConnectionResourcesResponse,
88
113
  )
89
114
  ```
90
115
 
@@ -92,9 +117,11 @@ Methods:
92
117
 
93
118
  - <code title="post /v3/connections/{provider}">client.connections.<a href="./src/supermemory/resources/connections.py">create</a>(provider, \*\*<a href="src/supermemory/types/connection_create_params.py">params</a>) -> <a href="./src/supermemory/types/connection_create_response.py">ConnectionCreateResponse</a></code>
94
119
  - <code title="post /v3/connections/list">client.connections.<a href="./src/supermemory/resources/connections.py">list</a>(\*\*<a href="src/supermemory/types/connection_list_params.py">params</a>) -> <a href="./src/supermemory/types/connection_list_response.py">ConnectionListResponse</a></code>
120
+ - <code title="post /v3/connections/{connectionId}/configure">client.connections.<a href="./src/supermemory/resources/connections.py">configure</a>(connection_id, \*\*<a href="src/supermemory/types/connection_configure_params.py">params</a>) -> <a href="./src/supermemory/types/connection_configure_response.py">ConnectionConfigureResponse</a></code>
95
121
  - <code title="delete /v3/connections/{connectionId}">client.connections.<a href="./src/supermemory/resources/connections.py">delete_by_id</a>(connection_id) -> <a href="./src/supermemory/types/connection_delete_by_id_response.py">ConnectionDeleteByIDResponse</a></code>
96
122
  - <code title="delete /v3/connections/{provider}">client.connections.<a href="./src/supermemory/resources/connections.py">delete_by_provider</a>(provider, \*\*<a href="src/supermemory/types/connection_delete_by_provider_params.py">params</a>) -> <a href="./src/supermemory/types/connection_delete_by_provider_response.py">ConnectionDeleteByProviderResponse</a></code>
97
123
  - <code title="get /v3/connections/{connectionId}">client.connections.<a href="./src/supermemory/resources/connections.py">get_by_id</a>(connection_id) -> <a href="./src/supermemory/types/connection_get_by_id_response.py">ConnectionGetByIDResponse</a></code>
98
- - <code title="post /v3/connections/{provider}/connection">client.connections.<a href="./src/supermemory/resources/connections.py">get_by_tags</a>(provider, \*\*<a href="src/supermemory/types/connection_get_by_tags_params.py">params</a>) -> <a href="./src/supermemory/types/connection_get_by_tags_response.py">ConnectionGetByTagsResponse</a></code>
124
+ - <code title="post /v3/connections/{provider}/connection">client.connections.<a href="./src/supermemory/resources/connections.py">get_by_tag</a>(provider, \*\*<a href="src/supermemory/types/connection_get_by_tag_params.py">params</a>) -> <a href="./src/supermemory/types/connection_get_by_tag_response.py">ConnectionGetByTagResponse</a></code>
99
125
  - <code title="post /v3/connections/{provider}/import">client.connections.<a href="./src/supermemory/resources/connections.py">import\_</a>(provider, \*\*<a href="src/supermemory/types/connection_import_params.py">params</a>) -> str</code>
100
126
  - <code title="post /v3/connections/{provider}/documents">client.connections.<a href="./src/supermemory/resources/connections.py">list_documents</a>(provider, \*\*<a href="src/supermemory/types/connection_list_documents_params.py">params</a>) -> <a href="./src/supermemory/types/connection_list_documents_response.py">ConnectionListDocumentsResponse</a></code>
127
+ - <code title="get /v3/connections/{connectionId}/resources">client.connections.<a href="./src/supermemory/resources/connections.py">resources</a>(connection_id, \*\*<a href="src/supermemory/types/connection_resources_params.py">params</a>) -> <a href="./src/supermemory/types/connection_resources_response.py">ConnectionResourcesResponse</a></code>
@@ -1,30 +1,32 @@
1
1
  [project]
2
2
  name = "supermemory"
3
- version = "3.1.0"
3
+ version = "3.13.0"
4
4
  description = "The official Python library for the supermemory API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
7
7
  authors = [
8
8
  { name = "Supermemory", email = "dhravya@supermemory.com" },
9
9
  ]
10
+
10
11
  dependencies = [
11
- "httpx>=0.23.0, <1",
12
- "pydantic>=1.9.0, <3",
13
- "typing-extensions>=4.10, <5",
14
- "anyio>=3.5.0, <5",
15
- "distro>=1.7.0, <2",
16
- "sniffio",
12
+ "httpx>=0.23.0, <1",
13
+ "pydantic>=1.9.0, <3",
14
+ "typing-extensions>=4.10, <5",
15
+ "anyio>=3.5.0, <5",
16
+ "distro>=1.7.0, <2",
17
+ "sniffio",
17
18
  ]
18
- requires-python = ">= 3.8"
19
+
20
+ requires-python = ">= 3.9"
19
21
  classifiers = [
20
22
  "Typing :: Typed",
21
23
  "Intended Audience :: Developers",
22
- "Programming Language :: Python :: 3.8",
23
24
  "Programming Language :: Python :: 3.9",
24
25
  "Programming Language :: Python :: 3.10",
25
26
  "Programming Language :: Python :: 3.11",
26
27
  "Programming Language :: Python :: 3.12",
27
28
  "Programming Language :: Python :: 3.13",
29
+ "Programming Language :: Python :: 3.14",
28
30
  "Operating System :: OS Independent",
29
31
  "Operating System :: POSIX",
30
32
  "Operating System :: MacOS",
@@ -39,14 +41,14 @@ Homepage = "https://github.com/supermemoryai/python-sdk"
39
41
  Repository = "https://github.com/supermemoryai/python-sdk"
40
42
 
41
43
  [project.optional-dependencies]
42
- aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.8"]
44
+ aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"]
43
45
 
44
46
  [tool.rye]
45
47
  managed = true
46
48
  # version pins are in requirements-dev.lock
47
49
  dev-dependencies = [
48
50
  "pyright==1.1.399",
49
- "mypy",
51
+ "mypy==1.17",
50
52
  "respx",
51
53
  "pytest",
52
54
  "pytest-asyncio",
@@ -141,7 +143,7 @@ filterwarnings = [
141
143
  # there are a couple of flags that are still disabled by
142
144
  # default in strict mode as they are experimental and niche.
143
145
  typeCheckingMode = "strict"
144
- pythonVersion = "3.8"
146
+ pythonVersion = "3.9"
145
147
 
146
148
  exclude = [
147
149
  "_dev",
@@ -224,6 +226,8 @@ select = [
224
226
  "B",
225
227
  # remove unused imports
226
228
  "F401",
229
+ # check for missing future annotations
230
+ "FA102",
227
231
  # bare except statements
228
232
  "E722",
229
233
  # unused arguments
@@ -246,6 +250,8 @@ unfixable = [
246
250
  "T203",
247
251
  ]
248
252
 
253
+ extend-safe-fixes = ["FA102"]
254
+
249
255
  [tool.ruff.lint.flake8-tidy-imports.banned-api]
250
256
  "functools.lru_cache".msg = "This function does not retain type information for the wrapped function's arguments; The `lru_cache` function from `_utils` should be used instead"
251
257