kaggle 1.6.10__tar.gz → 1.6.12__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 (47) hide show
  1. {kaggle-1.6.10/kaggle.egg-info → kaggle-1.6.12}/PKG-INFO +1 -1
  2. kaggle-1.6.12/README.md +101 -0
  3. kaggle-1.6.12/kaggle/__init__.py +7 -0
  4. kaggle-1.6.12/kaggle/api/__init__.py +6 -0
  5. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/api/kaggle_api.py +0 -16
  6. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/api/kaggle_api_extended.py +72 -24
  7. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/api_client.py +0 -16
  8. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/cli.py +0 -16
  9. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/configuration.py +0 -16
  10. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/__init__.py +0 -16
  11. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/api_blob_type.py +0 -16
  12. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/collaborator.py +0 -16
  13. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/create_inbox_file_request.py +0 -16
  14. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/dataset_column.py +0 -16
  15. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/dataset_new_request.py +0 -16
  16. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/dataset_new_version_request.py +0 -16
  17. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/dataset_update_settings_request.py +0 -16
  18. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/error.py +0 -16
  19. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/kaggle_models_extended.py +0 -16
  20. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/kernel_push_request.py +0 -16
  21. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/license.py +0 -16
  22. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/model_instance_new_version_request.py +0 -16
  23. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/model_instance_update_request.py +0 -16
  24. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/model_new_instance_request.py +0 -16
  25. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/model_new_request.py +0 -16
  26. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/model_update_request.py +0 -16
  27. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/result.py +0 -16
  28. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/start_blob_upload_request.py +0 -16
  29. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/start_blob_upload_response.py +0 -16
  30. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/models/upload_file.py +0 -16
  31. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/rest.py +0 -16
  32. kaggle-1.6.12/kaggle/test/__init__.py +0 -0
  33. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle/test/test_authenticate.py +0 -16
  34. {kaggle-1.6.10 → kaggle-1.6.12/kaggle.egg-info}/PKG-INFO +1 -1
  35. {kaggle-1.6.10 → kaggle-1.6.12}/setup.py +5 -18
  36. kaggle-1.6.10/README.md +0 -946
  37. kaggle-1.6.10/kaggle/__init__.py +0 -23
  38. kaggle-1.6.10/kaggle/api/__init__.py +0 -22
  39. kaggle-1.6.10/kaggle/test/__init__.py +0 -16
  40. {kaggle-1.6.10 → kaggle-1.6.12}/LICENSE +0 -0
  41. {kaggle-1.6.10 → kaggle-1.6.12}/MANIFEST.in +0 -0
  42. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle.egg-info/SOURCES.txt +0 -0
  43. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle.egg-info/dependency_links.txt +0 -0
  44. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle.egg-info/entry_points.txt +0 -0
  45. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle.egg-info/requires.txt +0 -0
  46. {kaggle-1.6.10 → kaggle-1.6.12}/kaggle.egg-info/top_level.txt +0 -0
  47. {kaggle-1.6.10 → kaggle-1.6.12}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kaggle
3
- Version: 1.6.10
3
+ Version: 1.6.12
4
4
  Summary: Kaggle API
5
5
  Home-page: https://github.com/Kaggle/kaggle-api
6
6
  Author: Kaggle
