kaggle 1.8.0__tar.gz → 1.8.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 (214) hide show
  1. {kaggle-1.8.0 → kaggle-1.8.3}/CHANGELOG.md +17 -0
  2. {kaggle-1.8.0 → kaggle-1.8.3}/PKG-INFO +4 -3
  3. {kaggle-1.8.0 → kaggle-1.8.3}/pyproject.toml +7 -6
  4. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/__init__.py +1 -1
  5. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/api/kaggle_api_extended.py +24 -2
  6. {kaggle-1.8.0 → kaggle-1.8.3}/tools/GeneratePythonLibrary.sh +0 -1
  7. {kaggle-1.8.0 → kaggle-1.8.3}/tools/releases/cloudbuild.yaml +1 -1
  8. {kaggle-1.8.0 → kaggle-1.8.3}/tools/releases/requirements.txt +66 -36
  9. kaggle-1.8.0/MANIFEST.in +0 -1
  10. kaggle-1.8.0/requirements.in +0 -5
  11. kaggle-1.8.0/requirements.txt +0 -134
  12. kaggle-1.8.0/src/kagglesdk/LICENSE +0 -201
  13. kaggle-1.8.0/src/kagglesdk/__init__.py +0 -6
  14. kaggle-1.8.0/src/kagglesdk/admin/__init__.py +0 -0
  15. kaggle-1.8.0/src/kagglesdk/admin/services/__init__.py +0 -0
  16. kaggle-1.8.0/src/kagglesdk/admin/services/inbox_file_service.py +0 -22
  17. kaggle-1.8.0/src/kagglesdk/admin/types/__init__.py +0 -0
  18. kaggle-1.8.0/src/kagglesdk/admin/types/inbox_file_service.py +0 -74
  19. kaggle-1.8.0/src/kagglesdk/benchmarks/__init__.py +0 -0
  20. kaggle-1.8.0/src/kagglesdk/benchmarks/services/__init__.py +0 -0
  21. kaggle-1.8.0/src/kagglesdk/benchmarks/services/benchmarks_api_service.py +0 -19
  22. kaggle-1.8.0/src/kagglesdk/benchmarks/types/__init__.py +0 -0
  23. kaggle-1.8.0/src/kagglesdk/benchmarks/types/benchmark_types.py +0 -307
  24. kaggle-1.8.0/src/kagglesdk/benchmarks/types/benchmarks_api_service.py +0 -243
  25. kaggle-1.8.0/src/kagglesdk/blobs/__init__.py +0 -0
  26. kaggle-1.8.0/src/kagglesdk/blobs/services/__init__.py +0 -0
  27. kaggle-1.8.0/src/kagglesdk/blobs/services/blob_api_service.py +0 -25
  28. kaggle-1.8.0/src/kagglesdk/blobs/types/__init__.py +0 -0
  29. kaggle-1.8.0/src/kagglesdk/blobs/types/blob_api_service.py +0 -177
  30. kaggle-1.8.0/src/kagglesdk/common/__init__.py +0 -0
  31. kaggle-1.8.0/src/kagglesdk/common/services/__init__.py +0 -0
  32. kaggle-1.8.0/src/kagglesdk/common/services/operations_service.py +0 -46
  33. kaggle-1.8.0/src/kagglesdk/common/types/__init__.py +0 -0
  34. kaggle-1.8.0/src/kagglesdk/common/types/file_download.py +0 -102
  35. kaggle-1.8.0/src/kagglesdk/common/types/http_redirect.py +0 -105
  36. kaggle-1.8.0/src/kagglesdk/common/types/operations.py +0 -194
  37. kaggle-1.8.0/src/kagglesdk/common/types/operations_service.py +0 -48
  38. kaggle-1.8.0/src/kagglesdk/community/__init__.py +0 -0
  39. kaggle-1.8.0/src/kagglesdk/community/types/__init__.py +0 -0
  40. kaggle-1.8.0/src/kagglesdk/community/types/content_enums.py +0 -44
  41. kaggle-1.8.0/src/kagglesdk/community/types/organization.py +0 -410
  42. kaggle-1.8.0/src/kagglesdk/competitions/__init__.py +0 -0
  43. kaggle-1.8.0/src/kagglesdk/competitions/services/__init__.py +0 -0
  44. kaggle-1.8.0/src/kagglesdk/competitions/services/competition_api_service.py +0 -178
  45. kaggle-1.8.0/src/kagglesdk/competitions/types/__init__.py +0 -0
  46. kaggle-1.8.0/src/kagglesdk/competitions/types/competition.py +0 -14
  47. kaggle-1.8.0/src/kagglesdk/competitions/types/competition_api_service.py +0 -2393
  48. kaggle-1.8.0/src/kagglesdk/competitions/types/competition_enums.py +0 -53
  49. kaggle-1.8.0/src/kagglesdk/competitions/types/search_competitions.py +0 -28
  50. kaggle-1.8.0/src/kagglesdk/competitions/types/submission_status.py +0 -9
  51. kaggle-1.8.0/src/kagglesdk/datasets/__init__.py +0 -0
  52. kaggle-1.8.0/src/kagglesdk/datasets/databundles/__init__.py +0 -0
  53. kaggle-1.8.0/src/kagglesdk/datasets/databundles/types/__init__.py +0 -0
  54. kaggle-1.8.0/src/kagglesdk/datasets/databundles/types/databundle_api_types.py +0 -540
  55. kaggle-1.8.0/src/kagglesdk/datasets/services/__init__.py +0 -0
  56. kaggle-1.8.0/src/kagglesdk/datasets/services/dataset_api_service.py +0 -195
  57. kaggle-1.8.0/src/kagglesdk/datasets/types/__init__.py +0 -0
  58. kaggle-1.8.0/src/kagglesdk/datasets/types/dataset_api_service.py +0 -3047
  59. kaggle-1.8.0/src/kagglesdk/datasets/types/dataset_enums.py +0 -103
  60. kaggle-1.8.0/src/kagglesdk/datasets/types/dataset_service.py +0 -145
  61. kaggle-1.8.0/src/kagglesdk/datasets/types/dataset_types.py +0 -646
  62. kaggle-1.8.0/src/kagglesdk/datasets/types/search_datasets.py +0 -6
  63. kaggle-1.8.0/src/kagglesdk/discussions/__init__.py +0 -0
  64. kaggle-1.8.0/src/kagglesdk/discussions/types/__init__.py +0 -0
  65. kaggle-1.8.0/src/kagglesdk/discussions/types/search_discussions.py +0 -43
  66. kaggle-1.8.0/src/kagglesdk/discussions/types/writeup_enums.py +0 -11
  67. kaggle-1.8.0/src/kagglesdk/education/__init__.py +0 -0
  68. kaggle-1.8.0/src/kagglesdk/education/services/__init__.py +0 -0
  69. kaggle-1.8.0/src/kagglesdk/education/services/education_api_service.py +0 -19
  70. kaggle-1.8.0/src/kagglesdk/education/types/__init__.py +0 -0
  71. kaggle-1.8.0/src/kagglesdk/education/types/education_api_service.py +0 -248
  72. kaggle-1.8.0/src/kagglesdk/education/types/education_service.py +0 -139
  73. kaggle-1.8.0/src/kagglesdk/kaggle_client.py +0 -101
  74. kaggle-1.8.0/src/kagglesdk/kaggle_creds.py +0 -148
  75. kaggle-1.8.0/src/kagglesdk/kaggle_env.py +0 -104
  76. kaggle-1.8.0/src/kagglesdk/kaggle_http_client.py +0 -261
  77. kaggle-1.8.0/src/kagglesdk/kaggle_oauth.py +0 -200
  78. kaggle-1.8.0/src/kagglesdk/kaggle_object.py +0 -344
  79. kaggle-1.8.0/src/kagglesdk/kernels/__init__.py +0 -0
  80. kaggle-1.8.0/src/kagglesdk/kernels/services/__init__.py +0 -0
  81. kaggle-1.8.0/src/kagglesdk/kernels/services/kernels_api_service.py +0 -146
  82. kaggle-1.8.0/src/kagglesdk/kernels/types/__init__.py +0 -0
  83. kaggle-1.8.0/src/kagglesdk/kernels/types/kernels_api_service.py +0 -2451
  84. kaggle-1.8.0/src/kagglesdk/kernels/types/kernels_enums.py +0 -39
  85. kaggle-1.8.0/src/kagglesdk/kernels/types/search_kernels.py +0 -6
  86. kaggle-1.8.0/src/kagglesdk/licenses/__init__.py +0 -0
  87. kaggle-1.8.0/src/kagglesdk/licenses/types/__init__.py +0 -0
  88. kaggle-1.8.0/src/kagglesdk/licenses/types/licenses_types.py +0 -182
  89. kaggle-1.8.0/src/kagglesdk/models/__init__.py +0 -0
  90. kaggle-1.8.0/src/kagglesdk/models/services/__init__.py +0 -0
  91. kaggle-1.8.0/src/kagglesdk/models/services/model_api_service.py +0 -280
  92. kaggle-1.8.0/src/kagglesdk/models/services/model_service.py +0 -19
  93. kaggle-1.8.0/src/kagglesdk/models/types/__init__.py +0 -0
  94. kaggle-1.8.0/src/kagglesdk/models/types/model_api_service.py +0 -4069
  95. kaggle-1.8.0/src/kagglesdk/models/types/model_enums.py +0 -68
  96. kaggle-1.8.0/src/kagglesdk/models/types/model_service.py +0 -275
  97. kaggle-1.8.0/src/kagglesdk/models/types/model_types.py +0 -1338
  98. kaggle-1.8.0/src/kagglesdk/models/types/search_models.py +0 -8
  99. kaggle-1.8.0/src/kagglesdk/search/__init__.py +0 -0
  100. kaggle-1.8.0/src/kagglesdk/search/services/__init__.py +0 -0
  101. kaggle-1.8.0/src/kagglesdk/search/services/search_api_service.py +0 -19
  102. kaggle-1.8.0/src/kagglesdk/search/types/__init__.py +0 -0
  103. kaggle-1.8.0/src/kagglesdk/search/types/search_api_service.py +0 -2435
  104. kaggle-1.8.0/src/kagglesdk/search/types/search_content_shared.py +0 -50
  105. kaggle-1.8.0/src/kagglesdk/search/types/search_enums.py +0 -45
  106. kaggle-1.8.0/src/kagglesdk/search/types/search_service.py +0 -303
  107. kaggle-1.8.0/src/kagglesdk/security/__init__.py +0 -0
  108. kaggle-1.8.0/src/kagglesdk/security/services/__init__.py +0 -0
  109. kaggle-1.8.0/src/kagglesdk/security/services/iam_service.py +0 -31
  110. kaggle-1.8.0/src/kagglesdk/security/services/oauth_service.py +0 -58
  111. kaggle-1.8.0/src/kagglesdk/security/types/__init__.py +0 -0
  112. kaggle-1.8.0/src/kagglesdk/security/types/authentication.py +0 -171
  113. kaggle-1.8.0/src/kagglesdk/security/types/iam_service.py +0 -496
  114. kaggle-1.8.0/src/kagglesdk/security/types/oauth_service.py +0 -1181
  115. kaggle-1.8.0/src/kagglesdk/security/types/roles.py +0 -8
  116. kaggle-1.8.0/src/kagglesdk/security/types/security_types.py +0 -159
  117. kaggle-1.8.0/src/kagglesdk/test/__init__.py +0 -0
  118. kaggle-1.8.0/src/kagglesdk/test/test_client.py +0 -41
  119. kaggle-1.8.0/src/kagglesdk/users/__init__.py +0 -0
  120. kaggle-1.8.0/src/kagglesdk/users/services/__init__.py +0 -0
  121. kaggle-1.8.0/src/kagglesdk/users/services/account_service.py +0 -31
  122. kaggle-1.8.0/src/kagglesdk/users/services/group_api_service.py +0 -31
  123. kaggle-1.8.0/src/kagglesdk/users/types/__init__.py +0 -0
  124. kaggle-1.8.0/src/kagglesdk/users/types/account_service.py +0 -345
  125. kaggle-1.8.0/src/kagglesdk/users/types/group_api_service.py +0 -315
  126. kaggle-1.8.0/src/kagglesdk/users/types/group_types.py +0 -165
  127. kaggle-1.8.0/src/kagglesdk/users/types/groups_enum.py +0 -8
  128. kaggle-1.8.0/src/kagglesdk/users/types/progression_service.py +0 -9
  129. kaggle-1.8.0/src/kagglesdk/users/types/search_users.py +0 -23
  130. kaggle-1.8.0/src/kagglesdk/users/types/user_avatar.py +0 -226
  131. kaggle-1.8.0/src/kagglesdk/users/types/users_enums.py +0 -22
  132. {kaggle-1.8.0 → kaggle-1.8.3}/.gcloudignore +0 -0
  133. {kaggle-1.8.0 → kaggle-1.8.3}/.github/workflows/no-response.yaml +0 -0
  134. {kaggle-1.8.0 → kaggle-1.8.3}/.gitignore +0 -0
  135. {kaggle-1.8.0 → kaggle-1.8.3}/CONTRIBUTING.md +0 -0
  136. {kaggle-1.8.0 → kaggle-1.8.3}/GEMINI.md +0 -0
  137. {kaggle-1.8.0 → kaggle-1.8.3}/LICENSE.txt +0 -0
  138. {kaggle-1.8.0 → kaggle-1.8.3}/README.md +0 -0
  139. {kaggle-1.8.0 → kaggle-1.8.3}/SECURITY.md +0 -0
  140. {kaggle-1.8.0 → kaggle-1.8.3}/docs/ApiBlobType.md +0 -0
  141. {kaggle-1.8.0 → kaggle-1.8.3}/docs/Collaborator.md +0 -0
  142. {kaggle-1.8.0 → kaggle-1.8.3}/docs/CreateInboxFileRequest.md +0 -0
  143. {kaggle-1.8.0 → kaggle-1.8.3}/docs/DatasetColumn.md +0 -0
  144. {kaggle-1.8.0 → kaggle-1.8.3}/docs/DatasetNewRequest.md +0 -0
  145. {kaggle-1.8.0 → kaggle-1.8.3}/docs/DatasetNewVersionRequest.md +0 -0
  146. {kaggle-1.8.0 → kaggle-1.8.3}/docs/DatasetUpdateSettingsRequest.md +0 -0
  147. {kaggle-1.8.0 → kaggle-1.8.3}/docs/Error.md +0 -0
  148. {kaggle-1.8.0 → kaggle-1.8.3}/docs/KaggleApi.md +0 -0
  149. {kaggle-1.8.0 → kaggle-1.8.3}/docs/KernelPushRequest.md +0 -0
  150. {kaggle-1.8.0 → kaggle-1.8.3}/docs/License.md +0 -0
  151. {kaggle-1.8.0 → kaggle-1.8.3}/docs/ModelInstanceNewVersionRequest.md +0 -0
  152. {kaggle-1.8.0 → kaggle-1.8.3}/docs/ModelInstanceUpdateRequest.md +0 -0
  153. {kaggle-1.8.0 → kaggle-1.8.3}/docs/ModelNewInstanceRequest.md +0 -0
  154. {kaggle-1.8.0 → kaggle-1.8.3}/docs/ModelNewRequest.md +0 -0
  155. {kaggle-1.8.0 → kaggle-1.8.3}/docs/ModelUpdateRequest.md +0 -0
  156. {kaggle-1.8.0 → kaggle-1.8.3}/docs/README.md +0 -0
  157. {kaggle-1.8.0 → kaggle-1.8.3}/docs/Result.md +0 -0
  158. {kaggle-1.8.0 → kaggle-1.8.3}/docs/StartBlobUploadRequest.md +0 -0
  159. {kaggle-1.8.0 → kaggle-1.8.3}/docs/StartBlobUploadResponse.md +0 -0
  160. {kaggle-1.8.0 → kaggle-1.8.3}/docs/UploadFile.md +0 -0
  161. {kaggle-1.8.0 → kaggle-1.8.3}/docs/conf.py +0 -0
  162. {kaggle-1.8.0 → kaggle-1.8.3}/docs/datasets_metadata.md +0 -0
  163. {kaggle-1.8.0 → kaggle-1.8.3}/docs/index.rst +0 -0
  164. {kaggle-1.8.0 → kaggle-1.8.3}/docs/kernels_metadata.md +0 -0
  165. {kaggle-1.8.0 → kaggle-1.8.3}/docs/model_card.md +0 -0
  166. {kaggle-1.8.0 → kaggle-1.8.3}/docs/modelinstance_usage.md +0 -0
  167. {kaggle-1.8.0 → kaggle-1.8.3}/docs/models_metadata.md +0 -0
  168. {kaggle-1.8.0 → kaggle-1.8.3}/documentation/Makefile +0 -0
  169. {kaggle-1.8.0 → kaggle-1.8.3}/documentation/competitions.md +0 -0
  170. {kaggle-1.8.0 → kaggle-1.8.3}/documentation/conf.py +0 -0
  171. {kaggle-1.8.0 → kaggle-1.8.3}/documentation/configuration.md +0 -0
  172. {kaggle-1.8.0 → kaggle-1.8.3}/documentation/datasets.md +0 -0
  173. {kaggle-1.8.0 → kaggle-1.8.3}/documentation/index.rst +0 -0
  174. {kaggle-1.8.0 → kaggle-1.8.3}/documentation/intro.md +0 -0
  175. {kaggle-1.8.0 → kaggle-1.8.3}/documentation/kernels.md +0 -0
  176. {kaggle-1.8.0 → kaggle-1.8.3}/documentation/make.bat +0 -0
  177. {kaggle-1.8.0 → kaggle-1.8.3}/documentation/model_instances.md +0 -0
  178. {kaggle-1.8.0 → kaggle-1.8.3}/documentation/model_instances_versions.md +0 -0
  179. {kaggle-1.8.0 → kaggle-1.8.3}/documentation/models.md +0 -0
  180. {kaggle-1.8.0 → kaggle-1.8.3}/documentation/tutorials.md +0 -0
  181. {kaggle-1.8.0 → kaggle-1.8.3}/integration_tests/test_models.py +0 -0
  182. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/LICENSE +0 -0
  183. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/api/__init__.py +0 -0
  184. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/api/kaggle_api.py +0 -0
  185. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/cli.py +0 -0
  186. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/__init__.py +0 -0
  187. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/api_blob_type.py +0 -0
  188. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/dataset_column.py +0 -0
  189. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/dataset_new_request.py +0 -0
  190. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/dataset_new_version_request.py +0 -0
  191. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/dataset_update_settings_request.py +0 -0
  192. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/kaggle_models_extended.py +0 -0
  193. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/kernel_push_request.py +0 -0
  194. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/model_instance_new_version_request.py +0 -0
  195. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/model_instance_update_request.py +0 -0
  196. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/model_new_instance_request.py +0 -0
  197. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/model_new_request.py +0 -0
  198. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/model_update_request.py +0 -0
  199. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/start_blob_upload_request.py +0 -0
  200. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/start_blob_upload_response.py +0 -0
  201. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/models/upload_file.py +0 -0
  202. {kaggle-1.8.0 → kaggle-1.8.3}/src/kaggle/test/test_authenticate.py +0 -0
  203. {kaggle-1.8.0 → kaggle-1.8.3}/tests/dataset/data.csv +0 -0
  204. {kaggle-1.8.0 → kaggle-1.8.3}/tests/kernel/testing-x.ipynb +0 -0
  205. {kaggle-1.8.0 → kaggle-1.8.3}/tests/model/instance/data.csv +0 -0
  206. {kaggle-1.8.0 → kaggle-1.8.3}/tests/model/instance/version/metadata.json +0 -0
  207. {kaggle-1.8.0 → kaggle-1.8.3}/tests/sample_submission.csv +0 -0
  208. {kaggle-1.8.0 → kaggle-1.8.3}/tests/test_commands.sh +0 -0
  209. {kaggle-1.8.0 → kaggle-1.8.3}/tests/unit_tests.py +0 -0
  210. {kaggle-1.8.0 → kaggle-1.8.3}/tools/cicd/integration-tests.yaml +0 -0
  211. {kaggle-1.8.0 → kaggle-1.8.3}/tools/releases/Dockerfile +0 -0
  212. {kaggle-1.8.0 → kaggle-1.8.3}/tools/releases/requirements.in +0 -0
  213. {kaggle-1.8.0 → kaggle-1.8.3}/tools/use-localhost.sh +0 -0
  214. {kaggle-1.8.0 → kaggle-1.8.3}/tools/use-prod.sh +0 -0
