{"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":"%%writefile requirements.txt\n\ngoogle-cloud-storage==2.9.0\ninvoke==2.2.0\nloguru==0.7.0\nnbparameterise==0.6","metadata":{"execution":{"iopub.status.busy":"2023-11-09T14:48:25.921935Z","iopub.execute_input":"2023-11-09T14:48:25.922317Z","iopub.status.idle":"2023-11-09T14:48:25.931068Z","shell.execute_reply.started":"2023-11-09T14:48:25.922283Z","shell.execute_reply":"2023-11-09T14:48:25.930204Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!pip download --only-binary=:all: --no-deps -r requirements.txt","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2023-11-09T14:48:26.086528Z","iopub.execute_input":"2023-11-09T14:48:26.086889Z","iopub.status.idle":"2023-11-09T14:48:28.648113Z","shell.execute_reply.started":"2023-11-09T14:48:26.086861Z","shell.execute_reply":"2023-11-09T14:48:28.646738Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"import subprocess\nfrom pathlib import Path\n\nfor file in Path(\".\").glob(\"*.whl\"):\n    subprocess.run(f\"pip install --no-deps {str(file)}\", shell=True)","metadata":{"execution":{"iopub.status.busy":"2023-11-09T14:48:28.650717Z","iopub.execute_input":"2023-11-09T14:48:28.651186Z","iopub.status.idle":"2023-11-09T14:48:46.139847Z","shell.execute_reply.started":"2023-11-09T14:48:28.651140Z","shell.execute_reply":"2023-11-09T14:48:46.138936Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"import invoke\nimport loguru\nimport nbparameterise\nfrom google.cloud import storage","metadata":{"execution":{"iopub.status.busy":"2023-11-09T14:48:47.018432Z","iopub.execute_input":"2023-11-09T14:48:47.019095Z","iopub.status.idle":"2023-11-09T14:48:51.582064Z","shell.execute_reply.started":"2023-11-09T14:48:47.019051Z","shell.execute_reply":"2023-11-09T14:48:51.580948Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"!rm requirements.txt","metadata":{"execution":{"iopub.status.busy":"2023-11-09T14:48:51.583863Z","iopub.execute_input":"2023-11-09T14:48:51.584516Z","iopub.status.idle":"2023-11-09T14:48:52.674216Z","shell.execute_reply.started":"2023-11-09T14:48:51.584483Z","shell.execute_reply":"2023-11-09T14:48:52.672626Z"},"trusted":true},"execution_count":null,"outputs":[]}]}