{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"from kaggle_secrets import UserSecretsClient\nuser_secrets = UserSecretsClient()\nGITHUB_TOKEN = user_secrets.get_secret(\"github_token\")","metadata":{"execution":{"iopub.status.busy":"2023-06-20T08:09:57.143233Z","iopub.execute_input":"2023-06-20T08:09:57.143638Z","iopub.status.idle":"2023-06-20T08:09:57.459540Z","shell.execute_reply.started":"2023-06-20T08:09:57.143594Z","shell.execute_reply":"2023-06-20T08:09:57.458531Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!git clone https://{GITHUB_TOKEN}@vesuvius-challenge.git","metadata":{"execution":{"iopub.status.busy":"2023-06-20T08:16:23.985778Z","iopub.execute_input":"2023-06-20T08:16:23.986195Z","iopub.status.idle":"2023-06-20T08:16:24.990375Z","shell.execute_reply.started":"2023-06-20T08:16:23.986163Z","shell.execute_reply":"2023-06-20T08:16:24.989221Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print(f\"https://{GITHUB_TOKEN}@vesuvius-challenge.git\")","metadata":{"execution":{"iopub.status.busy":"2023-06-20T08:26:11.526891Z","iopub.execute_input":"2023-06-20T08:26:11.527367Z","iopub.status.idle":"2023-06-20T08:26:11.534857Z","shell.execute_reply.started":"2023-06-20T08:26:11.527330Z","shell.execute_reply":"2023-06-20T08:26:11.533723Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"# add path path in the system\nimport sys\nsys.path.append(\"vesuvius-challenge\")","metadata":{"execution":{"iopub.status.busy":"2023-06-20T08:17:48.768379Z","iopub.execute_input":"2023-06-20T08:17:48.768796Z","iopub.status.idle":"2023-06-20T08:17:48.774355Z","shell.execute_reply.started":"2023-06-20T08:17:48.768758Z","shell.execute_reply":"2023-06-20T08:17:48.773410Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"import os","metadata":{"execution":{"iopub.status.busy":"2023-06-20T08:28:06.077314Z","iopub.execute_input":"2023-06-20T08:28:06.077781Z","iopub.status.idle":"2023-06-20T08:28:06.082603Z","shell.execute_reply.started":"2023-06-20T08:28:06.077748Z","shell.execute_reply":"2023-06-20T08:28:06.081523Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"# change working directory\nos.chdir(\"/kaggle/input/\")","metadata":{"execution":{"iopub.status.busy":"2023-06-20T08:28:09.073678Z","iopub.execute_input":"2023-06-20T08:28:09.074067Z","iopub.status.idle":"2023-06-20T08:28:09.079247Z","shell.execute_reply.started":"2023-06-20T08:28:09.074039Z","shell.execute_reply":"2023-06-20T08:28:09.077888Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!git clone https://{GITHUB_TOKEN}@vesuvius-challenge.git","metadata":{"execution":{"iopub.status.busy":"2023-06-20T08:28:24.203420Z","iopub.execute_input":"2023-06-20T08:28:24.204255Z","iopub.status.idle":"2023-06-20T08:28:25.218277Z","shell.execute_reply.started":"2023-06-20T08:28:24.204211Z","shell.execute_reply":"2023-06-20T08:28:25.216881Z"},"trusted":true},"execution_count":null,"outputs":[]}]}