@@ -1,6 +1,23 @@
1
1
  Changelog
2
2
  ====
3
3
 
4
+ ### 1.8.3
5
+
6
+ * Add packaging dep (#883)
7
+ * Add version checking against server known-version (#880)
8
+ * Fix edit error (#876)
9
+ * Use kagglesdk from pypi (#875)
10
+ * Fix Kaggle access token auth KeyError when KAGGLE_API_TOKEN is unset (#874)
11
+
12
+ ### 1.8.2
13
+
14
+ * Changes to build script
15
+
16
+ ### 1.8.1
17
+
18
+ * Fix memory exhaustion when downloading large files (#869)
19
+ * Add python-dateutil to pyproject.toml dependencies (#866)
20
+
4
21
  ### 1.8.0
5
22
 
6
23
  * Fix resumable download error (#865)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kaggle
3
- Version: 1.8.0
3
+ Version: 1.8.3
4
4
  Summary: Access Kaggle resources anywhere
5
5
  Project-URL: Homepage, https://github.com/Kaggle/kaggle-api
6
6
  Project-URL: Issues, https://github.com/Kaggle/kaggle-api/issues
@@ -214,12 +214,13 @@ Classifier: Programming Language :: Python :: 3
214
214
  Requires-Python: >=3.11
215
215
  Requires-Dist: black>=24.10.0
216
216
  Requires-Dist: bleach
217
- Requires-Dist: kagglesdk
217
+ Requires-Dist: kagglesdk<1.0,>=0.1.14
218
218
  Requires-Dist: mypy>=1.15.0
219
+ Requires-Dist: packaging
219
220
  Requires-Dist: protobuf
221
+ Requires-Dist: python-dateutil
220
222
  Requires-Dist: python-slugify
221
223
  Requires-Dist: requests
222
- Requires-Dist: setuptools>=21.0.0
223
224
  Requires-Dist: six>=1.10
224
225
  Requires-Dist: tqdm
225
226
  Requires-Dist: types-requests
@@ -21,19 +21,20 @@ classifiers = [
21
21
  "Operating System :: OS Independent",
22
22
  ]
23
23
  keywords = ["Kaggle", "API"]
24
- requires-python = ">=3.11"
24
+ requires-python = ">= 3.11"
25
25
  dependencies = [
26
26
  "bleach",
27
- "kagglesdk",
27
+ "kagglesdk >= 0.1.14, < 1.0", # sync with kagglehub
28
28
  "python-slugify",
29
29
  "requests",
30
- "setuptools>=21.0.0", # unused if setup.py is removed
30
+ "python-dateutil",
31
31
  "six>=1.10", # should be unused but is still imported
32
32
  "tqdm",
33
- "urllib3>=1.15.1",
33
+ "urllib3 >= 1.15.1",
34
+ "packaging",
34
35
  "protobuf",
35
- "black>=24.10.0",
36
- "mypy>=1.15.0",
36
+ "black >= 24.10.0",
37
+ "mypy >= 1.15.0",
37
38
  # Pre-install `types-*` packages to speed up lint:typing command.
38
39
  "types-requests",
39
40
  "types-tqdm",
@@ -3,7 +3,7 @@ from __future__ import absolute_import
3
3
  import os
4
4
  from kaggle.api.kaggle_api_extended import KaggleApi
5
5
 
6
- __version__ = "1.8.0"
6
+ __version__ = "1.8.3"
7
7
 
8
8
  enable_oauth = os.environ.get("KAGGLE_ENABLE_OAUTH") in ("1", "true", "yes")
9
9
  api = KaggleApi(enable_oauth=enable_oauth)
@@ -49,6 +49,7 @@ from slugify import slugify
49
49
  from tqdm import tqdm
50
50
  from urllib3.util.retry import Retry
51
51
  from google.protobuf import field_mask_pb2
52
+ from packaging.version import parse
52
53
 
53
54
  import kaggle
54
55
  from kagglesdk import get_access_token_from_env, KaggleClient, KaggleCredentials, KaggleEnv, KaggleOAuth # type: ignore[attr-defined]
@@ -739,7 +740,7 @@ class KaggleApi:
739
740
  self.CONFIG_NAME_AUTH_METHOD: AuthMethod.ACCESS_TOKEN,
740
741
  }
741
742
  self.logger.debug(f"Authenticated with access token in: {source}")
742
- del os.environ["KAGGLE_API_TOKEN"]
743
+ os.environ.pop("KAGGLE_API_TOKEN", None)
743
744
  return True
744
745
 
745
746
  def _authenticate_with_oauth_creds(self) -> bool:
@@ -1080,11 +1081,12 @@ class KaggleApi:
1080
1081
  username=self.config_values.get(self.CONFIG_NAME_USER),
1081
1082
  password=self.config_values.get(self.CONFIG_NAME_KEY),
1082
1083
  api_token=self.config_values.get(self.CONFIG_NAME_TOKEN),
1084
+ response_processor=self.get_response_processor(),
1083
1085
  )
1084
1086
 
1085
1087
  @staticmethod
1086
1088
  def build_kaggle_client_with_params(
1087
- args: List[str], username: str = None, password: str = None, api_token: str = None
1089
+ args: List[str], username: str = None, password: str = None, api_token: str = None, response_processor=None
1088
1090
  ) -> kagglesdk.kaggle_client.KaggleClient:
1089
1091
  """Builds a Kaggle client with the given parameters.
1090
1092
 
@@ -1093,6 +1095,7 @@ class KaggleApi:
1093
1095
  username (str): The username to use for authentication.
1094
1096
  password (str): The password to use for authentication.
1095
1097
  api_token (str): The API token to use for authentication.
1098
+ response_processor: Callback used to process HTTP response.
1096
1099
 
1097
1100
  Returns:
1098
1101
  kagglesdk.kaggle_client.KaggleClient: A Kaggle client.
@@ -1109,6 +1112,7 @@ class KaggleApi:
1109
1112
  username=username,
1110
1113
  password=password,
1111
1114
  api_token=api_token,
1115
+ response_processor=response_processor,
1112
1116
  )
1113
1117
 
1114
1118
  def camel_to_snake(self, name: str) -> str:
@@ -5200,6 +5204,24 @@ class KaggleApi:
5200
5204
  sys.stdout.write("Please respond with 'yes' or 'no'.\n")
5201
5205
  return False
5202
5206
 
5207
+ def _check_response_version(self, response: Response):
5208
+ if self.already_printed_version_warning:
5209
+ return
5210
+ latest_version_str = response.headers.get("X-Kaggle-APIVersion")
5211
+ if latest_version_str:
5212
+ current_version = parse(kaggle.__version__)
5213
+ latest_version = parse(latest_version_str)
5214
+ if latest_version > current_version:
5215
+ print(
5216
+ f"Warning: Looks like you're using an outdated `kaggle`` "
5217
+ "version (installed: {current_version}), please consider "
5218
+ "upgrading to the latest version ({latest_version_str})"
5219
+ )
5220
+ self.already_printed_version_warning = True
5221
+
5222
+ def get_response_processor(self):
5223
+ return self._check_response_version
5224
+
5203
5225
 
5204
5226
  class TqdmBufferedReader(io.BufferedReader):
5205
5227
 
@@ -137,7 +137,6 @@ function run-tests {
137
137
  }
138
138
 
139
139
  function install-package {
140
- pip3 install --break-system-packages --require-hashes -r requirements.txt
141
140
  if [[ "$INSTALL_EDITABLE" == "yes" ]]; then
142
141
  pip3 install --break-system-packages --upgrade --editable .
143
142
  elif [[ "$INSTALL" == "yes" ]]; then
@@ -30,8 +30,8 @@ steps:
30
30
  args:
31
31
  - "-c"
32
32
  - |
33
+ rm -f kaggle
33
34
  cp -r src/kaggle .
34
- cp -r src/kagglesdk .
35
35
  python3 -m pip install build --break-system-packages
36
36
  python3 -m build
37
37
  # Move the built CLI to a volume that will survive to next steps.
@@ -151,39 +151,69 @@ charset-normalizer==3.2.0 \
151
151
  --hash=sha256:f779d3ad205f108d14e99bb3859aa7dd8e9c68874617c72354d7ecaec2a054ac \
152
152
  --hash=sha256:f87f746ee241d30d6ed93969de31e5ffd09a2961a051e60ae6bddde9ec3583aa
153
153
  # via requests
154
- cryptography==42.0.4 \
155
- --hash=sha256:01911714117642a3f1792c7f376db572aadadbafcd8d75bb527166009c9f1d1b \
156
- --hash=sha256:0e89f7b84f421c56e7ff69f11c441ebda73b8a8e6488d322ef71746224c20fce \
157
- --hash=sha256:12d341bd42cdb7d4937b0cabbdf2a94f949413ac4504904d0cdbdce4a22cbf88 \
158
- --hash=sha256:15a1fb843c48b4a604663fa30af60818cd28f895572386e5f9b8a665874c26e7 \
159
- --hash=sha256:1cdcdbd117681c88d717437ada72bdd5be9de117f96e3f4d50dab3f59fd9ab20 \
160
- --hash=sha256:1df6fcbf60560d2113b5ed90f072dc0b108d64750d4cbd46a21ec882c7aefce9 \
161
- --hash=sha256:3c6048f217533d89f2f8f4f0fe3044bf0b2090453b7b73d0b77db47b80af8dff \
162
- --hash=sha256:3e970a2119507d0b104f0a8e281521ad28fc26f2820687b3436b8c9a5fcf20d1 \
163
- --hash=sha256:44a64043f743485925d3bcac548d05df0f9bb445c5fcca6681889c7c3ab12764 \
164
- --hash=sha256:4e36685cb634af55e0677d435d425043967ac2f3790ec652b2b88ad03b85c27b \
165
- --hash=sha256:5f8907fcf57392cd917892ae83708761c6ff3c37a8e835d7246ff0ad251d9298 \
166
- --hash=sha256:69b22ab6506a3fe483d67d1ed878e1602bdd5912a134e6202c1ec672233241c1 \
167
- --hash=sha256:6bfadd884e7280df24d26f2186e4e07556a05d37393b0f220a840b083dc6a824 \
168
- --hash=sha256:6d0fbe73728c44ca3a241eff9aefe6496ab2656d6e7a4ea2459865f2e8613257 \
169
- --hash=sha256:6ffb03d419edcab93b4b19c22ee80c007fb2d708429cecebf1dd3258956a563a \
170
- --hash=sha256:810bcf151caefc03e51a3d61e53335cd5c7316c0a105cc695f0959f2c638b129 \
171
- --hash=sha256:831a4b37accef30cccd34fcb916a5d7b5be3cbbe27268a02832c3e450aea39cb \
172
- --hash=sha256:887623fe0d70f48ab3f5e4dbf234986b1329a64c066d719432d0698522749929 \
173
- --hash=sha256:a0298bdc6e98ca21382afe914c642620370ce0470a01e1bef6dd9b5354c36854 \
174
- --hash=sha256:a1327f280c824ff7885bdeef8578f74690e9079267c1c8bd7dc5cc5aa065ae52 \
175
- --hash=sha256:c1f25b252d2c87088abc8bbc4f1ecbf7c919e05508a7e8628e6875c40bc70923 \
176
- --hash=sha256:c3a5cbc620e1e17009f30dd34cb0d85c987afd21c41a74352d1719be33380885 \
177
- --hash=sha256:ce8613beaffc7c14f091497346ef117c1798c202b01153a8cc7b8e2ebaaf41c0 \
178
- --hash=sha256:d2a27aca5597c8a71abbe10209184e1a8e91c1fd470b5070a2ea60cafec35bcd \
179
- --hash=sha256:dad9c385ba8ee025bb0d856714f71d7840020fe176ae0229de618f14dae7a6e2 \
180
- --hash=sha256:db4b65b02f59035037fde0998974d84244a64c3265bdef32a827ab9b63d61b18 \
181
- --hash=sha256:e09469a2cec88fb7b078e16d4adec594414397e8879a4341c6ace96013463d5b \
182
- --hash=sha256:e53dc41cda40b248ebc40b83b31516487f7db95ab8ceac1f042626bc43a2f992 \
183
- --hash=sha256:f1e85a178384bf19e36779d91ff35c7617c885da487d689b05c1366f9933ad74 \
184
- --hash=sha256:f47be41843200f7faec0683ad751e5ef11b9a56a220d57f300376cd8aba81660 \
185
- --hash=sha256:fb0cef872d8193e487fc6bdb08559c3aa41b659a7d9be48b2e10747f47863925 \
186
- --hash=sha256:ffc73996c4fca3d2b6c1c8c12bfd3ad00def8621da24f547626bf06441400449
154
+ cryptography==44.0.1 \
155
+ --hash=sha256:00918d859aa4e57db8299607086f793fa7813ae2ff5a4637e318a25ef82730f7 \
156
+ --hash=sha256:00918d859aa4e57db8299607086f793fa7813ae2ff5a4637e318a25ef82730f7 \
157
+ --hash=sha256:1e8d181e90a777b63f3f0caa836844a1182f1f265687fac2115fcf245f5fbec3 \
158
+ --hash=sha256:1e8d181e90a777b63f3f0caa836844a1182f1f265687fac2115fcf245f5fbec3 \
159
+ --hash=sha256:1f9a92144fa0c877117e9748c74501bea842f93d21ee00b0cf922846d9d0b183 \
160
+ --hash=sha256:1f9a92144fa0c877117e9748c74501bea842f93d21ee00b0cf922846d9d0b183 \
161
+ --hash=sha256:21377472ca4ada2906bc313168c9dc7b1d7ca417b63c1c3011d0c74b7de9ae69 \
162
+ --hash=sha256:21377472ca4ada2906bc313168c9dc7b1d7ca417b63c1c3011d0c74b7de9ae69 \
163
+ --hash=sha256:24979e9f2040c953a94bf3c6782e67795a4c260734e5264dceea65c8f4bae64a \
164
+ --hash=sha256:24979e9f2040c953a94bf3c6782e67795a4c260734e5264dceea65c8f4bae64a \
165
+ --hash=sha256:2a46a89ad3e6176223b632056f321bc7de36b9f9b93b2cc1cccf935a3849dc62 \
166
+ --hash=sha256:2a46a89ad3e6176223b632056f321bc7de36b9f9b93b2cc1cccf935a3849dc62 \
167
+ --hash=sha256:322eb03ecc62784536bc173f1483e76747aafeb69c8728df48537eb431cd1911 \
168
+ --hash=sha256:322eb03ecc62784536bc173f1483e76747aafeb69c8728df48537eb431cd1911 \
169
+ --hash=sha256:436df4f203482f41aad60ed1813811ac4ab102765ecae7a2bbb1dbb66dcff5a7 \
170
+ --hash=sha256:436df4f203482f41aad60ed1813811ac4ab102765ecae7a2bbb1dbb66dcff5a7 \
171
+ --hash=sha256:4f422e8c6a28cf8b7f883eb790695d6d45b0c385a2583073f3cec434cc705e1a \
172
+ --hash=sha256:4f422e8c6a28cf8b7f883eb790695d6d45b0c385a2583073f3cec434cc705e1a \
173
+ --hash=sha256:53f23339864b617a3dfc2b0ac8d5c432625c80014c25caac9082314e9de56f41 \
174
+ --hash=sha256:53f23339864b617a3dfc2b0ac8d5c432625c80014c25caac9082314e9de56f41 \
175
+ --hash=sha256:5fed5cd6102bb4eb843e3315d2bf25fede494509bddadb81e03a859c1bc17b83 \
176
+ --hash=sha256:5fed5cd6102bb4eb843e3315d2bf25fede494509bddadb81e03a859c1bc17b83 \
177
+ --hash=sha256:610a83540765a8d8ce0f351ce42e26e53e1f774a6efb71eb1b41eb01d01c3d12 \
178
+ --hash=sha256:610a83540765a8d8ce0f351ce42e26e53e1f774a6efb71eb1b41eb01d01c3d12 \
179
+ --hash=sha256:6c8acf6f3d1f47acb2248ec3ea261171a671f3d9428e34ad0357148d492c7864 \
180
+ --hash=sha256:6c8acf6f3d1f47acb2248ec3ea261171a671f3d9428e34ad0357148d492c7864 \
181
+ --hash=sha256:6f76fdd6fd048576a04c5210d53aa04ca34d2ed63336d4abd306d0cbe298fddf \
182
+ --hash=sha256:6f76fdd6fd048576a04c5210d53aa04ca34d2ed63336d4abd306d0cbe298fddf \
183
+ --hash=sha256:72198e2b5925155497a5a3e8c216c7fb3e64c16ccee11f0e7da272fa93b35c4c \
184
+ --hash=sha256:72198e2b5925155497a5a3e8c216c7fb3e64c16ccee11f0e7da272fa93b35c4c \
185
+ --hash=sha256:887143b9ff6bad2b7570da75a7fe8bbf5f65276365ac259a5d2d5147a73775f2 \
186
+ --hash=sha256:887143b9ff6bad2b7570da75a7fe8bbf5f65276365ac259a5d2d5147a73775f2 \
187
+ --hash=sha256:888fcc3fce0c888785a4876ca55f9f43787f4c5c1cc1e2e0da71ad481ff82c5b \
188
+ --hash=sha256:888fcc3fce0c888785a4876ca55f9f43787f4c5c1cc1e2e0da71ad481ff82c5b \
189
+ --hash=sha256:8e6a85a93d0642bd774460a86513c5d9d80b5c002ca9693e63f6e540f1815ed0 \
190
+ --hash=sha256:8e6a85a93d0642bd774460a86513c5d9d80b5c002ca9693e63f6e540f1815ed0 \
191
+ --hash=sha256:94f99f2b943b354a5b6307d7e8d19f5c423a794462bde2bf310c770ba052b1c4 \
192
+ --hash=sha256:94f99f2b943b354a5b6307d7e8d19f5c423a794462bde2bf310c770ba052b1c4 \
193
+ --hash=sha256:9b336599e2cb77b1008cb2ac264b290803ec5e8e89d618a5e978ff5eb6f715d9 \
194
+ --hash=sha256:9b336599e2cb77b1008cb2ac264b290803ec5e8e89d618a5e978ff5eb6f715d9 \
195
+ --hash=sha256:a2d8a7045e1ab9b9f803f0d9531ead85f90c5f2859e653b61497228b18452008 \
196
+ --hash=sha256:a2d8a7045e1ab9b9f803f0d9531ead85f90c5f2859e653b61497228b18452008 \
197
+ --hash=sha256:b8272f257cf1cbd3f2e120f14c68bff2b6bdfcc157fafdee84a1b795efd72862 \
198
+ --hash=sha256:b8272f257cf1cbd3f2e120f14c68bff2b6bdfcc157fafdee84a1b795efd72862 \
199
+ --hash=sha256:bf688f615c29bfe9dfc44312ca470989279f0e94bb9f631f85e3459af8efc009 \
200
+ --hash=sha256:bf688f615c29bfe9dfc44312ca470989279f0e94bb9f631f85e3459af8efc009 \
201
+ --hash=sha256:d9c5b9f698a83c8bd71e0f4d3f9f839ef244798e5ffe96febfa9714717db7af7 \
202
+ --hash=sha256:d9c5b9f698a83c8bd71e0f4d3f9f839ef244798e5ffe96febfa9714717db7af7 \
203
+ --hash=sha256:dd7c7e2d71d908dc0f8d2027e1604102140d84b155e658c20e8ad1304317691f \
204
+ --hash=sha256:dd7c7e2d71d908dc0f8d2027e1604102140d84b155e658c20e8ad1304317691f \
205
+ --hash=sha256:df978682c1504fc93b3209de21aeabf2375cb1571d4e61907b3e7a2540e83026 \
206
+ --hash=sha256:df978682c1504fc93b3209de21aeabf2375cb1571d4e61907b3e7a2540e83026 \
207
+ --hash=sha256:e403f7f766ded778ecdb790da786b418a9f2394f36e8cc8b796cc056ab05f44f \
208
+ --hash=sha256:e403f7f766ded778ecdb790da786b418a9f2394f36e8cc8b796cc056ab05f44f \
209
+ --hash=sha256:eb3889330f2a4a148abead555399ec9a32b13b7c8ba969b72d8e500eb7ef84cd \
210
+ --hash=sha256:eb3889330f2a4a148abead555399ec9a32b13b7c8ba969b72d8e500eb7ef84cd \
211
+ --hash=sha256:f4daefc971c2d1f82f03097dc6f216744a6cd2ac0f04c68fb935ea2ba2a0d420 \
212
+ --hash=sha256:f4daefc971c2d1f82f03097dc6f216744a6cd2ac0f04c68fb935ea2ba2a0d420 \
213
+ --hash=sha256:f51f5705ab27898afda1aaa430f34ad90dc117421057782022edf0600bec5f14 \
214
+ --hash=sha256:f51f5705ab27898afda1aaa430f34ad90dc117421057782022edf0600bec5f14 \
215
+ --hash=sha256:fd0ee90072861e276b0ff08bd627abec29e32a53b2be44e41dbcdf87cbee2b00 \
216
+ --hash=sha256:fd0ee90072861e276b0ff08bd627abec29e32a53b2be44e41dbcdf87cbee2b00
187
217
  # via secretstorage
188
218
  docutils==0.20.1 \
189
219
  --hash=sha256:96f387a2c5562db4476f09f13bbab2192e764cac08ebbf3a34a95d9b1e4a59d6 \
@@ -291,9 +321,9 @@ twine==6.0.1 \
291
321
  --hash=sha256:36158b09df5406e1c9c1fb8edb24fc2be387709443e7376689b938531582ee27 \
292
322
  --hash=sha256:9c6025b203b51521d53e200f4a08b116dee7500a38591668c6a6033117bdc218
293
323
  # via -r requirements.in
294
- urllib3==2.5.0 \
295
- --hash=sha256:3fc47733c7e419d4bc3f6b3dc2b4f890bb743906a30d56ba4a5bfa4bbff92760 \
296
- --hash=sha256:e6b01673c0fa6a13e374b50871808eb3bf7046c4b125b216f6bf1cc604cff0dc
324
+ urllib3==2.6.0 \
325
+ --hash=sha256:c90f7a39f716c572c4e3e58509581ebd83f9b59cced005b7db7ad2d22b0db99f \
326
+ --hash=sha256:cb9bcef5a4b345d5da5d145dc3e30834f58e8018828cbc724d30b4cb7d4d49f1
297
327
  # via
298
328
  # requests
299
329
  # twine
kaggle-1.8.0/MANIFEST.in DELETED
@@ -1 +0,0 @@
1
- include LICENSE.txt
@@ -1,5 +0,0 @@
1
- certifi >= 14.05.14
2
- six >= 1.10
3
- python_dateutil >= 2.5.3
4
- urllib3 >= 1.15.1
5
- kagglesdk
@@ -1,134 +0,0 @@
1
- #
2
- # This file is autogenerated by pip-compile with Python 3.11
3
- # by the following command:
4
- #
5
- # pip-compile --allow-unsafe --generate-hashes requirements.in
6
- #
7
- certifi==2025.7.9 \
8
- --hash=sha256:c1d2ec05395148ee10cf672ffc28cd37ea0ab0d99f9cc74c43e588cbd111b079 \
9
- --hash=sha256:d842783a14f8fdd646895ac26f719a061408834473cfc10203f6a575beb15d39
10
- # via
11
- # -r requirements.in
12
- # requests
13
- charset-normalizer==3.4.2 \
14
- --hash=sha256:005fa3432484527f9732ebd315da8da8001593e2cf46a3d817669f062c3d9ed4 \
15
- --hash=sha256:046595208aae0120559a67693ecc65dd75d46f7bf687f159127046628178dc45 \
16
- --hash=sha256:0c29de6a1a95f24b9a1aa7aefd27d2487263f00dfd55a77719b530788f75cff7 \
17
- --hash=sha256:0c8c57f84ccfc871a48a47321cfa49ae1df56cd1d965a09abe84066f6853b9c0 \
18
- --hash=sha256:0f5d9ed7f254402c9e7d35d2f5972c9bbea9040e99cd2861bd77dc68263277c7 \
19
- --hash=sha256:18dd2e350387c87dabe711b86f83c9c78af772c748904d372ade190b5c7c9d4d \
20
- --hash=sha256:1b1bde144d98e446b056ef98e59c256e9294f6b74d7af6846bf5ffdafd687a7d \
21
- --hash=sha256:1c95a1e2902a8b722868587c0e1184ad5c55631de5afc0eb96bc4b0d738092c0 \
22
- --hash=sha256:1cad5f45b3146325bb38d6855642f6fd609c3f7cad4dbaf75549bf3b904d3184 \
23
- --hash=sha256:21b2899062867b0e1fde9b724f8aecb1af14f2778d69aacd1a5a1853a597a5db \
24
- --hash=sha256:24498ba8ed6c2e0b56d4acbf83f2d989720a93b41d712ebd4f4979660db4417b \
25
- --hash=sha256:25a23ea5c7edc53e0f29bae2c44fcb5a1aa10591aae107f2a2b2583a9c5cbc64 \
26
- --hash=sha256:289200a18fa698949d2b39c671c2cc7a24d44096784e76614899a7ccf2574b7b \
27
- --hash=sha256:28a1005facc94196e1fb3e82a3d442a9d9110b8434fc1ded7a24a2983c9888d8 \
28
- --hash=sha256:32fc0341d72e0f73f80acb0a2c94216bd704f4f0bce10aedea38f30502b271ff \
29
- --hash=sha256:36b31da18b8890a76ec181c3cf44326bf2c48e36d393ca1b72b3f484113ea344 \
30
- --hash=sha256:3c21d4fca343c805a52c0c78edc01e3477f6dd1ad7c47653241cf2a206d4fc58 \
31
- --hash=sha256:3fddb7e2c84ac87ac3a947cb4e66d143ca5863ef48e4a5ecb83bd48619e4634e \
32
- --hash=sha256:43e0933a0eff183ee85833f341ec567c0980dae57c464d8a508e1b2ceb336471 \
33
- --hash=sha256:4a476b06fbcf359ad25d34a057b7219281286ae2477cc5ff5e3f70a246971148 \
34
- --hash=sha256:4e594135de17ab3866138f496755f302b72157d115086d100c3f19370839dd3a \
35
- --hash=sha256:50bf98d5e563b83cc29471fa114366e6806bc06bc7a25fd59641e41445327836 \
36
- --hash=sha256:5a9979887252a82fefd3d3ed2a8e3b937a7a809f65dcb1e068b090e165bbe99e \
37
- --hash=sha256:5baececa9ecba31eff645232d59845c07aa030f0c81ee70184a90d35099a0e63 \
38
- --hash=sha256:5bf4545e3b962767e5c06fe1738f951f77d27967cb2caa64c28be7c4563e162c \
39
- --hash=sha256:6333b3aa5a12c26b2a4d4e7335a28f1475e0e5e17d69d55141ee3cab736f66d1 \
40
- --hash=sha256:65c981bdbd3f57670af8b59777cbfae75364b483fa8a9f420f08094531d54a01 \
41
- --hash=sha256:68a328e5f55ec37c57f19ebb1fdc56a248db2e3e9ad769919a58672958e8f366 \
42
- --hash=sha256:6a0289e4589e8bdfef02a80478f1dfcb14f0ab696b5a00e1f4b8a14a307a3c58 \
43
- --hash=sha256:6b66f92b17849b85cad91259efc341dce9c1af48e2173bf38a85c6329f1033e5 \
44
- --hash=sha256:6c9379d65defcab82d07b2a9dfbfc2e95bc8fe0ebb1b176a3190230a3ef0e07c \
45
- --hash=sha256:6fc1f5b51fa4cecaa18f2bd7a003f3dd039dd615cd69a2afd6d3b19aed6775f2 \
46
- --hash=sha256:70f7172939fdf8790425ba31915bfbe8335030f05b9913d7ae00a87d4395620a \
47
- --hash=sha256:721c76e84fe669be19c5791da68232ca2e05ba5185575086e384352e2c309597 \
48
- --hash=sha256:7222ffd5e4de8e57e03ce2cef95a4c43c98fcb72ad86909abdfc2c17d227fc1b \
49
- --hash=sha256:75d10d37a47afee94919c4fab4c22b9bc2a8bf7d4f46f87363bcf0573f3ff4f5 \
50
- --hash=sha256:76af085e67e56c8816c3ccf256ebd136def2ed9654525348cfa744b6802b69eb \
51
- --hash=sha256:770cab594ecf99ae64c236bc9ee3439c3f46be49796e265ce0cc8bc17b10294f \
52
- --hash=sha256:7a6ab32f7210554a96cd9e33abe3ddd86732beeafc7a28e9955cdf22ffadbab0 \
53
- --hash=sha256:7c48ed483eb946e6c04ccbe02c6b4d1d48e51944b6db70f697e089c193404941 \
54
- --hash=sha256:7f56930ab0abd1c45cd15be65cc741c28b1c9a34876ce8c17a2fa107810c0af0 \
55
- --hash=sha256:8075c35cd58273fee266c58c0c9b670947c19df5fb98e7b66710e04ad4e9ff86 \
56
- --hash=sha256:8272b73e1c5603666618805fe821edba66892e2870058c94c53147602eab29c7 \
57
- --hash=sha256:82d8fd25b7f4675d0c47cf95b594d4e7b158aca33b76aa63d07186e13c0e0ab7 \
58
- --hash=sha256:844da2b5728b5ce0e32d863af26f32b5ce61bc4273a9c720a9f3aa9df73b1455 \
59
- --hash=sha256:8755483f3c00d6c9a77f490c17e6ab0c8729e39e6390328e42521ef175380ae6 \
60
- --hash=sha256:915f3849a011c1f593ab99092f3cecfcb4d65d8feb4a64cf1bf2d22074dc0ec4 \
61
- --hash=sha256:926ca93accd5d36ccdabd803392ddc3e03e6d4cd1cf17deff3b989ab8e9dbcf0 \
62
- --hash=sha256:982bb1e8b4ffda883b3d0a521e23abcd6fd17418f6d2c4118d257a10199c0ce3 \
63
- --hash=sha256:98f862da73774290f251b9df8d11161b6cf25b599a66baf087c1ffe340e9bfd1 \
64
- --hash=sha256:9cbfacf36cb0ec2897ce0ebc5d08ca44213af24265bd56eca54bee7923c48fd6 \
65
- --hash=sha256:a370b3e078e418187da8c3674eddb9d983ec09445c99a3a263c2011993522981 \
66
- --hash=sha256:a955b438e62efdf7e0b7b52a64dc5c3396e2634baa62471768a64bc2adb73d5c \
67
- --hash=sha256:aa6af9e7d59f9c12b33ae4e9450619cf2488e2bbe9b44030905877f0b2324980 \
68
- --hash=sha256:aa88ca0b1932e93f2d961bf3addbb2db902198dca337d88c89e1559e066e7645 \
69
- --hash=sha256:aaeeb6a479c7667fbe1099af9617c83aaca22182d6cf8c53966491a0f1b7ffb7 \
70
- --hash=sha256:aaf27faa992bfee0264dc1f03f4c75e9fcdda66a519db6b957a3f826e285cf12 \
71
- --hash=sha256:b2680962a4848b3c4f155dc2ee64505a9c57186d0d56b43123b17ca3de18f0fa \
72
- --hash=sha256:b2d318c11350e10662026ad0eb71bb51c7812fc8590825304ae0bdd4ac283acd \
73
- --hash=sha256:b33de11b92e9f75a2b545d6e9b6f37e398d86c3e9e9653c4864eb7e89c5773ef \
74
- --hash=sha256:b3daeac64d5b371dea99714f08ffc2c208522ec6b06fbc7866a450dd446f5c0f \
75
- --hash=sha256:be1e352acbe3c78727a16a455126d9ff83ea2dfdcbc83148d2982305a04714c2 \
76
- --hash=sha256:bee093bf902e1d8fc0ac143c88902c3dfc8941f7ea1d6a8dd2bcb786d33db03d \
77
- --hash=sha256:c72fbbe68c6f32f251bdc08b8611c7b3060612236e960ef848e0a517ddbe76c5 \
78
- --hash=sha256:c9e36a97bee9b86ef9a1cf7bb96747eb7a15c2f22bdb5b516434b00f2a599f02 \
79
- --hash=sha256:cddf7bd982eaa998934a91f69d182aec997c6c468898efe6679af88283b498d3 \
80
- --hash=sha256:cf713fe9a71ef6fd5adf7a79670135081cd4431c2943864757f0fa3a65b1fafd \
81
- --hash=sha256:d11b54acf878eef558599658b0ffca78138c8c3655cf4f3a4a673c437e67732e \
82
- --hash=sha256:d41c4d287cfc69060fa91cae9683eacffad989f1a10811995fa309df656ec214 \
83
- --hash=sha256:d524ba3f1581b35c03cb42beebab4a13e6cdad7b36246bd22541fa585a56cccd \
84
- --hash=sha256:daac4765328a919a805fa5e2720f3e94767abd632ae410a9062dff5412bae65a \
85
- --hash=sha256:db4c7bf0e07fc3b7d89ac2a5880a6a8062056801b83ff56d8464b70f65482b6c \
86
- --hash=sha256:dc7039885fa1baf9be153a0626e337aa7ec8bf96b0128605fb0d77788ddc1681 \
87
- --hash=sha256:dccab8d5fa1ef9bfba0590ecf4d46df048d18ffe3eec01eeb73a42e0d9e7a8ba \
88
- --hash=sha256:dedb8adb91d11846ee08bec4c8236c8549ac721c245678282dcb06b221aab59f \
89
- --hash=sha256:e45ba65510e2647721e35323d6ef54c7974959f6081b58d4ef5d87c60c84919a \
90
- --hash=sha256:e53efc7c7cee4c1e70661e2e112ca46a575f90ed9ae3fef200f2a25e954f4b28 \
91
- --hash=sha256:e635b87f01ebc977342e2697d05b56632f5f879a4f15955dfe8cef2448b51691 \
92
- --hash=sha256:e70e990b2137b29dc5564715de1e12701815dacc1d056308e2b17e9095372a82 \
93
- --hash=sha256:e8082b26888e2f8b36a042a58307d5b917ef2b1cacab921ad3323ef91901c71a \
94
- --hash=sha256:e8323a9b031aa0393768b87f04b4164a40037fb2a3c11ac06a03ffecd3618027 \
95
- --hash=sha256:e92fca20c46e9f5e1bb485887d074918b13543b1c2a1185e69bb8d17ab6236a7 \
96
- --hash=sha256:eb30abc20df9ab0814b5a2524f23d75dcf83cde762c161917a2b4b7b55b1e518 \
97
- --hash=sha256:eba9904b0f38a143592d9fc0e19e2df0fa2e41c3c3745554761c5f6447eedabf \
98
- --hash=sha256:ef8de666d6179b009dce7bcb2ad4c4a779f113f12caf8dc77f0162c29d20490b \
99
- --hash=sha256:efd387a49825780ff861998cd959767800d54f8308936b21025326de4b5a42b9 \
100
- --hash=sha256:f0aa37f3c979cf2546b73e8222bbfa3dc07a641585340179d768068e3455e544 \
101
- --hash=sha256:f4074c5a429281bf056ddd4c5d3b740ebca4d43ffffe2ef4bf4d2d05114299da \
102
- --hash=sha256:f69a27e45c43520f5487f27627059b64aaf160415589230992cec34c5e18a509 \
103
- --hash=sha256:fb707f3e15060adf5b7ada797624a6c6e0138e2a26baa089df64c68ee98e040f \
104
- --hash=sha256:fcbe676a55d7445b22c10967bceaaf0ee69407fbe0ece4d032b6eb8d4565982a \
105
- --hash=sha256:fdb20a30fe1175ecabed17cbf7812f7b804b8a315a25f24678bcdf120a90077f
106
- # via requests
107
- idna==3.10 \
108
- --hash=sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9 \
109
- --hash=sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3
110
- # via requests
111
- kagglesdk==0.1.0 \
112
- --hash=sha256:23d47b451a63f2c6f141a7b4b55fbd855af4904476a051d8541e35bce2a867cf \
113
- --hash=sha256:b592d4cb120716fb96483a968dbace4f5b8b94501636eb8ba068b1411d41e2fc
114
- # via -r requirements.in
115
- python-dateutil==2.9.0.post0 \
116
- --hash=sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3 \
117
- --hash=sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427
118
- # via -r requirements.in
119
- requests==2.32.4 \
120
- --hash=sha256:27babd3cda2a6d50b30443204ee89830707d396671944c998b5975b031ac2b2c \
121
- --hash=sha256:27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422
122
- # via kagglesdk
123
- six==1.17.0 \
124
- --hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \
125
- --hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
126
- # via
127
- # -r requirements.in
128
- # python-dateutil
129
- urllib3==2.5.0 \
130
- --hash=sha256:3fc47733c7e419d4bc3f6b3dc2b4f890bb743906a30d56ba4a5bfa4bbff92760 \
131
- --hash=sha256:e6b01673c0fa6a13e374b50871808eb3bf7046c4b125b216f6bf1cc604cff0dc
132
- # via
133
- # -r requirements.in
134
- # requests
@@ -1,201 +0,0 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "[]"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright 2018 Kaggle Inc
190
-
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
194
-
195
- http://www.apache.org/licenses/LICENSE-2.0
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.
@@ -1,6 +0,0 @@
1
- __version__ = "0.1.0"
2
-
3
- from kagglesdk.kaggle_client import KaggleClient
4
- from kagglesdk.kaggle_creds import KaggleCredentials
5
- from kagglesdk.kaggle_env import get_access_token_from_env, KaggleEnv
6
- from kagglesdk.kaggle_oauth import KaggleOAuth
File without changes