@@ -0,0 +1,101 @@
1
+ # Kaggle API
2
+
3
+ Official API for https://www.kaggle.com, accessible using a command line tool implemented in Python 3.
4
+
5
+ [User documentation](docs/README.md)
6
+
7
+ ## Installation
8
+
9
+ Ensure you have Python 3 and the package manager `pip` installed.
10
+
11
+ Run the following command to access the Kaggle API using the command line:
12
+
13
+ ```sh
14
+ pip install kaggle
15
+ ```
16
+
17
+ ## Development
18
+
19
+ ### Prerequisites
20
+
21
+ We use [hatch](https://hatch.pypa.io) to manage this project.
22
+
23
+ Follow these [instructions](https://hatch.pypa.io/latest/install/) to install it.
24
+
25
+ ### Dependencies
26
+
27
+ ```sh
28
+ hatch run install-deps
29
+ ```
30
+
31
+ ### Compile
32
+
33
+ ```sh
34
+ hatch run compile
35
+ ```
36
+
37
+ The compiled files are generated in the `kaggle/` directory from the `src/` directory.
38
+
39
+ All the changes must be done in the `src/` directory.
40
+
41
+ ### Run
42
+
43
+ You can also run the code in python directly:
44
+
45
+ ```sh
46
+ hatch run python
47
+ ```
48
+
49
+ ```python
50
+ import kaggle
51
+ from kaggle.api.kaggle_api_extended import KaggleApi
52
+ api = KaggleApi()
53
+ api.authenticate()
54
+ api.model_list_cli()
55
+
56
+ Next Page Token = [...]
57
+ [...]
58
+
59
+ ```
60
+
61
+ Or in a single command:
62
+
63
+ ```sh
64
+ hatch run python -c "import kaggle; from kaggle.api.kaggle_api_extended import KaggleApi; api = KaggleApi(); api.authenticate(); api.model_list_cli()"
65
+ ```
66
+
67
+ ### Example
68
+
69
+ Let's change the `model_list_cli` method in the source file:
70
+
71
+ ```sh
72
+ ❯ git diff src/kaggle/api/kaggle_api_extended.py
73
+ [...]
74
+ + print('hello Kaggle CLI update')^M
75
+ models = self.model_list(sort_by, search, owner, page_size, page_token)
76
+ [...]
77
+
78
+ ❯ hatch run compile
79
+ [...]
80
+
81
+ ❯ hatch run python -c "import kaggle; from kaggle.api.kaggle_api_extended import KaggleApi; api = KaggleApi(); api.authenticate(); api.model_list_cli()"
82
+ hello Kaggle CLI update
83
+ Next Page Token = [...]
84
+ ```
85
+
86
+ ### Integration Tests
87
+
88
+ To run integration tests on your local machine, you need to set up your Kaggle API credentials. You can do this in one of these two ways described [this doc](docs/README.md). Refer to the sections:
89
+ - Using environment variables
90
+ - Using credentials file
91
+
92
+ After setting up your credentials by any of these methods, you can run the integration tests as follows:
93
+
94
+ ```sh
95
+ # Run all tests
96
+ hatch run integration-test
97
+ ```
98
+
99
+ ## License
100
+
101
+ The Kaggle API is released under the [Apache 2.0 license](LICENSE).
@@ -0,0 +1,7 @@
1
+ # coding=utf-8
2
+ from __future__ import absolute_import
3
+ from kaggle.api.kaggle_api_extended import KaggleApi
4
+ from kaggle.api_client import ApiClient
5
+
6
+ api = KaggleApi(ApiClient())
7
+ api.authenticate()
@@ -0,0 +1,6 @@
1
+ from __future__ import absolute_import
2
+
3
+ # flake8: noqa
4
+
5
+ # import apis into api package
6
+ from kaggle.api.kaggle_api_extended import KaggleApi
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  # coding: utf-8
18
2
 
19
3
  """
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  #!/usr/bin/python
18
2
  #
19
3
  # Copyright 2019 Kaggle Inc
@@ -272,7 +256,7 @@ class ResumableFileUpload(object):
272
256
 
273
257
 
274
258
  class KaggleApi(KaggleApi):
275
- __version__ = '1.6.10'
259
+ __version__ = '1.6.12'
276
260
 
277
261
  CONFIG_NAME_PROXY = 'proxy'
278
262
  CONFIG_NAME_COMPETITION = 'competition'
@@ -335,6 +319,10 @@ class KaggleApi(KaggleApi):
335
319
  'hotness', 'downloadCount', 'voteCount', 'notebookCount', 'createTime'
336
320
  ]
337
321
 
322
+ # Command prefixes that are valid without authentication.
323
+ command_prefixes_allowing_anonymous_access = ('datasets download',
324
+ 'datasets files')
325
+
338
326
  # Hack for https://github.com/Kaggle/kaggle-api/issues/22 / b/78194015
339
327
  if six.PY2:
340
328
  reload(sys)
@@ -390,6 +378,8 @@ class KaggleApi(KaggleApi):
390
378
  """
391
379
 
392
380
  config_data = {}
381
+ # Ex: 'datasets list', 'competitions files', 'models instances get', etc.
382
+ api_command = ' '.join(sys.argv[1:])
393
383
 
394
384
  # Step 1: try getting username/password from environment
395
385
  config_data = self.read_config_environment(config_data)
@@ -399,6 +389,11 @@ class KaggleApi(KaggleApi):
399
389
  or self.CONFIG_NAME_KEY not in config_data:
400
390
  if os.path.exists(self.config):
401
391
  config_data = self.read_config_file(config_data)
392
+ elif self._is_help_or_version_command(api_command) or (
393
+ len(sys.argv) > 2 and api_command.startswith(
394
+ self.command_prefixes_allowing_anonymous_access)):
395
+ # Some API commands should be allowed without authentication.
396
+ return
402
397
  else:
403
398
  raise IOError('Could not find {}. Make sure it\'s located in'
404
399
  ' {}. Or use the environment method.'.format(
@@ -407,6 +402,16 @@ class KaggleApi(KaggleApi):
407
402
  # Step 3: load into configuration!
408
403
  self._load_config(config_data)
409
404
 
405
+ def _is_help_or_version_command(self, api_command):
406
+ """determines if the string command passed in is for a help or version
407
+ command.
408
+ Parameters
409
+ ==========
410
+ api_command: a string, 'datasets list', 'competitions files',
411
+ 'models instances get', etc.
412
+ """
413
+ return api_command.endswith(('-h', '--help', '-v', '--version'))
414
+
410
415
  def read_config_environment(self, config_data=None, quiet=False):
411
416
  """read_config_environment is the second effort to get a username
412
417
  and key to authenticate to the Kaggle API. The environment keys
@@ -1367,7 +1372,8 @@ class KaggleApi(KaggleApi):
1367
1372
  file_name,
1368
1373
  path=None,
1369
1374
  force=False,
1370
- quiet=True):
1375
+ quiet=True,
1376
+ licenses=[]):
1371
1377
  """ download a single file for a dataset
1372
1378
 
1373
1379
  Parameters
@@ -1378,15 +1384,16 @@ class KaggleApi(KaggleApi):
1378
1384
  path: if defined, download to this location
1379
1385
  force: force the download if the file already exists (default False)
1380
1386
  quiet: suppress verbose output (default is True)
1387
+ licenses: a list of license names, e.g. ['CC0-1.0']
1381
1388
  """
1382
1389
  if '/' in dataset:
1383
1390
  self.validate_dataset_string(dataset)
1384
- dataset_urls = dataset.split('/')
1385
- owner_slug = dataset_urls[0]
1386
- dataset_slug = dataset_urls[1]
1391
+ owner_slug, dataset_slug, dataset_version_number = self.split_dataset_string(
1392
+ dataset)
1387
1393
  else:
1388
1394
  owner_slug = self.get_config_value(self.CONFIG_NAME_USER)
1389
1395
  dataset_slug = dataset
1396
+ dataset_version_number = None
1390
1397
 
1391
1398
  if path is None:
1392
1399
  effective_path = self.get_default_download_dir(
@@ -1394,10 +1401,14 @@ class KaggleApi(KaggleApi):
1394
1401
  else:
1395
1402
  effective_path = path
1396
1403
 
1404
+ self._print_dataset_url_and_license(owner_slug, dataset_slug,
1405
+ dataset_version_number, licenses)
1406
+
1397
1407
  response = self.process_response(
1398
1408
  self.datasets_download_file_with_http_info(
1399
1409
  owner_slug=owner_slug,
1400
1410
  dataset_slug=dataset_slug,
1411
+ dataset_version_number=dataset_version_number,
1401
1412
  file_name=file_name,
1402
1413
  _preload_content=False))
1403
1414
  url = response.retries.history[0].redirect_location.split('?')[0]
@@ -1413,7 +1424,8 @@ class KaggleApi(KaggleApi):
1413
1424
  path=None,
1414
1425
  force=False,
1415
1426
  quiet=True,
1416
- unzip=False):
1427
+ unzip=False,
1428
+ licenses=[]):
1417
1429
  """ download all files for a dataset
1418
1430
 
1419
1431
  Parameters
@@ -1424,6 +1436,7 @@ class KaggleApi(KaggleApi):
1424
1436
  force: force the download if the file already exists (default False)
1425
1437
  quiet: suppress verbose output (default is True)
1426
1438
  unzip: if True, unzip files upon download (default is False)
1439
+ licenses: a list of license names, e.g. ['CC0-1.0']
1427
1440
  """
1428
1441
  if dataset is None:
1429
1442
  raise ValueError('A dataset must be specified')
@@ -1435,6 +1448,9 @@ class KaggleApi(KaggleApi):
1435
1448
  else:
1436
1449
  effective_path = path
1437
1450
 
1451
+ self._print_dataset_url_and_license(owner_slug, dataset_slug,
1452
+ dataset_version_number, licenses)
1453
+
1438
1454
  response = self.process_response(
1439
1455
  self.datasets_download_with_http_info(
1440
1456
  owner_slug=owner_slug,
@@ -1465,6 +1481,19 @@ class KaggleApi(KaggleApi):
1465
1481
  except OSError as e:
1466
1482
  print('Could not delete zip file, got %s' % e)
1467
1483
 
1484
+ def _print_dataset_url_and_license(self, owner_slug, dataset_slug,
1485
+ dataset_version_number, licenses):
1486
+ if dataset_version_number is None:
1487
+ print('Dataset URL: https://www.kaggle.com/datasets/%s/%s' %
1488
+ (owner_slug, dataset_slug))
1489
+ else:
1490
+ print(
1491
+ 'Dataset URL: https://www.kaggle.com/datasets/%s/%s/versions/%s'
1492
+ % (owner_slug, dataset_slug, dataset_version_number))
1493
+
1494
+ if len(licenses) > 0:
1495
+ print('License(s): %s' % (','.join(licenses)))
1496
+
1468
1497
  def dataset_download_cli(self,
1469
1498
  dataset,
1470
1499
  dataset_opt=None,
@@ -1489,18 +1518,37 @@ class KaggleApi(KaggleApi):
1489
1518
  unzip: if True, unzip files upon download (default is False)
1490
1519
  """
1491
1520
  dataset = dataset or dataset_opt
1521
+
1522
+ owner_slug, dataset_slug, _ = self.split_dataset_string(dataset)
1523
+ metadata = self.process_response(
1524
+ self.metadata_get_with_http_info(owner_slug, dataset_slug))
1525
+
1526
+ if 'info' in metadata and 'licenses' in metadata['info']:
1527
+ # license_objs format is like: [{ 'name': 'CC0-1.0' }]
1528
+ license_objs = metadata['info']['licenses']
1529
+ licenses = [
1530
+ license_obj['name'] for license_obj in license_objs
1531
+ if 'name' in license_obj
1532
+ ]
1533
+ else:
1534
+ licenses = [
1535
+ 'Error retrieving license. Please visit the Dataset URL to view license information.'
1536
+ ]
1537
+
1492
1538
  if file_name is None:
1493
1539
  self.dataset_download_files(dataset,
1494
1540
  path=path,
1495
1541
  unzip=unzip,
1496
1542
  force=force,
1497
- quiet=quiet)
1543
+ quiet=quiet,
1544
+ licenses=licenses)
1498
1545
  else:
1499
1546
  self.dataset_download_file(dataset,
1500
1547
  file_name,
1501
1548
  path=path,
1502
1549
  force=force,
1503
- quiet=quiet)
1550
+ quiet=quiet,
1551
+ licenses=licenses)
1504
1552
 
1505
1553
  def _upload_blob(self, path, quiet, blob_type, upload_context):
1506
1554
  """ upload a file
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  # coding: utf-8
18
2
  """
19
3
  Kaggle API
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  #!/usr/bin/python
18
2
  #
19
3
  # Copyright 2019 Kaggle Inc
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  # coding: utf-8
18
2
 
19
3
  """
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  # coding: utf-8
18
2
 
19
3
  # flake8: noqa
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  # coding: utf-8
18
2
 
19
3
  """
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  # coding: utf-8
18
2
 
19
3
  """
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  # coding: utf-8
18
2
 
19
3
  """
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  # coding: utf-8
18
2
 
19
3
  """
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  # coding: utf-8
18
2
 
19
3
  """
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  # coding: utf-8
18
2
 
19
3
  """
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  # coding: utf-8
18
2
 
19
3
  """
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  # coding: utf-8
18
2
 
19
3
  """
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  #!/usr/bin/python
18
2
  #
19
3
  # Copyright 2019 Kaggle Inc
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  # coding: utf-8
18
2
 
19
3
  """
@@ -1,19 +1,3 @@
1
- #!/usr/bin/python
2
- #
3
- # Copyright 2024 Kaggle Inc
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
1
  # coding: utf-8
18
2
 
19
3
  """