2025-11-25 17:04:52 +01:00
|
|
|
{
|
|
|
|
|
"cells": [
|
|
|
|
|
{
|
|
|
|
|
"cell_type": "markdown",
|
|
|
|
|
"id": "bd938e6e",
|
|
|
|
|
"metadata": {},
|
|
|
|
|
"source": [
|
|
|
|
|
"**Short notebook to test connectivity with S3 services and explore the data**"
|
|
|
|
|
]
|
|
|
|
|
},
|
2025-11-25 17:18:28 +01:00
|
|
|
{
|
|
|
|
|
"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\"])"
|
|
|
|
|
]
|
|
|
|
|
},
|
2025-11-25 17:04:52 +01:00
|
|
|
{
|
|
|
|
|
"cell_type": "code",
|
|
|
|
|
"execution_count": null,
|
2025-11-25 17:18:28 +01:00
|
|
|
"id": "83472648",
|
2025-11-25 17:04:52 +01:00
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [],
|
|
|
|
|
"source": []
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"metadata": {
|
2025-11-25 17:18:28 +01:00
|
|
|
"kernelspec": {
|
|
|
|
|
"display_name": "Python 3",
|
|
|
|
|
"language": "python",
|
|
|
|
|
"name": "python3"
|
|
|
|
|
},
|
2025-11-25 17:04:52 +01:00
|
|
|
"language_info": {
|
2025-11-25 17:18:28 +01:00
|
|
|
"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"
|
2025-11-25 17:04:52 +01:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"nbformat": 4,
|
|
|
|
|
"nbformat_minor": 5
|
|
|
|
|
}
|