<jupyter_start><jupyter_text><jupyter_code>from google.colab import drive
drive.mount('/content/gdrive')
from google.colab import files
files.upload()
!ls -lha kaggle.json
# Next, install the Kaggle API client.
!pip install -q kaggle==1.5.6
# The Kaggle API client expects this file to be in ~/.kaggle, so move it there
!mkdir -p ~/.kaggle
!cp kaggle.json ~/.kaggle/
# This permissions change avoids a warning on Kaggle tool startup.
!chmod 600 ~/.kaggle/kaggle.json
cd /content/gdrive/My Drive/HuBMAP
!pip install --upgrade --force-reinstall --no-deps kaggle==1.5.6
!kaggle -v
!kaggle competitions list
!kaggle competitions download -c "hubmap-kidney-segmentation"
!unzip hubmap-kidney-segmentation.zip<jupyter_output>Archive:  hubmap-kidney-segmentation.zip
replace HuBMAP-20-dataset_information.csv? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
  inflating: HuBMAP-20-dataset_information.csv  
replace sample_submission.csv? [y]es, [n]o, [A]ll, [N]one, [r]ename: a
error:  invalid response [a]
replace sample_submission.csv? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
  inflating: sample_submission.csv   
  inflating: test/2ec3f1bb9-anatomical-structure.json  
  inflating: test/2ec3f1bb9.tiff     
  inflating: test/3589adb90-anatomical-structure.json  
  inflating: test/3589adb90.tiff     
  inflating: test/57512b7f1-anatomical-structure.json  
  inflating: test/57512b7f1.tiff     
  inflating: test/aa05346ff-anatomical-structure.json  
  inflating: test/aa05346ff.tiff     
  inflating: test/d488c759a-anatomical-structure.json  
  inflating: test/d488c759a.tiff     
  inflating: test/sample_submission.csv  
  inflating: train.csv               
  inflating: train/0486052bb-anatomical-structure.json  
  inflating[...]
{'fraction_non_alphanumeric': 0.12006960556844548, 'fraction_numerical': 0.04408352668213457, 'mean_word_length': 4.18018018018018, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '373315', 'license': 'MIT', 'n_tokens_mistral': 712, 'n_tokens_neox': 662, 'n_words': 138, 'path': 'kaggle_API_download.ipynb', 'repo_name': 'sky1ove/Kaggle_HuBMAP', 'size': '1724'}