From 1c64a88cb499170ba36fd97c8be0217f1725af17 Mon Sep 17 00:00:00 2001 From: pgoze-ensae Date: Tue, 25 Nov 2025 16:18:28 +0000 Subject: [PATCH] Stashing --- Data_Exploration/explore.ipynb | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/Data_Exploration/explore.ipynb b/Data_Exploration/explore.ipynb index 4de0468..5fdb768 100644 --- a/Data_Exploration/explore.ipynb +++ b/Data_Exploration/explore.ipynb @@ -8,18 +8,48 @@ "**Short notebook to test connectivity with S3 services and explore the data**" ] }, + { + "cell_type": "code", + "execution_count": 6, + "id": "ae3c64fe", + "metadata": {}, + "outputs": [], + "source": [ + "import os\n", + "import s3fs\n", + "fs = s3fs.S3FileSystem(\n", + " client_kwargs={'endpoint_url': 'https://'+'minio-simple.lab.groupe-genes.fr'},\n", + " key = os.environ[\"AWS_ACCESS_KEY_ID\"], \n", + " secret = os.environ[\"AWS_SECRET_ACCESS_KEY\"], \n", + " token = os.environ[\"AWS_SESSION_TOKEN\"])" + ] + }, { "cell_type": "code", "execution_count": null, - "id": "8c4e04e6", + "id": "83472648", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, "language_info": { - "name": "python" + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.13.8" } }, "nbformat": 4,