diff --git a/AWS/ AWS_Upload_file_to_S3_bucket.ipynb b/AWS/ AWS_Upload_file_to_S3_bucket.ipynb index c6c2815f21..4a31c0cb27 100644 --- a/AWS/ AWS_Upload_file_to_S3_bucket.ipynb +++ b/AWS/ AWS_Upload_file_to_S3_bucket.ipynb @@ -10,7 +10,9 @@ "iopub.status.idle": "2021-02-23T14:22:16.627784Z", "shell.execute_reply": "2021-02-23T14:22:16.626866Z", "shell.execute_reply.started": "2021-02-23T14:22:16.610384Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "\"Naas\"" @@ -19,16 +21,23 @@ { "cell_type": "markdown", "id": "going-execution", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "## AWS - Upload file to S3 bucket" + "## AWS - Upload file to S3 bucket\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/AWS/%20AWS_Upload_file_to_S3_bucket.ipynb)" ] }, { "cell_type": "code", "execution_count": null, "id": "lesser-librarian", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "#! pip install boto3 getpass4" @@ -43,7 +52,9 @@ "iopub.status.busy": "2021-02-23T14:28:14.665219Z", "iopub.status.idle": "2021-02-23T14:28:14.668943Z", "shell.execute_reply": "2021-02-23T14:28:14.666989Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -60,7 +71,10 @@ "cell_type": "code", "execution_count": null, "id": "massive-process", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "s3 = boto3.client('s3', aws_access_key_id=ACCESS_KEY_ID, aws_secret_access_key=SECRET_ACCESS_KEY)\n", @@ -86,8 +100,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Airtable/Airtable_connect.ipynb b/Airtable/Airtable_connect.ipynb index 09cb88f15c..e1bba0b90e 100644 --- a/Airtable/Airtable_connect.ipynb +++ b/Airtable/Airtable_connect.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "perfect-minnesota", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "occupied-reach", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Airtable - Connect" + "# Airtable - Connect\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Airtable/Airtable_connect.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "hairy-calcium", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -24,7 +37,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "protective-fusion", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -49,8 +66,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Airtable/Airtable_delete_data.ipynb b/Airtable/Airtable_delete_data.ipynb index e84f8a6942..3935132e24 100644 --- a/Airtable/Airtable_delete_data.ipynb +++ b/Airtable/Airtable_delete_data.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "brazilian-setting", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "apparent-charity", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Airtable - Delete data" + "# Airtable - Delete data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Airtable/Airtable_delete_data.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "desirable-madison", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -24,7 +37,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "endless-canal", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -34,7 +51,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "forward-criminal", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "data = airtable.get(view='All opportunities', maxRecords=20)\n", @@ -44,7 +65,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "objective-candy", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "airtable.delete_by_field('Name', 'Tom')" @@ -68,8 +93,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Airtable/Airtable_get_data.ipynb b/Airtable/Airtable_get_data.ipynb index 818bb95d1a..41646dcd66 100644 --- a/Airtable/Airtable_get_data.ipynb +++ b/Airtable/Airtable_get_data.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "willing-redhead", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "distinct-camera", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Airtable - Get data" + "# Airtable - Get data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Airtable/Airtable_get_data.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "chronic-conflict", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -24,7 +37,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "controlling-wheat", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -34,7 +51,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "metric-rates", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "data = airtable.get(view='All opportunities', maxRecords=20)\n", @@ -59,8 +80,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Airtable/Airtable_insert_data.ipynb b/Airtable/Airtable_insert_data.ipynb index 1a818eada6..da60c9ebf5 100644 --- a/Airtable/Airtable_insert_data.ipynb +++ b/Airtable/Airtable_insert_data.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "confidential-abuse", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "surgical-musical", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Airtable - Insert data" + "# Airtable - Insert data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Airtable/Airtable_insert_data.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "consistent-sample", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -24,7 +37,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "closed-painting", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -34,7 +51,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "entitled-campaign", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "data = airtable.get(view='All opportunities', maxRecords=20)\n", @@ -44,7 +65,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "optical-sense", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "airtable.insert({'Name': 'Brian'})" @@ -68,8 +93,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Airtable/Airtable_search_data.ipynb b/Airtable/Airtable_search_data.ipynb index d4f36380bb..6347b5b6b5 100644 --- a/Airtable/Airtable_search_data.ipynb +++ b/Airtable/Airtable_search_data.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "laden-cheat", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "stretch-clerk", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Airtable - Search data" + "# Airtable - Search data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Airtable/Airtable_search_data.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "rising-woman", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -24,7 +37,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "impaired-delight", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -34,7 +51,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "collective-touch", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "data = airtable.get(view='All opportunities', maxRecords=20)\n", @@ -44,7 +65,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "voluntary-toronto", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "airtable.search('Name', 'Tom')" @@ -68,8 +93,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/AlphaVantage/AlphaVantage_Get_fundamental_data.ipynb b/AlphaVantage/AlphaVantage_Get_fundamental_data.ipynb index 421b9ef60b..26724864b1 100644 --- a/AlphaVantage/AlphaVantage_Get_fundamental_data.ipynb +++ b/AlphaVantage/AlphaVantage_Get_fundamental_data.ipynb @@ -10,7 +10,9 @@ "iopub.status.idle": "2021-02-23T14:07:40.169288Z", "shell.execute_reply": "2021-02-23T14:07:40.168472Z", "shell.execute_reply.started": "2021-02-23T14:07:40.156456Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "\"Naas\"" @@ -19,9 +21,13 @@ { "cell_type": "markdown", "id": "contemporary-nickname", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Alpha Vantage - Get fundamental data" + "# Alpha Vantage - Get fundamental data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/AlphaVantage/AlphaVantage_Get_fundamental_data.ipynb)" ] }, { @@ -34,7 +40,9 @@ "iopub.status.idle": "2021-02-23T14:11:21.157581Z", "shell.execute_reply": "2021-02-23T14:11:21.157084Z", "shell.execute_reply.started": "2021-02-23T14:11:21.153281Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "## Company overview" @@ -44,7 +52,10 @@ "cell_type": "code", "execution_count": null, "id": "occasional-freight", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import requests\n", @@ -58,7 +69,10 @@ { "cell_type": "markdown", "id": "protected-neighbor", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Income statement " ] @@ -67,7 +81,10 @@ "cell_type": "code", "execution_count": null, "id": "extreme-programmer", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import requests\n", @@ -80,7 +97,10 @@ { "cell_type": "markdown", "id": "unnecessary-official", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Balance sheet " ] @@ -89,7 +109,10 @@ "cell_type": "code", "execution_count": null, "id": "photographic-times", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import requests\n", @@ -103,7 +126,10 @@ { "cell_type": "markdown", "id": "tough-movement", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Cashflow statement" ] @@ -112,7 +138,10 @@ "cell_type": "code", "execution_count": null, "id": "oriented-providence", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import requests\n", @@ -141,8 +170,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Bubble/Bubble_Trigger_workflow.ipynb b/Bubble/Bubble_Trigger_workflow.ipynb index f3414b9fb9..3f2e53fb3d 100644 --- a/Bubble/Bubble_Trigger_workflow.ipynb +++ b/Bubble/Bubble_Trigger_workflow.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "athletic-turning", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -11,16 +14,23 @@ { "cell_type": "markdown", "id": "obvious-currency", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Bubble - Trigger workflow" + "# Bubble - Trigger workflow\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Bubble/Bubble_Trigger_workflow.ipynb)" ] }, { "cell_type": "code", "execution_count": null, "id": "administrative-director", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -47,8 +57,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/CCXT/CCXT_Calculate_Support_and_Resistance.ipynb b/CCXT/CCXT_Calculate_Support_and_Resistance.ipynb index 50a739425a..de1e608144 100644 --- a/CCXT/CCXT_Calculate_Support_and_Resistance.ipynb +++ b/CCXT/CCXT_Calculate_Support_and_Resistance.ipynb @@ -3,17 +3,24 @@ { "cell_type": "markdown", "id": "thermal-speed", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n", "\n", - "# Cryto - Bitcoin - Calculate Support and resistance " + "# Cryto - Bitcoin - Calculate Support and resistance \n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/CCXT/CCXT_Calculate_Support_and_Resistance.ipynb)" ] }, { "cell_type": "markdown", "id": "liberal-bosnia", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Prerequisite : get binance API Key" ] @@ -22,7 +29,10 @@ "cell_type": "code", "execution_count": null, "id": "sustainable-xerox", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "pip install trendln matplotlib==3.1.3 --user" @@ -39,7 +49,9 @@ "iopub.status.idle": "2021-01-29T11:26:04.852307Z", "shell.execute_reply": "2021-01-29T11:26:04.851658Z", "shell.execute_reply.started": "2021-01-29T11:26:02.833084Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -62,7 +74,9 @@ "iopub.status.idle": "2021-01-29T11:26:05.494624Z", "shell.execute_reply": "2021-01-29T11:26:05.493214Z", "shell.execute_reply.started": "2021-01-29T11:26:04.853862Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -84,7 +98,9 @@ "iopub.status.idle": "2021-01-29T11:26:05.535225Z", "shell.execute_reply": "2021-01-29T11:26:05.534726Z", "shell.execute_reply.started": "2021-01-29T11:26:05.497772Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -260,7 +276,9 @@ "iopub.status.idle": "2021-01-29T11:43:08.274889Z", "shell.execute_reply": "2021-01-29T11:43:08.274171Z", "shell.execute_reply.started": "2021-01-29T11:43:07.295682Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -304,7 +322,9 @@ "iopub.status.idle": "2021-01-29T11:43:08.420560Z", "shell.execute_reply": "2021-01-29T11:43:08.419418Z", "shell.execute_reply.started": "2021-01-29T11:43:08.276398Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -356,7 +376,9 @@ "iopub.status.idle": "2021-01-29T11:43:09.261085Z", "shell.execute_reply": "2021-01-29T11:43:09.260596Z", "shell.execute_reply.started": "2021-01-29T11:43:09.243367Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -1707,7 +1729,10 @@ "cell_type": "code", "execution_count": null, "id": "developed-original", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -1729,8 +1754,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/CCXT/CCXT_Predict_Bitcoin_from_Binance.ipynb b/CCXT/CCXT_Predict_Bitcoin_from_Binance.ipynb index 380ab8f9f1..3baf53ebda 100644 --- a/CCXT/CCXT_Predict_Bitcoin_from_Binance.ipynb +++ b/CCXT/CCXT_Predict_Bitcoin_from_Binance.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "upper-ladder", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -11,15 +14,22 @@ { "cell_type": "markdown", "id": "pleased-transfer", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# CCXT - Predict Bitcoin price from Binance" + "# CCXT - Predict Bitcoin price from Binance\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/CCXT/CCXT_Predict_Bitcoin_from_Binance.ipynb)" ] }, { "cell_type": "markdown", "id": "excess-reason", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Prerequisite : get binance API Key" ] @@ -28,7 +38,10 @@ "cell_type": "code", "execution_count": null, "id": "further-champagne", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "pip install ccxt --user" @@ -45,7 +58,9 @@ "iopub.status.idle": "2021-01-28T20:10:13.080969Z", "shell.execute_reply": "2021-01-28T20:10:13.080437Z", "shell.execute_reply.started": "2021-01-28T20:10:13.076431Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -67,7 +82,9 @@ "iopub.status.idle": "2021-01-28T20:32:44.318747Z", "shell.execute_reply": "2021-01-28T20:32:44.318119Z", "shell.execute_reply.started": "2021-01-28T20:32:43.280413Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -91,7 +108,9 @@ "iopub.status.idle": "2021-01-28T20:32:44.826811Z", "shell.execute_reply": "2021-01-28T20:32:44.826210Z", "shell.execute_reply.started": "2021-01-28T20:32:44.810362Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -267,7 +286,9 @@ "iopub.status.idle": "2021-01-28T20:30:04.790593Z", "shell.execute_reply": "2021-01-28T20:30:04.789993Z", "shell.execute_reply.started": "2021-01-28T20:30:04.773006Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -2177,7 +2198,9 @@ "iopub.status.idle": "2021-01-28T20:30:04.880135Z", "shell.execute_reply": "2021-01-28T20:30:04.879565Z", "shell.execute_reply.started": "2021-01-28T20:30:04.792092Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -2200,7 +2223,9 @@ "iopub.status.idle": "2021-01-28T20:30:05.695066Z", "shell.execute_reply": "2021-01-28T20:30:05.694235Z", "shell.execute_reply.started": "2021-01-28T20:30:05.236219Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -2237,7 +2262,9 @@ "iopub.status.idle": "2021-01-28T20:30:05.767483Z", "shell.execute_reply": "2021-01-28T20:30:05.766895Z", "shell.execute_reply.started": "2021-01-28T20:30:05.721162Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -5401,8 +5428,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/CSV/Read_a_csv_file.ipynb b/CSV/Read_a_csv_file.ipynb index 2d231f8447..31b9451151 100644 --- a/CSV/Read_a_csv_file.ipynb +++ b/CSV/Read_a_csv_file.ipynb @@ -2,15 +2,24 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "elder-rugby", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Read a csv file (from the web)" + "# Read a csv file (from the web)\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/CSV/Read_a_csv_file.ipynb)" ] }, { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "suited-adelaide", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -130,7 +139,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "dynamic-radius", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -152,8 +165,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Canny/Canny_Create.ipynb b/Canny/Canny_Create.ipynb index d7979eaefc..c03946f6fe 100644 --- a/Canny/Canny_Create.ipynb +++ b/Canny/Canny_Create.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "appreciated-reset", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "strong-medium", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Canny posts create" + "# Canny posts create\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Canny/Canny_Create.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "fixed-constitutional", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "imported-linux", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Enter credentials" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "confused-tribe", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import requests\n", @@ -42,7 +63,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "planned-helena", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "canny_api = \"**********\" # api key of canny\n", @@ -52,7 +77,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "arranged-mileage", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Board dataframe using api-key" ] @@ -60,7 +89,11 @@ { "cell_type": "code", "execution_count": 8, - "metadata": {}, + "id": "thousand-pension", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "api_key = {\n", @@ -83,7 +116,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "average-twenty", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Enter board name" ] @@ -91,7 +128,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "competent-enzyme", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "board_name = \"Requests\" #Enter board name\n", @@ -106,7 +147,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "fixed-evans", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Using api and board name to get author list" ] @@ -114,7 +159,11 @@ { "cell_type": "code", "execution_count": 9, - "metadata": {}, + "id": "promising-declaration", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "response = requests.get(\"https://canny.io/api/v1/posts/list\")\n", @@ -133,7 +182,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "soviet-lawsuit", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Enter author name" ] @@ -141,7 +194,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "interpreted-tolerance", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "author_name = \"Sanjay Sabu\" #Enter author name\n", @@ -155,7 +212,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "registered-excerpt", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Creating post" ] @@ -163,7 +224,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "moved-amber", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "post_title = {\n", @@ -194,8 +259,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Canny/Canny_Github_issue_update.ipynb b/Canny/Canny_Github_issue_update.ipynb index ab503017ae..ef7b5054a0 100644 --- a/Canny/Canny_Github_issue_update.ipynb +++ b/Canny/Canny_Github_issue_update.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "arranged-giant", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "assigned-certificate", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Canny -> Github" + "# Canny -> Github\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Canny/Canny_Github_issue_update.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "quarterly-constitutional", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -24,7 +37,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "weekly-speech", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "#pip install PyGithub" @@ -32,7 +49,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "narrow-channel", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Pre-requisite - Import packages" ] @@ -40,7 +61,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "fatal-square", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import requests\n", @@ -50,7 +75,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "quiet-bradford", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 1 - Insert your accounts details" ] @@ -58,7 +87,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "premier-clothing", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# For Github \n", @@ -72,21 +105,33 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "apparent-reach", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "#### Input api-keys " ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "noble-stadium", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 2 - Get Canny posts Dataframe" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "alpha-breast", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Retrieve posts" ] @@ -94,7 +139,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "urban-semester", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "response = requests.get(canny_post_url)\n", @@ -105,7 +154,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "spiritual-natural", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 3 - Check connection status" ] @@ -113,7 +166,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "partial-design", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -133,7 +190,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "imperial-grace", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 4 - Generating dataframe" ] @@ -141,7 +202,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "occupational-heavy", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -382,7 +447,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "indian-retreat", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "## add url to dataframe" @@ -390,7 +459,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "living-influence", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 6 - Existing issue list" ] @@ -398,7 +471,11 @@ { "cell_type": "code", "execution_count": 8, - "metadata": {}, + "id": "conventional-peeing", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "issues = []\n", @@ -411,7 +488,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "detailed-binary", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 7 - Push all issues" ] @@ -419,7 +500,11 @@ { "cell_type": "code", "execution_count": 9, - "metadata": {}, + "id": "shaped-chemical", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "repo = g.get_repo(github_repo)\n", @@ -430,7 +515,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "regulated-religion", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Close all issues" ] @@ -438,7 +527,11 @@ { "cell_type": "code", "execution_count": 10, - "metadata": {}, + "id": "flush-substitute", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# repo = g.get_repo(github_repo)\n", @@ -465,8 +558,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Canny/Canny_Read.ipynb b/Canny/Canny_Read.ipynb index 40a147ae9f..4d6460a1b4 100644 --- a/Canny/Canny_Read.ipynb +++ b/Canny/Canny_Read.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "practical-marsh", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "abandoned-costume", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Canny posts view" + "# Canny posts view\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Canny/Canny_Read.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "lined-address", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "affected-pittsburgh", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Enter credentials" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "median-cooling", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "canny_api = \"**********\" # api key of canny" @@ -39,7 +60,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "recent-momentum", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Connecting to canny" ] @@ -47,7 +72,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "fuzzy-attraction", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import requests\n", @@ -109,7 +138,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "affiliated-contract", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Post Retrieve" ] @@ -117,7 +150,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "outstanding-bracket", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -356,7 +393,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "partial-logging", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Save as csv" ] @@ -364,7 +405,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "tight-discharge", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "canny(canny_api).read().to_csv('naas_canny.csv') " @@ -373,7 +418,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "ruled-bedroom", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -395,8 +444,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Cityfalcon/Cityfalcon_Get_data_from_API.ipynb b/Cityfalcon/Cityfalcon_Get_data_from_API.ipynb index c1a2364668..6ef7119005 100644 --- a/Cityfalcon/Cityfalcon_Get_data_from_API.ipynb +++ b/Cityfalcon/Cityfalcon_Get_data_from_API.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "congressional-lincoln", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -11,16 +14,23 @@ { "cell_type": "markdown", "id": "great-basket", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Cityfalcon - Get data from API" + "# Cityfalcon - Get data from API\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Cityfalcon/Cityfalcon_Get_data_from_API.ipynb)" ] }, { "cell_type": "code", "execution_count": null, "id": "tracked-cleaner", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -45,8 +55,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git "a/Data.gouv.fr/COVID19 - FR - Entr\303\251es et sorties par r\303\251gion pour 1 million d'hab..ipynb" "b/Data.gouv.fr/COVID19 - FR - Entr\303\251es et sorties par r\303\251gion pour 1 million d'hab..ipynb" index 1f91f82695..b868a42589 100644 --- "a/Data.gouv.fr/COVID19 - FR - Entr\303\251es et sorties par r\303\251gion pour 1 million d'hab..ipynb" +++ "b/Data.gouv.fr/COVID19 - FR - Entr\303\251es et sorties par r\303\251gion pour 1 million d'hab..ipynb" @@ -2,12 +2,16 @@ "cells": [ { "cell_type": "markdown", + "id": "urban-justice", "metadata": { "colab_type": "text", - "id": "52pde5EhVGqT" + "id": "52pde5EhVGqT", + "papermill": {}, + "tags": [] }, "source": [ "# COVID19 - FR - Entrées et sorties par région pour 1 million d'hab.\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Data.gouv.fr/COVID19%20-%20%20FR%20-%20Entr%C3%A9es%20et%20sorties%20par%20r%C3%A9gion%20pour%201%20million%20d%27hab..ipynb)\n", "\n", "Sur géodes (https://geodes.santepubliquefrance.fr/#c=indicator&view=map2…), aller dans COVID>données hospitalières>Nombre quotidien de nouvelles personnes en réanimation\n", "\n", @@ -32,9 +36,12 @@ }, { "cell_type": "markdown", + "id": "exciting-rescue", "metadata": { "colab_type": "text", - "id": "7FA-8pmOVjKO" + "id": "7FA-8pmOVjKO", + "papermill": {}, + "tags": [] }, "source": [ "*** Imports :**" @@ -43,10 +50,13 @@ { "cell_type": "code", "execution_count": 1, + "id": "innovative-miracle", "metadata": { "colab": {}, "colab_type": "code", - "id": "jagZiGoqVn1o" + "id": "jagZiGoqVn1o", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -60,9 +70,12 @@ }, { "cell_type": "markdown", + "id": "communist-somewhere", "metadata": { "colab_type": "text", - "id": "JzlBOp_MVrlA" + "id": "JzlBOp_MVrlA", + "papermill": {}, + "tags": [] }, "source": [ "*** Variables :**" @@ -71,10 +84,13 @@ { "cell_type": "code", "execution_count": 2, + "id": "awful-serial", "metadata": { "colab": {}, "colab_type": "code", - "id": "w7sZu-QjV8QU" + "id": "w7sZu-QjV8QU", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -110,9 +126,12 @@ }, { "cell_type": "markdown", + "id": "distinguished-cholesterol", "metadata": { "colab_type": "text", - "id": "gsFJOu37Wtnu" + "id": "gsFJOu37Wtnu", + "papermill": {}, + "tags": [] }, "source": [ "*** Récupération des données :**" @@ -121,10 +140,13 @@ { "cell_type": "code", "execution_count": 3, + "id": "laughing-instrument", "metadata": { "colab": {}, "colab_type": "code", - "id": "EZRSZeNdCr4F" + "id": "EZRSZeNdCr4F", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -154,9 +176,12 @@ }, { "cell_type": "markdown", + "id": "distributed-disclosure", "metadata": { "colab_type": "text", - "id": "ykWaVK_Wdm2N" + "id": "ykWaVK_Wdm2N", + "papermill": {}, + "tags": [] }, "source": [ "*** Calcul des données :**" @@ -165,10 +190,13 @@ { "cell_type": "code", "execution_count": 4, + "id": "afraid-plane", "metadata": { "colab": {}, "colab_type": "code", - "id": "ySTHWg1Nd0X-" + "id": "ySTHWg1Nd0X-", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -194,9 +222,12 @@ }, { "cell_type": "markdown", + "id": "reflected-sauce", "metadata": { "colab_type": "text", - "id": "IvNnTo8Eg24W" + "id": "IvNnTo8Eg24W", + "papermill": {}, + "tags": [] }, "source": [ "*** Mise en forme des données :**" @@ -205,6 +236,7 @@ { "cell_type": "code", "execution_count": 5, + "id": "convinced-screening", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -212,7 +244,9 @@ }, "colab_type": "code", "id": "kNM5uuaSg4Jn", - "outputId": "c39b4573-1d9c-4e66-8836-385722941564" + "outputId": "c39b4573-1d9c-4e66-8836-385722941564", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -390,9 +424,12 @@ }, { "cell_type": "markdown", + "id": "going-adolescent", "metadata": { "colab_type": "text", - "id": "w0BBkRBtpLzw" + "id": "w0BBkRBtpLzw", + "papermill": {}, + "tags": [] }, "source": [ "*** Plotting :**" @@ -401,6 +438,7 @@ { "cell_type": "code", "execution_count": 6, + "id": "independent-commodity", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -408,7 +446,9 @@ }, "colab_type": "code", "id": "0CH_4xlPpShW", - "outputId": "7e6f3805-f88d-492c-a4b6-de216320e342" + "outputId": "7e6f3805-f88d-492c-a4b6-de216320e342", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -5771,8 +5811,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Elastic Search/Elastic Search_Connect_to_server.ipynb b/Elastic Search/Elastic Search_Connect_to_server.ipynb index 067719c8c2..a4bc2bed3f 100644 --- a/Elastic Search/Elastic Search_Connect_to_server.ipynb +++ b/Elastic Search/Elastic Search_Connect_to_server.ipynb @@ -2,35 +2,56 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "later-jacksonville", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "engaging-toddler", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "## Elastic - Connect to server" + "## Elastic - Connect to server\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Elastic%20Search/Elastic%20Search_Connect_to_server.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "taken-faculty", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "palestinian-deployment", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 1. Prerequisites" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "weird-fence", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "- python3\n", "- ubuntu 18.04\n", @@ -39,21 +60,33 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "printable-yield", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 2. Elasticsearch on local machine" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "organized-movement", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "#### Install Linux packages" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "imperial-columbus", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "```sh\n", "$ sudo apt update\n", @@ -67,14 +100,22 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "preceding-representative", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "#### Check status of Elasticsearch server (Local)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "irish-breach", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "```sh\n", "$ sudo /etc/init.d/elasticsearch status\n", @@ -83,14 +124,22 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "compressed-ethnic", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "#### Start Elasticsearch server (Local)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "polished-marijuana", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "```sh\n", "$ sudo /etc/init.d/elasticsearch start\n", @@ -99,49 +148,77 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "tired-sperm", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "##### Note : Install Java 1.8 and set Java environment variables path" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "together-kinase", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 3. Elasticsearch on cloud" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "anonymous-liability", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "#### Step 1: Login to https://www.elastic.co/ and create a deployment" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "hourly-lotus", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "#### Step 2: On successful deployment get credentials" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "wired-presence", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "#### Step 3: Create Elasticsearch credentials JSON" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "floral-quebec", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "#### Credentials Json format" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "decreased-skating", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "```sh\n", "{\n", @@ -156,7 +233,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "electrical-spectrum", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 4. Python connector for Elasticsearch" ] @@ -164,7 +245,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "abandoned-console", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -183,7 +268,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "russian-browse", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Send data to Elasticsearch server\n", @@ -197,7 +286,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "broken-turning", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Search data from Elasticsearch server\n", @@ -208,7 +301,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "latter-purchase", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -229,7 +326,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "impressive-saver", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -251,7 +352,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "acceptable-right", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -273,8 +378,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Excel/Excel 365/Access Excel 365 sheet.ipynb b/Excel/Excel 365/Access Excel 365 sheet.ipynb index c999cbe92e..75873352da 100644 --- a/Excel/Excel 365/Access Excel 365 sheet.ipynb +++ b/Excel/Excel 365/Access Excel 365 sheet.ipynb @@ -2,14 +2,23 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "unsigned-study", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Excel 365 driver" + "# Excel 365 driver\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Excel/Excel%20365/Access%20Excel%20365%20sheet.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "unknown-stamp", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Step 1. Install pip package" ] @@ -17,7 +26,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "amateur-affiliate", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -41,7 +54,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "neither-reference", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Step 2. Import sharepoint connector" ] @@ -49,7 +66,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "numerical-traffic", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import sharepoint_connector" @@ -57,7 +78,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "biblical-cosmetic", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Step 3. Set variables\n", "- username - username of sharepoint account\n", @@ -73,7 +98,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "micro-travel", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "password=\"9aXgzH2DRqKCCU8z\"\n", @@ -87,7 +116,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "frank-appearance", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -1041,7 +1074,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "becoming-chaos", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -1063,8 +1100,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.5" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Excel/Excel_Consolidate_files.ipynb b/Excel/Excel_Consolidate_files.ipynb index f62605581a..f4f7b36d17 100644 --- a/Excel/Excel_Consolidate_files.ipynb +++ b/Excel/Excel_Consolidate_files.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "tribal-wyoming", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "elect-lover", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Consolidate multiple Excel files" + "# Consolidate multiple Excel files\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Excel/Excel_Consolidate_files.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "weird-currency", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Read file 1 " ] @@ -24,6 +37,7 @@ { "cell_type": "code", "execution_count": 1, + "id": "visible-binding", "metadata": { "execution": { "iopub.execute_input": "2021-01-26T14:47:55.684883Z", @@ -31,7 +45,9 @@ "iopub.status.idle": "2021-01-26T14:47:57.921894Z", "shell.execute_reply": "2021-01-26T14:47:57.921351Z", "shell.execute_reply.started": "2021-01-26T14:47:55.684817Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -112,7 +128,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "freelance-venture", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Read file 2" ] @@ -120,7 +140,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "express-exhibition", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -198,7 +222,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "signal-sterling", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Consolidate files" ] @@ -206,7 +234,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "expected-apollo", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -311,7 +343,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "written-projection", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Export consolidated file " ] @@ -319,7 +355,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "negative-cradle", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "data.to_excel(\"Conso.xlsx\")" @@ -327,6 +367,7 @@ }, { "cell_type": "markdown", + "id": "experienced-bleeding", "metadata": { "execution": { "iopub.execute_input": "2021-01-26T14:49:22.992682Z", @@ -334,7 +375,9 @@ "iopub.status.idle": "2021-01-26T14:49:22.995432Z", "shell.execute_reply": "2021-01-26T14:49:22.994789Z", "shell.execute_reply.started": "2021-01-26T14:49:22.992660Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "## Create a shareable link" @@ -343,7 +386,11 @@ { "cell_type": "code", "execution_count": 9, - "metadata": {}, + "id": "regional-liechtenstein", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -408,7 +455,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "electoral-press", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -430,8 +481,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Excel/Excel_Read_file.ipynb b/Excel/Excel_Read_file.ipynb index f62605581a..abff75f5fe 100644 --- a/Excel/Excel_Read_file.ipynb +++ b/Excel/Excel_Read_file.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "tropical-breakfast", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "danish-allergy", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Consolidate multiple Excel files" + "# Consolidate multiple Excel files\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Excel/Excel_Read_file.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "surgical-birmingham", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Read file 1 " ] @@ -24,6 +37,7 @@ { "cell_type": "code", "execution_count": 1, + "id": "hawaiian-consortium", "metadata": { "execution": { "iopub.execute_input": "2021-01-26T14:47:55.684883Z", @@ -31,7 +45,9 @@ "iopub.status.idle": "2021-01-26T14:47:57.921894Z", "shell.execute_reply": "2021-01-26T14:47:57.921351Z", "shell.execute_reply.started": "2021-01-26T14:47:55.684817Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -112,7 +128,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "expired-target", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Read file 2" ] @@ -120,7 +140,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "agreed-correspondence", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -198,7 +222,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "empirical-encyclopedia", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Consolidate files" ] @@ -206,7 +234,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "central-puppy", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -311,7 +343,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "appropriate-roommate", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Export consolidated file " ] @@ -319,7 +355,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "bored-quantum", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "data.to_excel(\"Conso.xlsx\")" @@ -327,6 +367,7 @@ }, { "cell_type": "markdown", + "id": "chief-folks", "metadata": { "execution": { "iopub.execute_input": "2021-01-26T14:49:22.992682Z", @@ -334,7 +375,9 @@ "iopub.status.idle": "2021-01-26T14:49:22.995432Z", "shell.execute_reply": "2021-01-26T14:49:22.994789Z", "shell.execute_reply.started": "2021-01-26T14:49:22.992660Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "## Create a shareable link" @@ -343,7 +386,11 @@ { "cell_type": "code", "execution_count": 9, - "metadata": {}, + "id": "international-reminder", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -408,7 +455,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "surgical-officer", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -430,8 +481,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/FTP/FTPS_Connect.ipynb b/FTP/FTPS_Connect.ipynb index 45057c2200..cfb8393d3a 100644 --- a/FTP/FTPS_Connect.ipynb +++ b/FTP/FTPS_Connect.ipynb @@ -2,22 +2,35 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "liberal-tourism", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "entire-ultimate", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# FTP - Get file " + "# FTP - Get file \n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/FTP/FTPS_Connect.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "empirical-armor", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers" @@ -26,7 +39,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "portable-shower", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Connect \n", @@ -38,7 +55,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "conscious-right", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "path = \"/path/to/file/in/ftp\"\n", @@ -71,9 +92,15 @@ "mimetype": "text/x-python", "name": "python", "npconvert_exporter": "python", + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" + }, "pygments_lexer": "ipython3", "version": 3 }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/FTP/FTP_Connect.ipynb b/FTP/FTP_Connect.ipynb index 45057c2200..3a18c5c3ff 100644 --- a/FTP/FTP_Connect.ipynb +++ b/FTP/FTP_Connect.ipynb @@ -2,22 +2,35 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "declared-actor", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "rolled-norman", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# FTP - Get file " + "# FTP - Get file \n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/FTP/FTP_Connect.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "acute-hormone", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers" @@ -26,7 +39,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "daily-thesis", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Connect \n", @@ -38,7 +55,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "encouraging-fabric", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "path = \"/path/to/file/in/ftp\"\n", @@ -71,9 +92,15 @@ "mimetype": "text/x-python", "name": "python", "npconvert_exporter": "python", + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" + }, "pygments_lexer": "ipython3", "version": 3 }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/FTP/FTP_Get_file.ipynb b/FTP/FTP_Get_file.ipynb index 2474e3aac3..c8239fdb9b 100644 --- a/FTP/FTP_Get_file.ipynb +++ b/FTP/FTP_Get_file.ipynb @@ -2,22 +2,35 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "scenic-enclosure", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "solar-corrections", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# FTPS - Connect" + "# FTPS - Connect\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/FTP/FTP_Get_file.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "square-mechanics", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers" @@ -26,7 +39,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "hollow-confusion", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Connect \n", @@ -58,9 +75,15 @@ "mimetype": "text/x-python", "name": "python", "npconvert_exporter": "python", + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" + }, "pygments_lexer": "ipython3", "version": 3 }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/FTP/FTP_Send_file.ipynb b/FTP/FTP_Send_file.ipynb index 4028e69968..4134c19c24 100644 --- a/FTP/FTP_Send_file.ipynb +++ b/FTP/FTP_Send_file.ipynb @@ -2,22 +2,35 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "clear-judgment", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "lonely-complement", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# FTP - Send file " + "# FTP - Send file \n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/FTP/FTP_Send_file.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "wireless-money", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers" @@ -26,7 +39,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "irish-respondent", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Connect \n", @@ -38,7 +55,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "geological-probe", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "path = \"/path/to/local/file\"\n", @@ -72,9 +93,15 @@ "mimetype": "text/x-python", "name": "python", "npconvert_exporter": "python", + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" + }, "pygments_lexer": "ipython3", "version": 3 }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Github/Github_Close_issue.ipynb b/Github/Github_Close_issue.ipynb index 13e3e9cdcf..4b0dd8c295 100644 --- a/Github/Github_Close_issue.ipynb +++ b/Github/Github_Close_issue.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "martial-visiting", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "sealed-kelly", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Github issue close" + "# Github issue close\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Github/Github_Close_issue.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "exact-preference", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "finnish-malaysia", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 1 - Enter repository path and token" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 11, - "metadata": {}, + "id": "corporate-click", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "repo_name = \"**********\" # Repository path\n", @@ -40,7 +61,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "aware-drama", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 2 - Establishing connection" ] @@ -48,7 +73,11 @@ { "cell_type": "code", "execution_count": 12, - "metadata": {}, + "id": "yellow-enzyme", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from github import Github\n", @@ -57,7 +86,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "developing-hartford", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 3 - See issue list" ] @@ -65,7 +98,11 @@ { "cell_type": "code", "execution_count": 19, - "metadata": {}, + "id": "minute-event", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -134,14 +171,22 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "independent-chancellor", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 4 - Closing the issues" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "alternative-problem", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Closing using issue number" ] @@ -149,7 +194,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "isolated-knowing", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# num = 447\n", @@ -160,7 +209,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "modern-herald", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### To close all issues" ] @@ -168,7 +221,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "third-express", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "repo = g.get_repo(repo_name)\n", @@ -195,8 +252,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Github/Github_Create_issue.ipynb b/Github/Github_Create_issue.ipynb index 6ab2d17fd7..1096ffcdda 100644 --- a/Github/Github_Create_issue.ipynb +++ b/Github/Github_Create_issue.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "corrected-laptop", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "chicken-defendant", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Github issue creation" + "# Github issue creation\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Github/Github_Create_issue.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "designed-acrylic", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "committed-mortality", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 1 - Enter repository path and token" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "posted-doctrine", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "repo_name = \"**********\" # Repository path\n", @@ -43,7 +64,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "atmospheric-scope", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 2 - Establishing connection" ] @@ -51,7 +76,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "dense-reading", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from github import Github\n", @@ -60,7 +89,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "responsible-banana", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 3 - Creating github issue with assignee" ] @@ -68,7 +101,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "chinese-subcommittee", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -104,8 +141,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Github/Github_Download_file_from_url.ipynb b/Github/Github_Download_file_from_url.ipynb index 3ef4d5bbfc..c1ead4b76f 100644 --- a/Github/Github_Download_file_from_url.ipynb +++ b/Github/Github_Download_file_from_url.ipynb @@ -10,7 +10,9 @@ "iopub.status.idle": "2021-01-26T14:19:41.746082Z", "shell.execute_reply": "2021-01-26T14:19:41.745168Z", "shell.execute_reply.started": "2021-01-26T14:19:41.734276Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "\"Naas\"" @@ -26,10 +28,13 @@ "iopub.status.idle": "2021-01-26T14:20:23.715365Z", "shell.execute_reply": "2021-01-26T14:20:23.714680Z", "shell.execute_reply.started": "2021-01-26T14:20:23.712660Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ - "# Create Download url for github file" + "# Create Download url for github file\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Github/Github_Download_file_from_url.ipynb)" ] }, { @@ -42,7 +47,9 @@ "iopub.status.idle": "2021-01-26T14:20:42.283029Z", "shell.execute_reply": "2021-01-26T14:20:42.282302Z", "shell.execute_reply.started": "2021-01-26T14:20:42.280412Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "## Import needed library" @@ -59,7 +66,9 @@ "iopub.status.idle": "2021-02-28T10:55:31.722822Z", "shell.execute_reply": "2021-02-28T10:55:31.722138Z", "shell.execute_reply.started": "2021-02-28T10:55:28.842987Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -71,7 +80,10 @@ { "cell_type": "markdown", "id": "inner-redhead", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Default Github file for testing purpose" ] @@ -88,6 +100,7 @@ "shell.execute_reply": "2021-02-28T10:55:32.729877Z", "shell.execute_reply.started": "2021-02-28T10:55:32.727505Z" }, + "papermill": {}, "tags": [ "parameters" ] @@ -100,7 +113,10 @@ { "cell_type": "markdown", "id": "polished-creek", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Convert url to downloadable one" ] @@ -116,7 +132,9 @@ "iopub.status.idle": "2021-02-28T10:55:33.925422Z", "shell.execute_reply": "2021-02-28T10:55:33.924798Z", "shell.execute_reply.started": "2021-02-28T10:55:33.921678Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -137,7 +155,10 @@ { "cell_type": "markdown", "id": "earned-slovakia", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Dowload file locally" ] @@ -153,7 +174,9 @@ "iopub.status.idle": "2021-02-28T10:55:39.122045Z", "shell.execute_reply": "2021-02-28T10:55:39.121369Z", "shell.execute_reply.started": "2021-02-28T10:55:38.998273Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -172,7 +195,10 @@ "cell_type": "code", "execution_count": null, "id": "tracked-palmer", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -194,8 +220,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Github/Github_Peform_basic_actions.ipynb b/Github/Github_Peform_basic_actions.ipynb index 1f458bd267..38d176b50c 100644 --- a/Github/Github_Peform_basic_actions.ipynb +++ b/Github/Github_Peform_basic_actions.ipynb @@ -2,15 +2,24 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "aboriginal-overall", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Perform Git basic actions\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Github/Github_Peform_basic_actions.ipynb)\n", "(clone,commit,push,pull,checkout)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "psychological-technical", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Git configuration" ] @@ -18,7 +27,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "directed-employee", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "config = {\n", @@ -34,7 +47,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "indirect-closing", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Configuration attribute description\n", "- username : Git username\n", @@ -48,7 +65,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "unlike-province", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Execute Github connector" ] @@ -56,7 +77,11 @@ { "cell_type": "code", "execution_count": 8, - "metadata": {}, + "id": "native-collectible", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -77,7 +102,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "sweet-scanning", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -99,8 +128,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Github/Github_Read_issue.ipynb b/Github/Github_Read_issue.ipynb index d1ab162820..0df6d1daed 100644 --- a/Github/Github_Read_issue.ipynb +++ b/Github/Github_Read_issue.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "radical-progress", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "hazardous-promise", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Github issues read" + "# Github issues read\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Github/Github_Read_issue.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "veterinary-algorithm", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "regulation-steering", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 1 - Enter repository path and token" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "focal-neutral", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "repo_name = \"**********\" # Repository path\n", @@ -40,7 +61,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "standing-empty", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 2 - Establishing connection" ] @@ -48,7 +73,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "hollow-ladder", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from github import Github\n", @@ -57,7 +86,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "pressed-emphasis", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 3 - See issue list" ] @@ -65,7 +98,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "hollywood-rubber", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -237,8 +274,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Gmail/Gmail_Automate_response_from_keywords_in_mailbox.ipynb b/Gmail/Gmail_Automate_response_from_keywords_in_mailbox.ipynb index 504ae039d8..7fdaf29b24 100644 --- a/Gmail/Gmail_Automate_response_from_keywords_in_mailbox.ipynb +++ b/Gmail/Gmail_Automate_response_from_keywords_in_mailbox.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "stylish-devon", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "hollow-meter", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Gmail - Automate response from keywords in mailbox" + "# Gmail - Automate response from keywords in mailbox\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Gmail/Gmail_Automate_response_from_keywords_in_mailbox.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "taken-prevention", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "charged-explosion", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Account credentials" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "operating-princeton", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "username = \"**********@gmail.com\"\n", @@ -43,7 +64,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "coastal-disposition", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Connect to email box" ] @@ -51,7 +76,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "cardiovascular-metallic", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -63,7 +92,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "lasting-review", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get email list" ] @@ -71,7 +104,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "experienced-denver", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -228,7 +265,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "separate-oxford", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Automated reponse" ] @@ -236,7 +277,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "affecting-martin", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -279,8 +324,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Gmail/Gmail_Clean_mailbox.ipynb b/Gmail/Gmail_Clean_mailbox.ipynb index 3a746b3079..77a38f8c88 100644 --- a/Gmail/Gmail_Clean_mailbox.ipynb +++ b/Gmail/Gmail_Clean_mailbox.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "awful-congo", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "connected-syndicate", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Gmail - Clean mailbox" + "# Gmail - Clean mailbox\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Gmail/Gmail_Clean_mailbox.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "overhead-eight", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "urban-consumer", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Account credentials" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "impressed-steps", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "username = \"**********@gmail.com\"\n", @@ -42,14 +63,22 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "gentle-still", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Note: You need to create an application password following this procedure - https://support.google.com/mail/answer/185833?hl=en" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "recognized-physiology", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Connect to email box" ] @@ -57,7 +86,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "accepted-setting", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -69,7 +102,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "healthy-nudist", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get email list" ] @@ -77,7 +114,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "governmental-symbol", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -315,7 +356,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "romance-cleaning", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Creating dataframe and inserting values" ] @@ -323,7 +368,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "color-index", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -433,7 +482,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "numeric-ending", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Email graph plot" ] @@ -441,7 +494,11 @@ { "cell_type": "code", "execution_count": 13, - "metadata": {}, + "id": "inner-batman", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -1371,7 +1428,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "stuffed-weekend", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Deleting using uid" ] @@ -1379,7 +1440,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "experimental-brick", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -1401,7 +1466,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "lasting-venue", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Deleting using email id" ] @@ -1409,7 +1478,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "dressed-nevada", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "d_email = \"notifications@naas.ai\" # email id to be deleted\n", @@ -1423,7 +1496,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "adequate-substitute", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Deleting the emails" ] @@ -1431,7 +1508,11 @@ { "cell_type": "code", "execution_count": 9, - "metadata": {}, + "id": "tough-power", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "for i in uid:\n", @@ -1440,7 +1521,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "changed-bacon", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Showing the upated email list" ] @@ -1448,7 +1533,11 @@ { "cell_type": "code", "execution_count": 10, - "metadata": {}, + "id": "going-transaction", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -1702,8 +1791,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Gmail/Gmail_Read_mailbox.ipynb b/Gmail/Gmail_Read_mailbox.ipynb index 0f3d4da8d0..e046cb3c43 100644 --- a/Gmail/Gmail_Read_mailbox.ipynb +++ b/Gmail/Gmail_Read_mailbox.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "innocent-shock", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "bridal-morocco", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Mailbox read" + "# Mailbox read\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Gmail/Gmail_Read_mailbox.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "blocked-roots", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "clinical-portland", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Account credentials" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "cleared-charter", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "username = \"*********@gmail.com\"\n", @@ -43,7 +64,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "remarkable-apartment", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Connect to email box" ] @@ -51,7 +76,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "copyrighted-consciousness", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -63,7 +92,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "descending-muslim", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get email list" ] @@ -71,7 +104,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "objective-greeting", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -250,7 +287,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "representative-research", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -271,7 +312,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "consistent-selection", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -314,8 +359,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Gmail/Gmail_Schedule_mailbox_cleaning.ipynb b/Gmail/Gmail_Schedule_mailbox_cleaning.ipynb index 41e23f78c6..75b7f0b8f3 100644 --- a/Gmail/Gmail_Schedule_mailbox_cleaning.ipynb +++ b/Gmail/Gmail_Schedule_mailbox_cleaning.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "sustainable-insert", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "forty-morocco", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Emailing - Schedule mailbox cleaning" + "# Emailing - Schedule mailbox cleaning\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Gmail/Gmail_Schedule_mailbox_cleaning.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "acquired-style", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "sitting-slovak", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Setting the scheduler" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "civil-possible", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -52,7 +73,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "copyrighted-lighter", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Account credentials" ] @@ -60,7 +85,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "handed-rolling", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "username = \"naas.sanjay22@gmail.com\"\n", @@ -71,14 +100,22 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "dominant-label", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Note: You need to create an application password following this procedure - https://support.google.com/mail/answer/185833?hl=en" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "opposite-simon", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Connect to email box" ] @@ -86,7 +123,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "painted-harvard", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -98,7 +139,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "adopted-tolerance", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get email list" ] @@ -106,7 +151,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "republican-underwear", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -240,7 +289,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "introductory-rover", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Creating dataframe and inserting values" ] @@ -248,7 +301,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "qualified-imagination", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -329,7 +386,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "protective-bookmark", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Email graph plot" ] @@ -337,7 +398,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "alpha-ireland", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -1343,7 +1408,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "dependent-labor", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Deleting using email id" ] @@ -1351,7 +1420,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "boolean-pennsylvania", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "d_email = \"notifications@naas.ai\" # email id to be deleted\n", @@ -1362,7 +1435,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "understood-greek", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Updating the uid values" ] @@ -1370,7 +1447,11 @@ { "cell_type": "code", "execution_count": 8, - "metadata": {}, + "id": "fourth-martin", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -1389,7 +1470,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "cultural-elite", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Deleting the emails" ] @@ -1397,7 +1482,11 @@ { "cell_type": "code", "execution_count": 9, - "metadata": {}, + "id": "behavioral-curtis", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "for i in uid:\n", @@ -1406,7 +1495,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "classified-republic", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Showing the upated email list" ] @@ -1414,7 +1507,11 @@ { "cell_type": "code", "execution_count": 10, - "metadata": {}, + "id": "insured-catholic", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -1564,8 +1661,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Gmail/Gmail_Send_emails_from_Gsheet_classic.ipynb b/Gmail/Gmail_Send_emails_from_Gsheet_classic.ipynb index 06b97603cc..4611e905b4 100644 --- a/Gmail/Gmail_Send_emails_from_Gsheet_classic.ipynb +++ b/Gmail/Gmail_Send_emails_from_Gsheet_classic.ipynb @@ -2,35 +2,56 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "material-creation", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "negative-baking", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Emailing - Send emails from Gsheet" + "# Emailing - Send emails from Gsheet\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Gmail/Gmail_Send_emails_from_Gsheet_classic.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "identical-alaska", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "continued-pulse", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Example : to a list of people in Gmail." ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "understanding-allergy", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Reading from Gsheet" ] @@ -38,7 +59,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "civic-academy", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -131,7 +156,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "accessory-summer", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Setting your email address" ] @@ -139,7 +168,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "opening-distance", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "your_email = \"jeremy.ravenel@cashstory.com\"\n", @@ -149,7 +182,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "suspended-steam", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Mail preview" ] @@ -157,7 +194,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "violent-customs", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -340,7 +381,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "classical-composer", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Sending emails" ] @@ -348,7 +393,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "synthetic-anderson", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -388,8 +437,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Gmail/Gmail_Send_emails_from_Gsheet_specific.ipynb b/Gmail/Gmail_Send_emails_from_Gsheet_specific.ipynb index 512bb512f6..ccdfbcf1b2 100644 --- a/Gmail/Gmail_Send_emails_from_Gsheet_specific.ipynb +++ b/Gmail/Gmail_Send_emails_from_Gsheet_specific.ipynb @@ -2,49 +2,78 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "maritime-milan", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "reported-verification", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "**Awesome Notebooks 👌**" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "pressing-converter", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Emailing - Send emails from Gsheet with specific message" + "# Emailing - Send emails from Gsheet with specific message\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Gmail/Gmail_Send_emails_from_Gsheet_specific.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "short-warrant", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "filled-strengthening", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "modern-channels", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Example : to a list of people in Gmail." ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "continental-auction", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Reading from the gsheet" ] @@ -52,7 +81,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "stuffed-adoption", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -124,7 +157,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "spatial-stanford", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Setting your email address" ] @@ -132,7 +169,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "exact-bobby", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "your_email = \"jeremy.ravenel@cashstory.com\"\n", @@ -143,7 +184,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "standard-sterling", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Mail preview" ] @@ -151,7 +196,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "norman-wilderness", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -335,7 +384,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "better-possession", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Sending emails" ] @@ -343,7 +396,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "brief-lease", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -379,8 +436,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Google Drive/Google_Drive_Download_file.ipynb b/Google Drive/Google_Drive_Download_file.ipynb index 764beeff35..476ae27115 100644 --- a/Google Drive/Google_Drive_Download_file.ipynb +++ b/Google Drive/Google_Drive_Download_file.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "reliable-framework", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -11,16 +14,23 @@ { "cell_type": "markdown", "id": "first-flesh", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Google Drive - Download file" + "# Google Drive - Download file\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Google%20Drive/Google_Drive_Download_file.ipynb)" ] }, { "cell_type": "code", "execution_count": null, "id": "united-finland", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "#!pip install gdown" @@ -29,7 +39,10 @@ { "cell_type": "markdown", "id": "corrected-going", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Pre-requisite : change file access rights to make sure Naas can access (\"Allow anyone\")\n", "If you need more specific user rights, just drop us an email hello@naas.ai" @@ -46,7 +59,9 @@ "iopub.status.idle": "2021-02-28T13:00:35.106413Z", "shell.execute_reply": "2021-02-28T13:00:35.105688Z", "shell.execute_reply.started": "2021-02-28T13:00:34.029904Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -57,7 +72,10 @@ "cell_type": "code", "execution_count": null, "id": "passive-robert", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "url = 'https://drive.google.com/uc?id=1-3UlYEPKgL4E197umEh6d58jWknodSm5'\n", @@ -83,8 +101,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Google Search/Google_Search_Perform_search.ipynb b/Google Search/Google_Search_Perform_search.ipynb index 746e3346db..e28abcf227 100644 --- a/Google Search/Google_Search_Perform_search.ipynb +++ b/Google Search/Google_Search_Perform_search.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "derived-intention", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "broad-biotechnology", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Google - Perform search" + "# Google - Perform search\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Google%20Search/Google_Search_Perform_search.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "agreed-sussex", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -24,7 +37,11 @@ { "cell_type": "code", "execution_count": 9, - "metadata": {}, + "id": "comparative-combining", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -44,7 +61,11 @@ { "cell_type": "code", "execution_count": 10, - "metadata": {}, + "id": "multiple-symbol", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -74,7 +95,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "bound-inclusion", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Parameters : \n", "\n", @@ -97,7 +122,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "reduced-publicity", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Source : https://www.studytonight.com/post/how-to-perform-google-search-using-python#" ] @@ -105,7 +134,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "cellular-wheat", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "TSL" @@ -129,8 +162,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Google Sheets/Gsheets_Get_data.ipynb b/Google Sheets/Gsheets_Get_data.ipynb index ba0d6ba900..3d6aea3aa0 100644 --- a/Google Sheets/Gsheets_Get_data.ipynb +++ b/Google Sheets/Gsheets_Get_data.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "determined-burden", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "respective-auckland", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Google Sheets - Get sheet data" + "# Google Sheets - Get sheet data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Google%20Sheets/Gsheets_Get_data.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "absolute-winter", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "decreased-algorithm", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Pre-requisite: share your Google Sheet with our service account\n", "For the driver to fetch the contents of your google sheet, you need to share it with the service account linked with Naas.\n", @@ -34,7 +51,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "coated-forum", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers" @@ -43,7 +64,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "respiratory-experiment", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "spreadsheet_id = \"---------\"\n", @@ -53,7 +78,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "federal-forum", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "naas_drivers.gsheet.get(sheet_name=\"TSLA\")" @@ -77,8 +106,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Google Sheets/Gsheets_Send_data.ipynb b/Google Sheets/Gsheets_Send_data.ipynb index b5f0021b8a..de0ae68c36 100644 --- a/Google Sheets/Gsheets_Send_data.ipynb +++ b/Google Sheets/Gsheets_Send_data.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "international-creativity", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "unlimited-bookmark", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Google Sheets - Send data" + "# Google Sheets - Send data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Google%20Sheets/Gsheets_Send_data.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "featured-boutique", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "digital-holder", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Pre-requisite: share your Google Sheet with our service account\n", "For the driver to fetch the contents of your google sheet, you need to share it with the service account linked with Naas.\n", @@ -34,7 +51,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "closed-field", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -67,8 +88,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Google Sheets/Gsheets_Send_emails_from_sheet.ipynb b/Google Sheets/Gsheets_Send_emails_from_sheet.ipynb index de5fd495a8..e20f470482 100644 --- a/Google Sheets/Gsheets_Send_emails_from_sheet.ipynb +++ b/Google Sheets/Gsheets_Send_emails_from_sheet.ipynb @@ -2,22 +2,35 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "animal-positive", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "saving-summit", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Gsheets - Send emails from sheet" + "# Gsheets - Send emails from sheet\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Google%20Sheets/Gsheets_Send_emails_from_sheet.ipynb)" ] }, { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "baking-company", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Import module\n", @@ -27,7 +40,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "comparative-fruit", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Connect to your gmail account" ] @@ -35,7 +52,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "unknown-experiment", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "username = \"USERNAME\"\n", @@ -55,7 +76,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "excellent-nutrition", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get email list from Gsheet" ] @@ -63,7 +88,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "worse-wound", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -141,7 +170,11 @@ { "cell_type": "code", "execution_count": 11, - "metadata": {}, + "id": "incident-nickname", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -159,7 +192,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "numerical-break", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Send emails batchs" ] @@ -167,7 +204,11 @@ { "cell_type": "code", "execution_count": 12, - "metadata": {}, + "id": "recreational-corpus", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -206,8 +247,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Healthchecks/Healthcheks_Perfom_basic_actions.ipynb b/Healthchecks/Healthcheks_Perfom_basic_actions.ipynb index a9413f5301..77b761d2b9 100644 --- a/Healthchecks/Healthcheks_Perfom_basic_actions.ipynb +++ b/Healthchecks/Healthcheks_Perfom_basic_actions.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "imposed-nickname", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -11,15 +14,22 @@ { "cell_type": "markdown", "id": "dated-disco", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Healthchecks - Perform basic actions" + "# Healthchecks - Perform basic actions\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Healthchecks/Healthcheks_Perfom_basic_actions.ipynb)" ] }, { "cell_type": "markdown", "id": "ruled-admission", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Get notified of your Cron jobs" ] @@ -34,7 +44,9 @@ "iopub.status.idle": "2021-02-28T13:36:11.835447Z", "shell.execute_reply": "2021-02-28T13:36:11.834849Z", "shell.execute_reply.started": "2021-02-28T13:36:11.829498Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "## Starting" @@ -44,7 +56,10 @@ "cell_type": "code", "execution_count": null, "id": "vital-brush", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "key = \"123456-123456-12455\"\n", @@ -54,7 +69,10 @@ { "cell_type": "markdown", "id": "banner-privacy", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Done" ] @@ -63,7 +81,10 @@ "cell_type": "code", "execution_count": null, "id": "nuclear-friend", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "key = \"123456-123456-12455\"\n", @@ -73,7 +94,10 @@ { "cell_type": "markdown", "id": "hourly-kidney", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Failing" ] @@ -82,7 +106,10 @@ "cell_type": "code", "execution_count": null, "id": "involved-earthquake", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "key = \"123456-123456-12455\"\n", @@ -99,7 +126,9 @@ "iopub.status.idle": "2021-02-28T13:43:57.619938Z", "shell.execute_reply": "2021-02-28T13:43:57.619317Z", "shell.execute_reply.started": "2021-02-28T13:43:57.617477Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "## Check status UP" @@ -109,7 +138,10 @@ "cell_type": "code", "execution_count": null, "id": "eligible-mandate", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "url = \"https://google.com\"\n", @@ -135,8 +167,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Hubspot/Hubspot_create_association.ipynb b/Hubspot/Hubspot_create_association.ipynb index f81032ea97..8cd4b613c8 100644 --- a/Hubspot/Hubspot_create_association.ipynb +++ b/Hubspot/Hubspot_create_association.ipynb @@ -2,29 +2,46 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "outdoor-dominant", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "asian-marsh", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"drawing\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "arabic-vietnam", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Hubspot - Create association" + "# Hubspot - Create association\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Hubspot/Hubspot_create_association.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "comic-enough", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from naas_drivers import hubspot\n", @@ -39,7 +56,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "functional-suggestion", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Create association\n", @@ -68,8 +89,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Hubspot/Hubspot_create_contact.ipynb b/Hubspot/Hubspot_create_contact.ipynb index 0cb87fa7d6..cf90fb5ae8 100644 --- a/Hubspot/Hubspot_create_contact.ipynb +++ b/Hubspot/Hubspot_create_contact.ipynb @@ -2,29 +2,46 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "dimensional-compilation", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "searching-jacksonville", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"drawing\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "monthly-conflict", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Hubspot - Create contact" + "# Hubspot - Create contact\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Hubspot/Hubspot_create_contact.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "ideal-piece", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from naas_drivers import hubspot\n", @@ -39,7 +56,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "arbitrary-working", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Contact parameters\n", @@ -56,7 +77,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "vital-tradition", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# With send method\n", @@ -80,7 +105,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "surprising-gregory", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# With create method\n", @@ -90,7 +119,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "quick-capability", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -112,8 +145,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Hubspot/Hubspot_create_deal.ipynb b/Hubspot/Hubspot_create_deal.ipynb index 3fcd0493fe..ec914b18d9 100644 --- a/Hubspot/Hubspot_create_deal.ipynb +++ b/Hubspot/Hubspot_create_deal.ipynb @@ -2,29 +2,46 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "divided-poster", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "swedish-observer", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"drawing\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "higher-architect", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Hubspot - Create deal" + "# Hubspot - Create deal\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Hubspot/Hubspot_create_deal.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "velvet-baghdad", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from naas_drivers import hubspot\n", @@ -39,7 +56,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "contemporary-bullet", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Deal parameters\n", @@ -53,7 +74,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "greenhouse-potential", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# With send method\n", @@ -73,7 +98,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "photographic-writer", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# With create method\n", @@ -98,8 +127,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Hubspot/Hubspot_delete_contact.ipynb b/Hubspot/Hubspot_delete_contact.ipynb index bbad180e97..05b851d777 100644 --- a/Hubspot/Hubspot_delete_contact.ipynb +++ b/Hubspot/Hubspot_delete_contact.ipynb @@ -2,29 +2,46 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "incorrect-wales", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "accomplished-little", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"drawing\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "guided-vanilla", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Hubspot - Delete contact" + "# Hubspot - Delete contact\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Hubspot/Hubspot_delete_contact.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "adult-organ", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from naas_drivers import hubspot\n", @@ -39,7 +56,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "nearby-herald", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Delete deals\n", @@ -50,7 +71,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "quarterly-cache", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -72,8 +97,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Hubspot/Hubspot_delete_deal.ipynb b/Hubspot/Hubspot_delete_deal.ipynb index 91bb8c7239..f3d02c32a6 100644 --- a/Hubspot/Hubspot_delete_deal.ipynb +++ b/Hubspot/Hubspot_delete_deal.ipynb @@ -2,29 +2,46 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "surface-logging", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "behavioral-aaron", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"drawing\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "instructional-thomson", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Hubspot - Delete deal" + "# Hubspot - Delete deal\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Hubspot/Hubspot_delete_deal.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "golden-fisher", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from naas_drivers import hubspot\n", @@ -39,7 +56,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "contemporary-blend", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Delete deals\n", @@ -65,8 +86,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Hubspot/Hubspot_get_all_contacts.ipynb b/Hubspot/Hubspot_get_all_contacts.ipynb index 269b1204f7..18f40b4b6f 100644 --- a/Hubspot/Hubspot_get_all_contacts.ipynb +++ b/Hubspot/Hubspot_get_all_contacts.ipynb @@ -2,29 +2,46 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "anonymous-wisconsin", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "applicable-wages", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"drawing\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "senior-greensboro", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Hubspot - Get contact" + "# Hubspot - Get contact\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Hubspot/Hubspot_get_all_contacts.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "buried-porcelain", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from naas_drivers import hubspot\n", @@ -39,7 +56,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "pending-export", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Get all contacts\n", @@ -50,7 +71,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "interstate-partner", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -72,8 +97,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Hubspot/Hubspot_get_association.ipynb.ipynb b/Hubspot/Hubspot_get_association.ipynb.ipynb index aa04e50cf2..dc95791d74 100644 --- a/Hubspot/Hubspot_get_association.ipynb.ipynb +++ b/Hubspot/Hubspot_get_association.ipynb.ipynb @@ -2,29 +2,46 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "signal-freeware", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "searching-jamaica", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"drawing\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "cardiac-carrier", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Hubspot - Get association" + "# Hubspot - Get association\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Hubspot/Hubspot_get_association.ipynb.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "empty-monaco", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from naas_drivers import hubspot\n", @@ -39,7 +56,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "conventional-gender", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Get association\n", @@ -67,8 +88,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Hubspot/Hubspot_get_contact.ipynb b/Hubspot/Hubspot_get_contact.ipynb index 330bd68ea1..f5cf8dd140 100644 --- a/Hubspot/Hubspot_get_contact.ipynb +++ b/Hubspot/Hubspot_get_contact.ipynb @@ -2,29 +2,46 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "fatty-nurse", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "banned-appendix", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"drawing\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "indoor-covering", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Hubspot - Get contact" + "# Hubspot - Get contact\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Hubspot/Hubspot_get_contact.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "portable-aruba", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from naas_drivers import hubspot\n", @@ -39,7 +56,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "constant-essence", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Get single contact\n", @@ -51,7 +72,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "fifty-anime", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -73,8 +98,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Hubspot/Hubspot_get_deal.ipynb b/Hubspot/Hubspot_get_deal.ipynb index da590446bd..c358be5018 100644 --- a/Hubspot/Hubspot_get_deal.ipynb +++ b/Hubspot/Hubspot_get_deal.ipynb @@ -2,29 +2,46 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "prompt-hammer", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "encouraging-hamilton", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"drawing\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "bridal-punishment", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Hubspot - Get deal" + "# Hubspot - Get deal\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Hubspot/Hubspot_get_deal.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "soviet-visitor", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from naas_drivers import hubspot\n", @@ -39,7 +56,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "about-venture", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Get single deal\n", @@ -50,7 +71,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "adjustable-examination", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Get all deals\n", @@ -75,8 +100,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Hubspot/Hubspot_update_contact.ipynb b/Hubspot/Hubspot_update_contact.ipynb index 505d0c1251..62448989bd 100644 --- a/Hubspot/Hubspot_update_contact.ipynb +++ b/Hubspot/Hubspot_update_contact.ipynb @@ -2,29 +2,46 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "neutral-oxide", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "warming-association", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"drawing\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "anonymous-innocent", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Hubspot - Update contact" + "# Hubspot - Update contact\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Hubspot/Hubspot_update_contact.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "charitable-cornell", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from naas_drivers import hubspot\n", @@ -39,7 +56,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "alpha-lingerie", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Contact parameters\n", @@ -57,7 +78,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "systematic-execution", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# With patch method\n", @@ -81,7 +106,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "quality-bracelet", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# With update method\n", @@ -91,7 +120,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "historic-reception", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -113,8 +146,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Hubspot/Hubspot_update_deal.ipynb b/Hubspot/Hubspot_update_deal.ipynb index 042f4dc41e..2893c355bf 100644 --- a/Hubspot/Hubspot_update_deal.ipynb +++ b/Hubspot/Hubspot_update_deal.ipynb @@ -2,29 +2,46 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "dressed-square", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "supreme-award", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"drawing\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "impaired-vacuum", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Hubspot - Update deal" + "# Hubspot - Update deal\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Hubspot/Hubspot_update_deal.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "spread-knock", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from naas_drivers import hubspot\n", @@ -39,7 +56,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "mineral-shoot", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Deal parameters\n", @@ -54,7 +75,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "secret-belfast", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# With update method without subclass\n", @@ -74,7 +99,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "rough-tunisia", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# With update method with subclass\n", @@ -99,8 +128,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/IFTTT/IFTTT_Post_on_Twitter.ipynb b/IFTTT/IFTTT_Post_on_Twitter.ipynb index 6f79746697..f72324cede 100644 --- a/IFTTT/IFTTT_Post_on_Twitter.ipynb +++ b/IFTTT/IFTTT_Post_on_Twitter.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "extreme-insured", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -11,15 +14,22 @@ { "cell_type": "markdown", "id": "reserved-unknown", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# IFTTT - Post on Twitter" + "# IFTTT - Post on Twitter\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/IFTTT/IFTTT_Post_on_Twitter.ipynb)" ] }, { "cell_type": "markdown", "id": "textile-crisis", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "See the tutorial video on Youtube: https://www.youtube.com/watch?v=FvAM1aS4GFM" ] @@ -35,7 +45,9 @@ "iopub.status.idle": "2021-02-24T16:42:35.973383Z", "shell.execute_reply": "2021-02-24T16:42:35.972559Z", "shell.execute_reply.started": "2021-02-24T16:42:32.305090Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -67,8 +79,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/IFTTT/IFTTT_Trigger_workflow.ipynb b/IFTTT/IFTTT_Trigger_workflow.ipynb index 74f104beca..f06f0e03a3 100644 --- a/IFTTT/IFTTT_Trigger_workflow.ipynb +++ b/IFTTT/IFTTT_Trigger_workflow.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "mobile-expression", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -18,10 +21,13 @@ "iopub.status.idle": "2021-02-28T13:57:50.271341Z", "shell.execute_reply": "2021-02-28T13:57:50.270668Z", "shell.execute_reply.started": "2021-02-28T13:57:50.268035Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ - "# IFTTT - Trigger workflow" + "# IFTTT - Trigger workflow\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/IFTTT/IFTTT_Trigger_workflow.ipynb)" ] }, { @@ -35,7 +41,9 @@ "iopub.status.idle": "2021-01-28T17:37:05.993413Z", "shell.execute_reply": "2021-01-28T17:37:05.992677Z", "shell.execute_reply.started": "2021-01-28T17:37:04.954383Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -46,7 +54,10 @@ "cell_type": "code", "execution_count": null, "id": "fluid-recipe", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "event = \"myevent\"\n", @@ -73,8 +84,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Instagram/Instagram_Post_image_and_caption.ipynb b/Instagram/Instagram_Post_image_and_caption.ipynb index 028d63fa4b..fd768b552f 100644 --- a/Instagram/Instagram_Post_image_and_caption.ipynb +++ b/Instagram/Instagram_Post_image_and_caption.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "rocky-cardiff", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -11,16 +14,23 @@ { "cell_type": "markdown", "id": "judicial-headline", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Instagram - Post image and caption" + "# Instagram - Post image and caption\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Instagram/Instagram_Post_image_and_caption.ipynb)" ] }, { "cell_type": "code", "execution_count": null, "id": "bacterial-graphic", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "pip install instabot --user" @@ -30,7 +40,10 @@ "cell_type": "code", "execution_count": null, "id": "legislative-taiwan", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from instabot import Bot \n", @@ -45,7 +58,10 @@ "cell_type": "code", "execution_count": null, "id": "criminal-summit", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "bot.upload_photo(\"demo.jpg\",\n", @@ -70,8 +86,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Integromat/Integromat_Trigger_workflow.ipynb b/Integromat/Integromat_Trigger_workflow.ipynb index 9e3394cb8d..2036e3f71c 100644 --- a/Integromat/Integromat_Trigger_workflow.ipynb +++ b/Integromat/Integromat_Trigger_workflow.ipynb @@ -3,18 +3,25 @@ { "cell_type": "markdown", "id": "neither-volleyball", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n", "\n", - "# Integromat - Trigger workflow" + "# Integromat - Trigger workflow\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Integromat/Integromat_Trigger_workflow.ipynb)" ] }, { "cell_type": "code", "execution_count": null, "id": "disabled-manner", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -41,8 +48,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Jupyter/Jupyter_Get_user_information.ipynb b/Jupyter/Jupyter_Get_user_information.ipynb index ddb45b341b..5a4b0a6218 100644 --- a/Jupyter/Jupyter_Get_user_information.ipynb +++ b/Jupyter/Jupyter_Get_user_information.ipynb @@ -10,12 +10,15 @@ "iopub.status.idle": "2021-02-23T07:25:55.670756Z", "shell.execute_reply": "2021-02-23T07:25:55.670230Z", "shell.execute_reply.started": "2021-02-23T07:25:55.665804Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "\"Naas\"\n", "\n", - "# Jupyter - Get user information" + "# Jupyter - Get user information\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Jupyter/Jupyter_Get_user_information.ipynb)" ] }, { @@ -29,7 +32,9 @@ "iopub.status.idle": "2021-02-23T08:33:09.449526Z", "shell.execute_reply": "2021-02-23T08:33:09.448473Z", "shell.execute_reply.started": "2021-02-23T08:33:08.031986Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -42,7 +47,10 @@ "cell_type": "code", "execution_count": null, "id": "imported-muslim", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "me = jp.get_me()\n", @@ -58,7 +66,9 @@ "iopub.status.busy": "2021-02-23T08:33:09.550078Z", "iopub.status.idle": "2021-02-23T08:33:09.550556Z", "shell.execute_reply": "2021-02-23T08:33:09.550373Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -84,8 +94,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/LinkedIn/LinkedIn_get_last_messages.ipynb b/LinkedIn/LinkedIn_get_last_messages.ipynb index 525af4ef38..834818cf2a 100644 --- a/LinkedIn/LinkedIn_get_last_messages.ipynb +++ b/LinkedIn/LinkedIn_get_last_messages.ipynb @@ -2,6 +2,7 @@ "cells": [ { "cell_type": "markdown", + "id": "lucky-disabled", "metadata": { "execution": { "iopub.execute_input": "2021-01-25T08:00:35.294800Z", @@ -9,7 +10,9 @@ "iopub.status.idle": "2021-01-25T08:00:35.307281Z", "shell.execute_reply": "2021-01-25T08:00:35.306468Z", "shell.execute_reply.started": "2021-01-25T08:00:35.294775Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "\"Naas\"" @@ -17,21 +20,34 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "generous-litigation", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "charged-dinner", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "## Get your Linkedin cookies" + "## Get your Linkedin cookies\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/LinkedIn/LinkedIn_get_last_messages.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "charming-collect", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "[Open your profile](https://www.linkedin.com/in/)\n", "### -> Click right, inspect your web page and get your cookies info" @@ -39,7 +55,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "republican-purple", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -47,7 +67,9 @@ { "cell_type": "code", "execution_count": null, + "id": "absent-reporter", "metadata": { + "papermill": {}, "tags": [] }, "outputs": [], @@ -60,7 +82,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "independent-exhibition", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get your last messages" ] @@ -68,7 +94,9 @@ { "cell_type": "code", "execution_count": null, + "id": "interstate-poison", "metadata": { + "papermill": {}, "tags": [] }, "outputs": [], @@ -96,8 +124,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.8" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/LinkedIn/LinkedIn_get_profil.ipynb b/LinkedIn/LinkedIn_get_profil.ipynb index 36dc7a446c..714c285b47 100644 --- a/LinkedIn/LinkedIn_get_profil.ipynb +++ b/LinkedIn/LinkedIn_get_profil.ipynb @@ -2,6 +2,7 @@ "cells": [ { "cell_type": "markdown", + "id": "economic-caribbean", "metadata": { "execution": { "iopub.execute_input": "2021-01-25T08:00:35.294800Z", @@ -9,7 +10,9 @@ "iopub.status.idle": "2021-01-25T08:00:35.307281Z", "shell.execute_reply": "2021-01-25T08:00:35.306468Z", "shell.execute_reply.started": "2021-01-25T08:00:35.294775Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "\"Naas\"" @@ -17,21 +20,34 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "regular-system", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "quarterly-license", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "## Get your Linkedin cookies" + "## Get your Linkedin cookies\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/LinkedIn/LinkedIn_get_profil.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "missing-shark", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "[Open your profile](https://www.linkedin.com/in/)\n", "### -> Click right, inspect your web page and get your cookies info" @@ -39,7 +55,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "recreational-public", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -47,7 +67,9 @@ { "cell_type": "code", "execution_count": null, + "id": "freelance-error", "metadata": { + "papermill": {}, "tags": [] }, "outputs": [], @@ -60,14 +82,22 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "informational-union", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get profil" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "entitled-booth", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -75,7 +105,9 @@ { "cell_type": "code", "execution_count": null, + "id": "sonic-colleague", "metadata": { + "papermill": {}, "tags": [] }, "outputs": [], @@ -103,8 +135,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.8" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Microsoft Teams/Microsoft Teams_Send_message.ipynb b/Microsoft Teams/Microsoft Teams_Send_message.ipynb index ba5531b652..c17278e88e 100644 --- a/Microsoft Teams/Microsoft Teams_Send_message.ipynb +++ b/Microsoft Teams/Microsoft Teams_Send_message.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "turned-earth", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -18,16 +21,22 @@ "iopub.status.idle": "2021-01-26T14:10:27.023428Z", "shell.execute_reply": "2021-01-26T14:10:27.022739Z", "shell.execute_reply.started": "2021-01-26T14:10:27.020304Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ - "# Microsoft Teams - Send Message" + "# Microsoft Teams - Send Message\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Microsoft%20Teams/Microsoft%20Teams_Send_message.ipynb)" ] }, { "cell_type": "markdown", "id": "going-bruce", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Import needed library" ] @@ -43,7 +52,9 @@ "iopub.status.idle": "2021-01-26T14:14:40.237538Z", "shell.execute_reply": "2021-01-26T14:14:40.236738Z", "shell.execute_reply.started": "2021-01-26T14:14:39.339946Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -60,7 +71,9 @@ "iopub.status.idle": "2021-01-26T14:13:57.123461Z", "shell.execute_reply": "2021-01-26T14:13:57.122684Z", "shell.execute_reply.started": "2021-01-26T14:13:57.115768Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "## Connect to your Teams\n", @@ -78,7 +91,9 @@ "iopub.status.idle": "2021-01-26T14:18:25.180401Z", "shell.execute_reply": "2021-01-26T14:18:25.179879Z", "shell.execute_reply.started": "2021-01-26T14:18:25.175982Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -95,7 +110,9 @@ "iopub.status.idle": "2021-01-26T14:12:31.464769Z", "shell.execute_reply": "2021-01-26T14:12:31.464098Z", "shell.execute_reply.started": "2021-01-26T14:12:31.462007Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "## Set your message " @@ -112,7 +129,9 @@ "iopub.status.idle": "2021-01-26T14:18:25.838782Z", "shell.execute_reply": "2021-01-26T14:18:25.838160Z", "shell.execute_reply.started": "2021-01-26T14:18:25.835899Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -123,7 +142,10 @@ { "cell_type": "markdown", "id": "neutral-patrick", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Send it" ] @@ -139,7 +161,9 @@ "iopub.status.idle": "2021-01-26T14:18:37.292988Z", "shell.execute_reply": "2021-01-26T14:18:37.292283Z", "shell.execute_reply.started": "2021-01-26T14:18:36.588293Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -159,7 +183,10 @@ "cell_type": "code", "execution_count": null, "id": "attended-prize", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -182,9 +209,15 @@ "pygments_lexer": "ipython3", "version": "3.8.6" }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" + }, "toc-autonumbering": false, "toc-showmarkdowntxt": false }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Microsoft Word/Microsoft_Word_Convert_to_HMTL.ipynb b/Microsoft Word/Microsoft_Word_Convert_to_HMTL.ipynb index 7fe31f981f..2cbe9f6a52 100644 --- a/Microsoft Word/Microsoft_Word_Convert_to_HMTL.ipynb +++ b/Microsoft Word/Microsoft_Word_Convert_to_HMTL.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "colonial-commerce", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "essential-nylon", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Microsoft Word - Convert to html" + "# Microsoft Word - Convert to html\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Microsoft%20Word/Microsoft_Word_Convert_to_HMTL.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "antique-dividend", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Installing necessary packages" ] @@ -24,7 +37,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "filled-clone", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# pip install mammoth" @@ -32,7 +49,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "complicated-blocking", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Reading file and converting" ] @@ -40,7 +61,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "minor-upgrade", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import mammoth\n", @@ -53,7 +78,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "black-diploma", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Converted" ] @@ -61,7 +90,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "located-criterion", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -96,8 +129,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/MongoDB/MongoDB_Get_data.ipynb b/MongoDB/MongoDB_Get_data.ipynb index c9a89aadfb..800c204a71 100644 --- a/MongoDB/MongoDB_Get_data.ipynb +++ b/MongoDB/MongoDB_Get_data.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "funky-knowing", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -11,16 +14,23 @@ { "cell_type": "markdown", "id": "north-notice", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# MongoDB - Get data" + "# MongoDB - Get data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/MongoDB/MongoDB_Get_data.ipynb)" ] }, { "cell_type": "code", "execution_count": null, "id": "necessary-scholarship", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas" @@ -36,7 +46,9 @@ "iopub.status.idle": "2021-03-03T08:25:34.109748Z", "shell.execute_reply": "2021-03-03T08:25:34.109191Z", "shell.execute_reply.started": "2021-03-03T08:25:34.105484Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "## Connect" @@ -46,7 +58,10 @@ "cell_type": "code", "execution_count": null, "id": "alive-refund", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "user = \"my user\"\n", @@ -59,7 +74,10 @@ { "cell_type": "markdown", "id": "domestic-falls", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get Data" ] @@ -68,7 +86,10 @@ "cell_type": "code", "execution_count": null, "id": "afraid-belarus", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "collection_name = \"col\"\n", @@ -94,8 +115,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/MongoDB/MongoDB_Send_data.ipynb b/MongoDB/MongoDB_Send_data.ipynb index c9a89aadfb..3f19726e20 100644 --- a/MongoDB/MongoDB_Send_data.ipynb +++ b/MongoDB/MongoDB_Send_data.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "funky-knowing", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -11,16 +14,23 @@ { "cell_type": "markdown", "id": "north-notice", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# MongoDB - Get data" + "# MongoDB - Get data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/MongoDB/MongoDB_Send_data.ipynb)" ] }, { "cell_type": "code", "execution_count": null, "id": "necessary-scholarship", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas" @@ -36,7 +46,9 @@ "iopub.status.idle": "2021-03-03T08:25:34.109748Z", "shell.execute_reply": "2021-03-03T08:25:34.109191Z", "shell.execute_reply.started": "2021-03-03T08:25:34.105484Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "## Connect" @@ -46,7 +58,10 @@ "cell_type": "code", "execution_count": null, "id": "alive-refund", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "user = \"my user\"\n", @@ -59,7 +74,10 @@ { "cell_type": "markdown", "id": "domestic-falls", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get Data" ] @@ -68,7 +86,10 @@ "cell_type": "code", "execution_count": null, "id": "afraid-belarus", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "collection_name = \"col\"\n", @@ -94,8 +115,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/MySQL/MySQL_Query_database.ipynb b/MySQL/MySQL_Query_database.ipynb index d9473cf17b..f63c57269a 100644 --- a/MySQL/MySQL_Query_database.ipynb +++ b/MySQL/MySQL_Query_database.ipynb @@ -2,22 +2,35 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "allied-pursuit", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "partial-accent", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# MySQL - Query database" + "# MySQL - Query database\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/MySQL/MySQL_Query_database.ipynb)" ] }, { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "driven-drink", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import os\n", @@ -42,7 +55,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "rational-cleaning", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -153,7 +170,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "searching-rocket", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -176,11 +197,14 @@ { "cell_type": "code", "execution_count": 4, + "id": "becoming-string", "metadata": { "collapsed": true, "jupyter": { "outputs_hidden": true - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -205,8 +229,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Naas/Naas_API_demo.ipynb b/Naas/Naas_API_demo.ipynb index 5e580a9f6b..3e11d71ef4 100644 --- a/Naas/Naas_API_demo.ipynb +++ b/Naas/Naas_API_demo.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "center-headline", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "naked-appraisal", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# ⚙️ API" + "# ⚙️ API\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Naas/Naas_API_demo.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "forced-district", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Read the doc: https://naas.gitbook.io/naas/features/api" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "german-recycling", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Run a notebook with an simple URL. Just add your this notebook to prod ;)" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "incomplete-colonial", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -96,7 +117,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "contemporary-class", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -118,8 +143,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Naas/Naas_Assets_demo.ipynb b/Naas/Naas_Assets_demo.ipynb index 0acfa91053..eb2cc29d71 100644 --- a/Naas/Naas_Assets_demo.ipynb +++ b/Naas/Naas_Assets_demo.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "deluxe-force", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "unlimited-internship", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# 🖼️ Assets demo" + "# 🖼️ Assets demo\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Naas/Naas_Assets_demo.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "opposite-guatemala", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Read the doc on https://naas.gitbook.io/naas/features/asset" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "retained-original", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Build notebooks that can communicate with third parties applications and run remotely." ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "funny-neighbor", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -95,7 +116,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "apart-hazard", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -117,8 +142,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Naas/Naas_Dependency_demo.ipynb b/Naas/Naas_Dependency_demo.ipynb index 829447c7ae..56d4fa0e21 100644 --- a/Naas/Naas_Dependency_demo.ipynb +++ b/Naas/Naas_Dependency_demo.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "norwegian-webcam", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "musical-petroleum", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# 🔗 Dependency demo" + "# 🔗 Dependency demo\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Naas/Naas_Dependency_demo.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "vital-humor", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Read the doc on https://naas.gitbook.io/naas/features/asset" ] @@ -24,7 +37,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "bigger-organizer", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -44,7 +61,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "material-chest", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -66,8 +87,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Naas/Naas_Doc_demo.ipynb b/Naas/Naas_Doc_demo.ipynb index 5981e4e536..64220ef377 100644 --- a/Naas/Naas_Doc_demo.ipynb +++ b/Naas/Naas_Doc_demo.ipynb @@ -2,22 +2,35 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "maritime-thing", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "infinite-threshold", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# 📚 Read the documentation " + "# 📚 Read the documentation \n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Naas/Naas_Doc_demo.ipynb)" ] }, { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "alive-baptist", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -56,7 +69,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "thorough-enclosure", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -78,8 +95,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Naas/Naas_Domain_demo.ipynb b/Naas/Naas_Domain_demo.ipynb index a13935ac25..374151624b 100644 --- a/Naas/Naas_Domain_demo.ipynb +++ b/Naas/Naas_Domain_demo.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "lesser-particle", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "recreational-canberra", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# 🏰 Domain demo " + "# 🏰 Domain demo \n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Naas/Naas_Domain_demo.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "hydraulic-sensitivity", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Coming Soon" ] @@ -24,7 +37,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "understanding-potter", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -46,8 +63,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Naas/Naas_Get_help.ipynb b/Naas/Naas_Get_help.ipynb index 9a2a33322c..a2fe70b068 100644 --- a/Naas/Naas_Get_help.ipynb +++ b/Naas/Naas_Get_help.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "alternative-observer", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -11,15 +14,22 @@ { "cell_type": "markdown", "id": "applicable-andrews", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Get help in Naas" + "# Get help in Naas\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Naas/Naas_Get_help.ipynb)" ] }, { "cell_type": "markdown", "id": "desperate-belize", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Import needed library" ] @@ -35,7 +45,9 @@ "iopub.status.idle": "2021-01-26T14:26:24.409078Z", "shell.execute_reply": "2021-01-26T14:26:24.408542Z", "shell.execute_reply.started": "2021-01-26T14:26:23.336197Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -45,7 +57,10 @@ { "cell_type": "markdown", "id": "resident-webster", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Open help chatbox" ] @@ -61,7 +76,9 @@ "iopub.status.idle": "2021-01-26T14:26:24.433478Z", "shell.execute_reply": "2021-01-26T14:26:24.432919Z", "shell.execute_reply.started": "2021-01-26T14:26:24.419300Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -84,7 +101,10 @@ { "cell_type": "markdown", "id": "spiritual-clone", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Close help chatbox" ] @@ -100,7 +120,9 @@ "iopub.status.idle": "2021-01-26T14:26:26.134514Z", "shell.execute_reply": "2021-01-26T14:26:26.134036Z", "shell.execute_reply.started": "2021-01-26T14:26:26.126711Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -124,7 +146,10 @@ "cell_type": "code", "execution_count": null, "id": "dutch-silence", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -146,8 +171,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Naas/Naas_Notifications_demo.ipynb b/Naas/Naas_Notifications_demo.ipynb index 571cf6fdc7..763577ced1 100644 --- a/Naas/Naas_Notifications_demo.ipynb +++ b/Naas/Naas_Notifications_demo.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "universal-waste", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "norwegian-stack", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# 🛎️ Notifications demo\n" + "# 🛎️ Notifications demo\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Naas/Naas_Notifications_demo.ipynb)\n" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "comic-phase", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Read the doc: https://naas.gitbook.io/naas/features/notification\n", "
\n", @@ -26,7 +39,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "greatest-story", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas" @@ -35,7 +52,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "cubic-premiere", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -68,7 +89,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "hundred-rates", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -90,8 +115,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Naas/Naas_Scheduler_demo.ipynb b/Naas/Naas_Scheduler_demo.ipynb index 386b79c024..94417aa3cd 100644 --- a/Naas/Naas_Scheduler_demo.ipynb +++ b/Naas/Naas_Scheduler_demo.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "strong-setup", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "little-crossing", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# ⏰ Scheduler demo" + "# ⏰ Scheduler demo\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Naas/Naas_Scheduler_demo.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "strategic-prophet", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Read the doc: https://naas.gitbook.io/naas/features/scheduler" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "mounted-wrapping", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Transform all your work routines in notebooks and run them even when you sleep." ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 23, - "metadata": {}, + "id": "rental-design", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas" @@ -39,7 +60,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "animated-calibration", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Here we are going to use the Notifications feature to test Scheduler." ] @@ -47,7 +72,11 @@ { "cell_type": "code", "execution_count": 24, - "metadata": {}, + "id": "hourly-array", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -79,7 +108,11 @@ { "cell_type": "code", "execution_count": 25, - "metadata": {}, + "id": "tribal-optimization", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -115,8 +148,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Naas/Naas_SecretKeys_demo.ipynb b/Naas/Naas_SecretKeys_demo.ipynb index 7094e1efc4..fe33eb2f01 100644 --- a/Naas/Naas_SecretKeys_demo.ipynb +++ b/Naas/Naas_SecretKeys_demo.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "injured-evolution", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "substantial-decline", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# 🔑 Secret keys" + "# 🔑 Secret keys\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Naas/Naas_SecretKeys_demo.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "equipped-diploma", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Read the doc: https://naas.gitbook.io/naas/features/secret" ] @@ -24,7 +37,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "valuable-sydney", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -46,7 +63,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "lightweight-invite", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -68,8 +89,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Naas/Naas_Set_timezone.ipynb b/Naas/Naas_Set_timezone.ipynb index a120e49850..cabcee6784 100644 --- a/Naas/Naas_Set_timezone.ipynb +++ b/Naas/Naas_Set_timezone.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "broad-avatar", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -11,15 +14,22 @@ { "cell_type": "markdown", "id": "defensive-audit", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Change Naas timezone" + "# Change Naas timezone\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Naas/Naas_Set_timezone.ipynb)" ] }, { "cell_type": "markdown", "id": "turkish-course", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Import needed library" ] @@ -35,7 +45,9 @@ "iopub.status.idle": "2021-01-26T14:01:18.420124Z", "shell.execute_reply": "2021-01-26T14:01:18.419513Z", "shell.execute_reply.started": "2021-01-26T14:01:17.429879Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -45,7 +57,10 @@ { "cell_type": "markdown", "id": "warming-economy", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get your current timezone" ] @@ -61,7 +76,9 @@ "iopub.status.idle": "2021-01-26T14:01:18.437192Z", "shell.execute_reply": "2021-01-26T14:01:18.436646Z", "shell.execute_reply.started": "2021-01-26T14:01:18.421422Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -90,7 +107,10 @@ { "cell_type": "markdown", "id": "minimal-creator", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Select your timezone\n", "[Wikipedia timezones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)" @@ -107,7 +127,9 @@ "iopub.status.idle": "2021-01-26T14:05:47.705359Z", "shell.execute_reply": "2021-01-26T14:05:47.704751Z", "shell.execute_reply.started": "2021-01-26T14:05:47.702656Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -125,7 +147,9 @@ "iopub.status.idle": "2021-01-26T14:05:47.994361Z", "shell.execute_reply": "2021-01-26T14:05:47.993777Z", "shell.execute_reply.started": "2021-01-26T14:05:47.979663Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -155,7 +179,10 @@ "cell_type": "code", "execution_count": null, "id": "indoor-electron", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -177,8 +204,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Neo/Neo_Get_currencies_live_prices.ipynb b/Neo/Neo_Get_currencies_live_prices.ipynb index 9f4e5765eb..e6e23b35af 100644 --- a/Neo/Neo_Get_currencies_live_prices.ipynb +++ b/Neo/Neo_Get_currencies_live_prices.ipynb @@ -2,22 +2,35 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "bright-thailand", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "interpreted-inspiration", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Neo - Get currencies live prices" + "# Neo - Get currencies live prices\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Neo/Neo_Get_currencies_live_prices.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "prescription-railway", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# !pip install requests" @@ -26,7 +39,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "reserved-castle", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# imports\n", @@ -38,7 +55,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "dirty-laptop", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# api configurations\n", @@ -57,7 +78,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "marine-johnston", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -81,7 +106,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "czech-arlington", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Get data with token\n", @@ -94,7 +123,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "complimentary-vault", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -118,7 +151,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "copyrighted-economics", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# Saving output to file\n", @@ -143,8 +180,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Newsapi/Newsapi_Get_data.ipynb b/Newsapi/Newsapi_Get_data.ipynb index 4db188e1ea..2ad72522e7 100644 --- a/Newsapi/Newsapi_Get_data.ipynb +++ b/Newsapi/Newsapi_Get_data.ipynb @@ -2,21 +2,31 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "addressed-topic", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "brief-wichita", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Newsapi - Get data" + "# Newsapi - Get data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Newsapi/Newsapi_Get_data.ipynb)" ] }, { "cell_type": "code", "execution_count": 1, + "id": "compressed-denial", "metadata": { "execution": { "iopub.execute_input": "2021-02-28T18:12:57.516003Z", @@ -24,7 +34,9 @@ "iopub.status.idle": "2021-02-28T18:13:00.385080Z", "shell.execute_reply": "2021-02-28T18:13:00.384318Z", "shell.execute_reply.started": "2021-02-28T18:12:57.515920Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -34,7 +46,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "acoustic-result", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "fields = [\"image\", \"title\"]\n", @@ -59,8 +75,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Newsapi/Newsapi_Run_sentiment_analysis.ipynb b/Newsapi/Newsapi_Run_sentiment_analysis.ipynb index d7abd8db81..b1ec11a4ce 100644 --- a/Newsapi/Newsapi_Run_sentiment_analysis.ipynb +++ b/Newsapi/Newsapi_Run_sentiment_analysis.ipynb @@ -2,21 +2,31 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "living-discovery", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "legitimate-tyler", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Newsapi - Run sentiment analysis on Bitcoin" + "# Newsapi - Run sentiment analysis on Bitcoin\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Newsapi/Newsapi_Run_sentiment_analysis.ipynb)" ] }, { "cell_type": "code", "execution_count": 1, + "id": "classical-slope", "metadata": { "execution": { "iopub.execute_input": "2021-02-28T18:12:57.516003Z", @@ -24,7 +34,9 @@ "iopub.status.idle": "2021-02-28T18:13:00.385080Z", "shell.execute_reply": "2021-02-28T18:13:00.384318Z", "shell.execute_reply.started": "2021-02-28T18:12:57.515920Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -34,6 +46,7 @@ { "cell_type": "code", "execution_count": 2, + "id": "universal-destruction", "metadata": { "execution": { "iopub.execute_input": "2021-02-28T18:13:04.309502Z", @@ -41,7 +54,9 @@ "iopub.status.idle": "2021-02-28T18:13:04.477414Z", "shell.execute_reply": "2021-02-28T18:13:04.476516Z", "shell.execute_reply.started": "2021-02-28T18:13:04.309478Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -63,7 +78,11 @@ { "cell_type": "code", "execution_count": 14, - "metadata": {}, + "id": "accredited-dragon", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -268,7 +287,11 @@ { "cell_type": "code", "execution_count": 19, - "metadata": {}, + "id": "hazardous-filter", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "sentiment = naas_drivers.sentiment_analysis.calculate(data, column_name=\"title\")" @@ -277,7 +300,11 @@ { "cell_type": "code", "execution_count": 20, - "metadata": {}, + "id": "clean-modeling", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -421,8 +448,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Notion/Notion_Extract_data.ipynb b/Notion/Notion_Extract_data.ipynb index 9faf4df35d..8bfd1c657a 100644 --- a/Notion/Notion_Extract_data.ipynb +++ b/Notion/Notion_Extract_data.ipynb @@ -2,35 +2,56 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "increasing-exclusion", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "unusual-swaziland", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Notion - Extract data" + "# Notion - Extract data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Notion/Notion_Extract_data.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "rental-mountain", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "consolidated-analysis", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get your token " ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "immediate-alliance", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "To obtain the `token_v2` : \n", "- click right on a Notion.so logged-in (non-guest) session, then\n", @@ -40,7 +61,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "chief-highland", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Use the driver to retrieve data" ] @@ -48,6 +73,7 @@ { "cell_type": "code", "execution_count": 1, + "id": "rotary-patrick", "metadata": { "execution": { "iopub.execute_input": "2021-02-18T14:54:02.379244Z", @@ -55,7 +81,9 @@ "iopub.status.idle": "2021-02-18T14:54:06.896884Z", "shell.execute_reply": "2021-02-18T14:54:06.893451Z", "shell.execute_reply.started": "2021-02-18T14:54:02.379169Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -548,7 +576,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "threatened-atlanta", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Save data as CSV file" ] @@ -556,7 +588,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "center-spring", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "collection.to_csv('data.csv')" @@ -580,8 +616,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Notion/Notion_Send_data.ipynb b/Notion/Notion_Send_data.ipynb index b484ed6d32..728faa3f8d 100644 --- a/Notion/Notion_Send_data.ipynb +++ b/Notion/Notion_Send_data.ipynb @@ -2,35 +2,56 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "ordered-supervisor", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "acceptable-subsection", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Notion - Send data" + "# Notion - Send data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Notion/Notion_Send_data.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "typical-decrease", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "desirable-final", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get your token " ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "another-colonial", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "To obtain the `token_v2` : \n", "- click right on a Notion.so logged-in (non-guest) session, then\n", @@ -40,14 +61,22 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "quarterly-lending", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Use the driver to send data" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "official-sport", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Replace table_url with the URL of the page you want to edit" ] @@ -55,6 +84,7 @@ { "cell_type": "code", "execution_count": 2, + "id": "confident-advancement", "metadata": { "execution": { "iopub.execute_input": "2021-01-26T15:34:04.459748Z", @@ -62,7 +92,9 @@ "iopub.status.idle": "2021-01-26T15:34:04.464173Z", "shell.execute_reply": "2021-01-26T15:34:04.463620Z", "shell.execute_reply.started": "2021-01-26T15:34:04.459725Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -102,8 +134,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/PDF/PDF_Transform_to_MP3.ipynb b/PDF/PDF_Transform_to_MP3.ipynb index df78da8333..d7f0cbc5f5 100644 --- a/PDF/PDF_Transform_to_MP3.ipynb +++ b/PDF/PDF_Transform_to_MP3.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "residential-survival", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "pacific-latvia", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# PDF - Transform to mp3" + "# PDF - Transform to mp3\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/PDF/PDF_Transform_to_MP3.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "hybrid-toddler", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Installing necessary packages" ] @@ -24,7 +37,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "exciting-paint", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# pip install pdfminer.six" @@ -33,7 +50,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "animal-pitch", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "# pip install gTTS" @@ -41,7 +62,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "opponent-nature", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Function to convert pdf file to text" ] @@ -49,7 +74,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "female-collapse", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from io import StringIO\n", @@ -102,7 +131,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "reflected-thermal", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Content" ] @@ -110,7 +143,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "prospective-track", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -395,7 +432,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "romantic-winning", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Converting to mp3" ] @@ -403,7 +444,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "sudden-marble", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "rr = convert_pdf_to_string(pdf_name)\n", @@ -419,35 +464,55 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "characteristic-toronto", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "unlimited-fossil", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "aerial-cabinet", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "pressed-confirmation", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "virtual-cooking", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -469,8 +534,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Plaid/Plaid_Get_accounts.ipynb b/Plaid/Plaid_Get_accounts.ipynb index 5cad91e6ca..0e8efcde62 100644 --- a/Plaid/Plaid_Get_accounts.ipynb +++ b/Plaid/Plaid_Get_accounts.ipynb @@ -2,17 +2,26 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "changed-sherman", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n", "\n", - "# Plaid - Get accounts" + "# Plaid - Get accounts\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Plaid/Plaid_Get_accounts.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "common-operations", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "pip install plaid-python" @@ -20,7 +29,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "institutional-supplier", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Create account here :\n", "https://plaid.com/\n", @@ -31,7 +44,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "divine-filter", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import os\n", @@ -40,7 +57,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "needed-japanese", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Config your variables" ] @@ -48,7 +69,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "secret-application", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "PLAID_CLIENT_ID = \"*************\" \n", @@ -63,6 +88,7 @@ }, { "cell_type": "markdown", + "id": "electronic-mexico", "metadata": { "execution": { "iopub.execute_input": "2021-01-28T12:58:58.267083Z", @@ -70,7 +96,9 @@ "iopub.status.idle": "2021-01-28T12:58:58.270280Z", "shell.execute_reply": "2021-01-28T12:58:58.269610Z", "shell.execute_reply.started": "2021-01-28T12:58:58.267059Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "### Connect to plaid" @@ -79,7 +107,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "three-truck", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "client = plaid.Client(client_id=PLAID_CLIENT_ID,\n", @@ -90,7 +122,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "tested-string", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "def create_link_token():\n", @@ -113,7 +149,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "printable-envelope", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "token = create_link_token()\n", @@ -122,6 +162,7 @@ }, { "cell_type": "markdown", + "id": "noble-maryland", "metadata": { "execution": { "iopub.execute_input": "2021-01-28T12:59:33.801190Z", @@ -129,7 +170,9 @@ "iopub.status.idle": "2021-01-28T12:59:33.803748Z", "shell.execute_reply": "2021-01-28T12:59:33.803087Z", "shell.execute_reply.started": "2021-01-28T12:59:33.801165Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "### Use Naas callback to get the plaid OAuth token" @@ -138,7 +181,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "assured-kingdom", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas\n", @@ -147,7 +194,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "explicit-validity", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Select Bank connection" ] @@ -155,7 +206,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "numerical-minnesota", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import IPython.core.display\n", @@ -189,7 +244,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "absent-market", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Get back plaid token" ] @@ -197,7 +256,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "fossil-yeast", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import json\n", @@ -210,7 +273,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "bizarre-syndrome", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Exange token " ] @@ -218,7 +285,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "proper-filing", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "exchange_response = client.Item.public_token.exchange(public_token)\n", @@ -228,6 +299,7 @@ }, { "cell_type": "markdown", + "id": "basic-spotlight", "metadata": { "execution": { "iopub.execute_input": "2021-01-28T13:01:49.823399Z", @@ -235,7 +307,9 @@ "iopub.status.idle": "2021-01-28T13:01:49.828406Z", "shell.execute_reply": "2021-01-28T13:01:49.827868Z", "shell.execute_reply.started": "2021-01-28T13:01:49.823371Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "# Show account list" @@ -244,7 +318,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "concerned-angola", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import pandas as pd\n", @@ -257,7 +335,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "hispanic-single", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Save as csv" ] @@ -265,7 +347,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "unknown-complement", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "accounts_df.to_csv('accounts.csv')" @@ -273,7 +359,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "instant-newton", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# if you need more data check the api doc \n", "https://plaid.com/docs/" @@ -297,8 +387,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Plaid/Plaid_Get_transactions.ipynb b/Plaid/Plaid_Get_transactions.ipynb index 76c61320bf..3a5914d19c 100644 --- a/Plaid/Plaid_Get_transactions.ipynb +++ b/Plaid/Plaid_Get_transactions.ipynb @@ -2,17 +2,26 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "painful-intersection", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n", "\n", - "# Plaid - Get transactions" + "# Plaid - Get transactions\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Plaid/Plaid_Get_transactions.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "senior-treasure", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "pip install plaid-python" @@ -20,7 +29,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "minimal-ordinary", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Create account here :\n", "https://plaid.com/\n", @@ -31,7 +44,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "headed-participation", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import os\n", @@ -40,7 +57,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "lesbian-michael", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Config your variables" ] @@ -48,7 +69,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "verified-geneva", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "PLAID_CLIENT_ID = \"*************\" \n", @@ -63,6 +88,7 @@ }, { "cell_type": "markdown", + "id": "broken-flight", "metadata": { "execution": { "iopub.execute_input": "2021-01-28T12:58:58.267083Z", @@ -70,7 +96,9 @@ "iopub.status.idle": "2021-01-28T12:58:58.270280Z", "shell.execute_reply": "2021-01-28T12:58:58.269610Z", "shell.execute_reply.started": "2021-01-28T12:58:58.267059Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "### Connect to plaid" @@ -79,7 +107,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "directed-tobago", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "client = plaid.Client(client_id=PLAID_CLIENT_ID,\n", @@ -90,7 +122,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "applicable-lemon", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "def create_link_token():\n", @@ -113,7 +149,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "sized-perspective", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "token = create_link_token()\n", @@ -122,6 +162,7 @@ }, { "cell_type": "markdown", + "id": "informed-schedule", "metadata": { "execution": { "iopub.execute_input": "2021-01-28T12:59:33.801190Z", @@ -129,7 +170,9 @@ "iopub.status.idle": "2021-01-28T12:59:33.803748Z", "shell.execute_reply": "2021-01-28T12:59:33.803087Z", "shell.execute_reply.started": "2021-01-28T12:59:33.801165Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "### Use Naas callback to get the plaid OAuth token" @@ -138,7 +181,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "sorted-bottom", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas\n", @@ -147,7 +194,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "norwegian-attachment", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Select Bank connection" ] @@ -155,7 +206,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "pretty-immunology", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import IPython.core.display\n", @@ -189,7 +244,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "unlike-arbor", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Get back plaid token" ] @@ -197,7 +256,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "weighted-verse", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import json\n", @@ -210,7 +273,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "excessive-calgary", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### Exange token " ] @@ -218,7 +285,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "junior-sunglasses", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "exchange_response = client.Item.public_token.exchange(public_token)\n", @@ -228,7 +299,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "metric-cloud", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Show transactions" ] @@ -236,7 +311,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "loving-dancing", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "response = client.Transactions.get(access_token,\n", @@ -257,7 +336,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "acute-designation", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Save as csv" ] @@ -265,7 +348,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "sixth-rabbit", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "transaction_df.to_csv('transactions.csv')" @@ -273,7 +360,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "backed-feeling", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# if you need more data check the api doc \n", "https://plaid.com/docs/" @@ -297,8 +388,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Plotly/Create Bubble chart.ipynb b/Plotly/Create Bubble chart.ipynb index 7ea619dcda..6885e0953a 100644 --- a/Plotly/Create Bubble chart.ipynb +++ b/Plotly/Create Bubble chart.ipynb @@ -2,9 +2,14 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "simplified-greeting", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Create Bubble chart\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Plotly/Create%20Bubble%20chart.ipynb)\n", "\n", "Learn more on the Plotly doc : https://plotly.com/python/bubble-charts/" ] @@ -12,7 +17,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "embedded-wound", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -1694,7 +1703,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "selective-chase", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -1716,8 +1729,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Plotly/Create Candlestick chart.ipynb b/Plotly/Create Candlestick chart.ipynb index 7bbd32e0bc..affb93fa3d 100644 --- a/Plotly/Create Candlestick chart.ipynb +++ b/Plotly/Create Candlestick chart.ipynb @@ -3,7 +3,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "bridal-sapphire", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -3490,7 +3494,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "dated-democracy", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -3512,8 +3520,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Plotly/Create Gantt chart.ipynb b/Plotly/Create Gantt chart.ipynb index fa2a487bac..e5e7878f49 100644 --- a/Plotly/Create Gantt chart.ipynb +++ b/Plotly/Create Gantt chart.ipynb @@ -2,9 +2,14 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "enabling-crest", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Create Gantt chart (Basic)\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Plotly/Create%20Gantt%20chart.ipynb)\n", "\n", "Learn more on the Plotly doc : https://plotly.com/python/gantt/" ] @@ -12,7 +17,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "leading-demand", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -1031,7 +1040,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "individual-technique", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -1053,8 +1066,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Plotly/Create Horizontal Bar Chart (Basic).ipynb b/Plotly/Create Horizontal Bar Chart (Basic).ipynb index c43b91b3d4..4822bce821 100644 --- a/Plotly/Create Horizontal Bar Chart (Basic).ipynb +++ b/Plotly/Create Horizontal Bar Chart (Basic).ipynb @@ -2,9 +2,14 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "military-doubt", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Create Horizontal Bar Chart (Basic)\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Plotly/Create%20Horizontal%20Bar%20Chart%20%28Basic%29.ipynb)\n", "\n", "Learn more on the Plotly doc : https://plotly.com/python/horizontal-bar-charts/" ] @@ -12,7 +17,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "active-account", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -990,7 +999,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "touched-nurse", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -1012,8 +1025,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.5" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Plotly/Create Line Chart (Basic).ipynb b/Plotly/Create Line Chart (Basic).ipynb index 1208523f0b..cfea7f9b9c 100644 --- a/Plotly/Create Line Chart (Basic).ipynb +++ b/Plotly/Create Line Chart (Basic).ipynb @@ -2,9 +2,14 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "guided-professional", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Create Line Chart (Basic)\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Plotly/Create%20Line%20Chart%20%28Basic%29.ipynb)\n", "\n", "Learn more on the Plotly doc : https://plotly.com/python/line-charts/" ] @@ -12,7 +17,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "arctic-portal", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -1082,7 +1091,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "composite-indicator", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -1104,8 +1117,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.5" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Plotly/Create Waterfall chart (Advanced).ipynb b/Plotly/Create Waterfall chart (Advanced).ipynb index 6a662fbf21..1bf9b7dcd4 100644 --- a/Plotly/Create Waterfall chart (Advanced).ipynb +++ b/Plotly/Create Waterfall chart (Advanced).ipynb @@ -2,15 +2,24 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "continuing-pioneer", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Create Advanced Waterfall" + "# Create Advanced Waterfall\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Plotly/Create%20Waterfall%20chart%20%28Advanced%29.ipynb)" ] }, { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "featured-nitrogen", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "#!pip install numpy\n", @@ -20,7 +29,11 @@ { "cell_type": "code", "execution_count": 11, - "metadata": {}, + "id": "devoted-negotiation", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -111,7 +124,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "wired-minutes", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -133,8 +150,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.5" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Plotly/Create Waterfall chart (Basic).ipynb b/Plotly/Create Waterfall chart (Basic).ipynb index c4725920e9..cf10a157b8 100644 --- a/Plotly/Create Waterfall chart (Basic).ipynb +++ b/Plotly/Create Waterfall chart (Basic).ipynb @@ -2,15 +2,24 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "historical-quebec", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Create Basic Waterfall" + "# Create Basic Waterfall\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Plotly/Create%20Waterfall%20chart%20%28Basic%29.ipynb)" ] }, { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "arranged-promotion", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -29,7 +38,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "spread-season", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -1050,7 +1063,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "republican-plaza", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -1072,8 +1089,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.5" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Qonto/Qonto_Get_flows.ipynb b/Qonto/Qonto_Get_flows.ipynb index 0bc0188563..f84e4995b2 100644 --- a/Qonto/Qonto_Get_flows.ipynb +++ b/Qonto/Qonto_Get_flows.ipynb @@ -2,22 +2,35 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "western-rwanda", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "requested-drilling", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Qonto - Get all flows" + "# Qonto - Get all flows\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Qonto/Qonto_Get_flows.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "careful-publication", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -49,8 +62,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Qonto/Qonto_Get_positions.ipynb b/Qonto/Qonto_Get_positions.ipynb index 63da66b8b0..43ecb13f86 100644 --- a/Qonto/Qonto_Get_positions.ipynb +++ b/Qonto/Qonto_Get_positions.ipynb @@ -2,22 +2,35 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "twenty-charlotte", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "immune-briefs", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Qonto - Get bank positions" + "# Qonto - Get bank positions\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Qonto/Qonto_Get_positions.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "diverse-orientation", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -49,8 +62,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Qonto/Qonto_Get_statement_aggregated_by_day.ipynb b/Qonto/Qonto_Get_statement_aggregated_by_day.ipynb index 2fe4979850..dbab0cc4f0 100644 --- a/Qonto/Qonto_Get_statement_aggregated_by_day.ipynb +++ b/Qonto/Qonto_Get_statement_aggregated_by_day.ipynb @@ -2,22 +2,35 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "technical-distance", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "welsh-tribune", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Qonto - Get statement aggregated" + "# Qonto - Get statement aggregated\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Qonto/Qonto_Get_statement_aggregated_by_day.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "portuguese-titanium", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -49,8 +62,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Qonto/Qonto_Get_statement_detailed.ipynb b/Qonto/Qonto_Get_statement_detailed.ipynb index 7b84088b18..1ef7251576 100644 --- a/Qonto/Qonto_Get_statement_detailed.ipynb +++ b/Qonto/Qonto_Get_statement_detailed.ipynb @@ -2,22 +2,35 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "final-newton", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "patent-blend", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Qonto - Get statement detailed" + "# Qonto - Get statement detailed\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Qonto/Qonto_Get_statement_detailed.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "premier-chapter", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers\n", @@ -50,10 +63,16 @@ "pygments_lexer": "ipython3", "version": "3.8.6" }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" + }, "toc-autonumbering": false, "toc-showmarkdowntxt": true, "toc-showtags": false }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Quandl/Quandl_Get_data_from_API.ipynb b/Quandl/Quandl_Get_data_from_API.ipynb index b57770f03b..4fa5630a5e 100644 --- a/Quandl/Quandl_Get_data_from_API.ipynb +++ b/Quandl/Quandl_Get_data_from_API.ipynb @@ -2,6 +2,7 @@ "cells": [ { "cell_type": "markdown", + "id": "closing-luxembourg", "metadata": { "execution": { "iopub.execute_input": "2021-02-28T19:24:38.483991Z", @@ -9,7 +10,9 @@ "iopub.status.idle": "2021-02-28T19:24:38.510384Z", "shell.execute_reply": "2021-02-28T19:24:38.509616Z", "shell.execute_reply.started": "2021-02-28T19:24:38.483892Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "\"Naas\"" @@ -17,14 +20,23 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "accepting-george", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Get Oil Price from Quandl" + "# Get Oil Price from Quandl\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Quandl/Quandl_Get_data_from_API.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "weekly-quarter", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"drawing\"\n", "
\n" @@ -32,7 +44,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "diagnostic-winner", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 1. Install Quandl" ] @@ -40,7 +56,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "relative-swift", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -68,7 +88,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "incoming-drunk", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 2. Import the quandl package" ] @@ -76,7 +100,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "equipped-juvenile", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import quandl" @@ -84,7 +112,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "scheduled-hawaiian", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 3. Get the data " ] @@ -92,7 +124,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "removed-leeds", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "data = quandl.get('EIA/PET_RWTC_D')" @@ -100,7 +136,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "hearing-savage", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 4. Show dataframe" ] @@ -108,7 +148,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "dressed-packaging", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -217,7 +261,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "numeric-cameroon", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 5. Show the graph" ] @@ -225,7 +273,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "august-stream", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import matplotlib.pyplot as plt\n", @@ -235,7 +287,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "female-wallet", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -267,7 +323,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "shared-background", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -289,8 +349,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Quandl/Quandl_Get_data_from_CSV.ipynb b/Quandl/Quandl_Get_data_from_CSV.ipynb index d6c175b2d5..d62748a987 100644 --- a/Quandl/Quandl_Get_data_from_CSV.ipynb +++ b/Quandl/Quandl_Get_data_from_CSV.ipynb @@ -2,26 +2,37 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "biological-sigma", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", + "id": "automatic-polymer", "metadata": { "colab_type": "text", - "id": "g-8m38fV3K3l" + "id": "g-8m38fV3K3l", + "papermill": {}, + "tags": [] }, "source": [ - "# Get stock data from Quandl" + "# Get stock data from Quandl\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Quandl/Quandl_Get_data_from_CSV.ipynb)" ] }, { "cell_type": "markdown", + "id": "formal-craft", "metadata": { "colab_type": "text", - "id": "IutcWsSg3RFr" + "id": "IutcWsSg3RFr", + "papermill": {}, + "tags": [] }, "source": [ "**Step 1** : Import librairies" @@ -30,10 +41,13 @@ { "cell_type": "code", "execution_count": null, + "id": "polished-crowd", "metadata": { "colab": {}, "colab_type": "code", - "id": "x_pOunb4v4-o" + "id": "x_pOunb4v4-o", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -43,9 +57,12 @@ }, { "cell_type": "markdown", + "id": "bearing-blocking", "metadata": { "colab_type": "text", - "id": "xD97nhr13Uxm" + "id": "xD97nhr13Uxm", + "papermill": {}, + "tags": [] }, "source": [ "**Step 2** : Read CSV with pandas" @@ -54,6 +71,7 @@ { "cell_type": "code", "execution_count": null, + "id": "fifty-immune", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -61,7 +79,9 @@ }, "colab_type": "code", "id": "cOZm-UoFv-y6", - "outputId": "3c83d18e-4732-48a0-9f4f-96e0f7135ec7" + "outputId": "3c83d18e-4732-48a0-9f4f-96e0f7135ec7", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -253,9 +273,12 @@ }, { "cell_type": "markdown", + "id": "innocent-silly", "metadata": { "colab_type": "text", - "id": "Bqt9_5OK3Yyl" + "id": "Bqt9_5OK3Yyl", + "papermill": {}, + "tags": [] }, "source": [ "**Step 3** : Import librairy to visualize & plot chart" @@ -264,10 +287,13 @@ { "cell_type": "code", "execution_count": null, + "id": "expected-assist", "metadata": { "colab": {}, "colab_type": "code", - "id": "Jolb4oNv2ucC" + "id": "Jolb4oNv2ucC", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -278,6 +304,7 @@ { "cell_type": "code", "execution_count": null, + "id": "coupled-portal", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -285,7 +312,9 @@ }, "colab_type": "code", "id": "BGwMqP052zqE", - "outputId": "47dc8d9c-e789-4666-8d60-ab6a1c85b661" + "outputId": "47dc8d9c-e789-4666-8d60-ab6a1c85b661", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -342,8 +371,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/README.md b/README.md index b532b8df0c..14f12962eb 100644 --- a/README.md +++ b/README.md @@ -130,8 +130,8 @@ When a notebook is not enought we create a Naas-driver here : https://github.com * [Get user information](https://github.com/jupyter-naas/awesome-notebooks/tree/master/Jupyter/Jupyter_Get_user_information.ipynb) ## LinkedIn -* [Driver](https://github.com/jupyter-naas/awesome-notebooks/tree/master/LinkedIn/_LinkedIn_driver.ipynb) * [Get profil](https://github.com/jupyter-naas/awesome-notebooks/tree/master/LinkedIn/LinkedIn_get_profil.ipynb) +* [Get last messages](https://github.com/jupyter-naas/awesome-notebooks/tree/master/LinkedIn/LinkedIn_get_last_messages.ipynb) ## Microsoft Teams * [Send message](https://github.com/jupyter-naas/awesome-notebooks/tree/master/Microsoft%20Teams/Microsoft%20Teams_Send_message.ipynb) diff --git a/SAP-HANA/SAP-HANA_Query_data.ipynb b/SAP-HANA/SAP-HANA_Query_data.ipynb index 50baab455f..afda28ae4f 100644 --- a/SAP-HANA/SAP-HANA_Query_data.ipynb +++ b/SAP-HANA/SAP-HANA_Query_data.ipynb @@ -2,22 +2,35 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "removed-motel", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "passive-probability", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# SAP HANA - Query data" + "# SAP HANA - Query data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/SAP-HANA/SAP-HANA_Query_data.ipynb)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "false-backing", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "!pip install hdbcli" @@ -25,7 +38,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "controlled-hypothesis", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 1 : Import libraries" ] @@ -33,7 +50,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "refined-biography", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import sap_hana_connector" @@ -41,7 +62,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "printable-hypothetical", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 2 : Declare variables" ] @@ -49,7 +74,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "regulated-throat", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "type: 'SapHana'\n", @@ -62,7 +91,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "robust-breach", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 3 : Query to get specific table in SAP HANA" ] @@ -70,7 +103,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "growing-artist", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "query: 'SELECT * FROM JPAK_LIVE.OINV T0'" @@ -78,7 +115,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "meaningful-sister", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 4 : Return Data Frame " ] @@ -86,7 +127,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "vietnamese-coalition", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "df = query" @@ -110,8 +155,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Slack/Slack_Send_message.ipynb b/Slack/Slack_Send_message.ipynb index 39b08501c4..efd0025fe3 100644 --- a/Slack/Slack_Send_message.ipynb +++ b/Slack/Slack_Send_message.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "thick-environment", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -18,16 +21,22 @@ "iopub.status.idle": "2021-01-26T14:10:27.023428Z", "shell.execute_reply": "2021-01-26T14:10:27.022739Z", "shell.execute_reply.started": "2021-01-26T14:10:27.020304Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ - "# Send Message to Slack" + "# Send Message to Slack\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Slack/Slack_Send_message.ipynb)" ] }, { "cell_type": "markdown", "id": "aquatic-administration", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Import needed library" ] @@ -43,7 +52,9 @@ "iopub.status.idle": "2021-01-26T14:14:40.237538Z", "shell.execute_reply": "2021-01-26T14:14:40.236738Z", "shell.execute_reply.started": "2021-01-26T14:14:39.339946Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -60,7 +71,9 @@ "iopub.status.idle": "2021-01-26T14:13:57.123461Z", "shell.execute_reply": "2021-01-26T14:13:57.122684Z", "shell.execute_reply.started": "2021-01-26T14:13:57.115768Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "## Connect to your slack\n", @@ -78,7 +91,9 @@ "iopub.status.idle": "2021-01-26T14:14:40.257258Z", "shell.execute_reply": "2021-01-26T14:14:40.256763Z", "shell.execute_reply.started": "2021-01-26T14:14:40.239067Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -95,7 +110,9 @@ "iopub.status.idle": "2021-01-26T14:12:31.464769Z", "shell.execute_reply": "2021-01-26T14:12:31.464098Z", "shell.execute_reply.started": "2021-01-26T14:12:31.462007Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ "## Set your message " @@ -112,7 +129,9 @@ "iopub.status.idle": "2021-01-26T14:14:40.392634Z", "shell.execute_reply": "2021-01-26T14:14:40.392100Z", "shell.execute_reply.started": "2021-01-26T14:14:40.388208Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -124,7 +143,10 @@ { "cell_type": "markdown", "id": "empty-border", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Send it" ] @@ -140,7 +162,9 @@ "iopub.status.idle": "2021-01-26T14:14:41.296391Z", "shell.execute_reply": "2021-01-26T14:14:41.295654Z", "shell.execute_reply.started": "2021-01-26T14:14:40.944128Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -160,7 +184,10 @@ "cell_type": "code", "execution_count": null, "id": "practical-tennis", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -182,8 +209,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Snowflake/Snowflake_Create_table_from_csv.ipynb b/Snowflake/Snowflake_Create_table_from_csv.ipynb index 6785e10739..c0a6aff453 100644 --- a/Snowflake/Snowflake_Create_table_from_csv.ipynb +++ b/Snowflake/Snowflake_Create_table_from_csv.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "paperback-friendship", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "honest-national", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Snowflake - Creating a table from CSV " + "# Snowflake - Creating a table from CSV \n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Snowflake/Snowflake_Create_table_from_csv.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "invalid-fleet", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "pregnant-artwork", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 1 - Insert your credentials" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "governing-think", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "username = \"sanjaynaas\"\n", @@ -40,7 +61,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "becoming-input", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 2 - Specify your account details" ] @@ -48,7 +73,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "european-imagination", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "account = \"iz84541.europe-west4.gcp\"\n", @@ -60,7 +89,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "manufactured-tobago", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 3 - Connecting to Snowflake" ] @@ -68,7 +101,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "disturbed-battlefield", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -89,7 +126,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "technical-assault", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 4 - Setting the environment" ] @@ -97,7 +138,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "veterinary-attempt", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -123,7 +168,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "victorian-match", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 5 - Table Creation " ] @@ -131,7 +180,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "smooth-still", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -151,7 +204,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "wound-berry", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 6 - Loading the csv" ] @@ -159,7 +216,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "cheap-married", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -185,7 +246,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "coordinate-technical", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 7 - Inserting into the table" ] @@ -193,7 +258,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "prospective-magic", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -217,7 +286,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "caroline-benefit", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 8 - Showing the updated table" ] @@ -225,7 +298,11 @@ { "cell_type": "code", "execution_count": 8, - "metadata": {}, + "id": "perfect-audit", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -327,8 +404,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Snowflake/Snowflake_Delete_table.ipynb b/Snowflake/Snowflake_Delete_table.ipynb index c0feccd6c9..2447085376 100644 --- a/Snowflake/Snowflake_Delete_table.ipynb +++ b/Snowflake/Snowflake_Delete_table.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "suspended-february", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "sunrise-alfred", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "## Snowflake - Deleting tables in a database" + "## Snowflake - Deleting tables in a database\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Snowflake/Snowflake_Delete_table.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "modular-robinson", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "emotional-seventh", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 1 - Insert your credentials" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "pursuant-rhythm", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "username = \"sanjaynaas\"\n", @@ -40,7 +61,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "successful-establishment", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 2 - Specify your account details" ] @@ -48,7 +73,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "initial-friendship", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "account = \"iz84541.europe-west4.gcp\"\n", @@ -60,7 +89,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "southeast-manufacturer", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 3 - Connecting to Snowflake" ] @@ -68,7 +101,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "strategic-guess", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -89,7 +126,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "approximate-palestinian", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 4 - Setting the environment" ] @@ -97,7 +138,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "typical-mailing", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -123,7 +168,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "beginning-wrestling", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 5 - To see existing tables " ] @@ -131,7 +180,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "chubby-constant", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -245,7 +298,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "legendary-landing", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 6 - Table deletion" ] @@ -253,7 +310,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "superior-trailer", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -273,7 +334,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "substantial-canon", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 7 - Table list after deletion" ] @@ -281,7 +346,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "short-muslim", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -377,28 +446,44 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "humanitarian-miller", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "touched-pleasure", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "ambient-recruitment", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "missing-prisoner", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -420,8 +505,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Snowflake/Snowflake_Read_Table.ipynb b/Snowflake/Snowflake_Read_Table.ipynb index f833799f53..62e2497a7b 100644 --- a/Snowflake/Snowflake_Read_Table.ipynb +++ b/Snowflake/Snowflake_Read_Table.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "intermediate-roman", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "dominican-pierre", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "## Snowflake - Reading tables in a database" + "## Snowflake - Reading tables in a database\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Snowflake/Snowflake_Read_Table.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "adopted-portable", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "awful-literature", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 1 - Insert your credentials" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "meaning-detective", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "username = \"sanjaynaas\"\n", @@ -40,7 +61,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "monetary-northeast", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 2 - Specify your account details" ] @@ -48,7 +73,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "bibliographic-music", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "account = \"iz84541.europe-west4.gcp\"\n", @@ -60,7 +89,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "critical-length", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 3 - Connecting to Snowflake" ] @@ -68,7 +101,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "expected-lotus", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -89,7 +126,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "listed-choice", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 4 - Setting the environment " ] @@ -97,7 +138,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "alternative-height", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -123,7 +168,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "apart-mountain", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 5 - To see contents of table" ] @@ -131,7 +180,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "cross-particle", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -316,7 +369,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "powered-stability", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 6 - Reading data from the table" ] @@ -324,7 +381,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "vital-chicago", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -340,7 +401,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "protected-planet", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 7 - Fetching table details" ] @@ -348,7 +413,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "alive-flower", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -366,7 +435,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "compound-spirit", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 8 - Preparing csv file" ] @@ -374,7 +447,11 @@ { "cell_type": "code", "execution_count": 9, - "metadata": {}, + "id": "outer-ozone", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -570,8 +647,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Snowflake/Snowflake_Update_table.ipynb b/Snowflake/Snowflake_Update_table.ipynb index 661436e541..75334a96de 100644 --- a/Snowflake/Snowflake_Update_table.ipynb +++ b/Snowflake/Snowflake_Update_table.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "handmade-jerusalem", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "unlike-dutch", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Snowflake - Updating rows in a table " + "# Snowflake - Updating rows in a table \n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Snowflake/Snowflake_Update_table.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "liberal-alexander", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "acting-hobby", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 1 - Insert your credentials" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "wound-skirt", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "username = \"sanjaynaas\"\n", @@ -40,7 +61,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "protective-chick", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 2 - Specify your account details" ] @@ -48,7 +73,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "friendly-october", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "account = \"iz84541.europe-west4.gcp\"\n", @@ -58,7 +87,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "backed-compound", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 3 - Read the csv file and converting to list" ] @@ -66,7 +99,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "attempted-action", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -92,7 +129,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "sound-portland", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 4 - Connecting to Snowflake" ] @@ -100,7 +141,11 @@ { "cell_type": "code", "execution_count": 8, - "metadata": {}, + "id": "integral-gossip", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -119,7 +164,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "random-chicken", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 5 - Updating Snowflake" ] @@ -127,7 +176,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "received-newcastle", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -151,7 +204,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "adolescent-vampire", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step 6 - To see contents of table" ] @@ -159,7 +216,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "entertaining-psychiatry", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -188,7 +249,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "literary-packaging", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Step - Closing the Connection" ] @@ -196,7 +261,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "tracked-donor", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "instance.close_connection()" @@ -220,8 +289,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Societe.com/get_company_details.ipynb b/Societe.com/get_company_details.ipynb index 9692eca2c8..0bcad8ee4b 100644 --- a/Societe.com/get_company_details.ipynb +++ b/Societe.com/get_company_details.ipynb @@ -11,7 +11,9 @@ "iopub.status.idle": "2021-01-25T11:04:19.613244Z", "shell.execute_reply": "2021-01-25T11:04:19.612626Z", "shell.execute_reply.started": "2021-01-25T11:04:19.327170Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -165,7 +167,10 @@ "cell_type": "code", "execution_count": null, "id": "cardiovascular-perspective", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -187,8 +192,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Societe.com/get_societe.ninja.ipynb b/Societe.com/get_societe.ninja.ipynb index 356cfee1e8..0dccf414b9 100644 --- a/Societe.com/get_societe.ninja.ipynb +++ b/Societe.com/get_societe.ninja.ipynb @@ -3,11 +3,15 @@ { "cell_type": "markdown", "id": "proved-olympus", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n", "\n", - "# Get Company data from Societe ninja (free alternative to societe.com )" + "# Get Company data from Societe ninja (free alternative to societe.com )\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Societe.com/get_societe.ninja.ipynb)" ] }, { @@ -21,7 +25,9 @@ "iopub.status.idle": "2021-01-25T15:01:58.565300Z", "shell.execute_reply": "2021-01-25T15:01:58.564720Z", "shell.execute_reply.started": "2021-01-25T15:01:53.141624Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -40,7 +46,9 @@ "iopub.status.idle": "2021-01-25T15:01:58.572745Z", "shell.execute_reply": "2021-01-25T15:01:58.572121Z", "shell.execute_reply.started": "2021-01-25T15:01:58.567947Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -66,7 +74,9 @@ "iopub.status.idle": "2021-01-25T15:01:58.667526Z", "shell.execute_reply": "2021-01-25T15:01:58.667008Z", "shell.execute_reply.started": "2021-01-25T15:01:58.574327Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -127,7 +137,9 @@ "iopub.status.idle": "2021-01-25T15:01:58.767936Z", "shell.execute_reply": "2021-01-25T15:01:58.767301Z", "shell.execute_reply.started": "2021-01-25T15:01:58.669939Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -244,7 +256,9 @@ "iopub.status.idle": "2021-01-25T15:01:58.883023Z", "shell.execute_reply": "2021-01-25T15:01:58.882507Z", "shell.execute_reply.started": "2021-01-25T15:01:58.768998Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -311,7 +325,9 @@ "iopub.status.idle": "2021-01-25T15:01:58.983471Z", "shell.execute_reply": "2021-01-25T15:01:58.982714Z", "shell.execute_reply.started": "2021-01-25T15:01:58.884097Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -387,7 +403,9 @@ "iopub.status.idle": "2021-01-25T15:01:59.084988Z", "shell.execute_reply": "2021-01-25T15:01:59.084354Z", "shell.execute_reply.started": "2021-01-25T15:01:58.985476Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -457,7 +475,9 @@ "iopub.status.idle": "2021-01-25T15:01:59.169075Z", "shell.execute_reply": "2021-01-25T15:01:59.168436Z", "shell.execute_reply.started": "2021-01-25T15:01:59.086595Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -529,7 +549,9 @@ "iopub.status.idle": "2021-01-25T15:01:59.262955Z", "shell.execute_reply": "2021-01-25T15:01:59.262415Z", "shell.execute_reply.started": "2021-01-25T15:01:59.170423Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -610,7 +632,9 @@ "iopub.status.idle": "2021-01-25T15:01:59.355149Z", "shell.execute_reply": "2021-01-25T15:01:59.354478Z", "shell.execute_reply.started": "2021-01-25T15:01:59.264129Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -668,7 +692,10 @@ "cell_type": "code", "execution_count": null, "id": "compliant-dependence", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -690,8 +717,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Societe.com/get_verif.com.ipynb b/Societe.com/get_verif.com.ipynb index ebdf80bd73..4a76b2d59a 100644 --- a/Societe.com/get_verif.com.ipynb +++ b/Societe.com/get_verif.com.ipynb @@ -3,11 +3,15 @@ { "cell_type": "markdown", "id": "according-salem", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n", "\n", - "# Get Company data from Verif.com (free alternative to societe.com )" + "# Get Company data from Verif.com (free alternative to societe.com )\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Societe.com/get_verif.com.ipynb)" ] }, { @@ -21,7 +25,9 @@ "iopub.status.idle": "2021-01-26T16:42:31.570890Z", "shell.execute_reply": "2021-01-26T16:42:31.570214Z", "shell.execute_reply.started": "2021-01-26T16:42:30.741194Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -40,7 +46,9 @@ "iopub.status.idle": "2021-01-26T16:42:31.576083Z", "shell.execute_reply": "2021-01-26T16:42:31.575476Z", "shell.execute_reply.started": "2021-01-26T16:42:31.572360Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -66,7 +74,9 @@ "iopub.status.idle": "2021-01-26T16:42:31.684671Z", "shell.execute_reply": "2021-01-26T16:42:31.684039Z", "shell.execute_reply.started": "2021-01-26T16:42:31.577419Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -213,7 +223,9 @@ "iopub.status.idle": "2021-01-25T14:57:40.237602Z", "shell.execute_reply": "2021-01-25T14:57:40.237017Z", "shell.execute_reply.started": "2021-01-25T14:57:40.231363Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -276,7 +288,9 @@ "iopub.status.idle": "2021-01-25T14:57:40.687564Z", "shell.execute_reply": "2021-01-25T14:57:40.686888Z", "shell.execute_reply.started": "2021-01-25T14:57:40.681266Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -339,7 +353,9 @@ "iopub.status.idle": "2021-01-25T14:57:44.812000Z", "shell.execute_reply": "2021-01-25T14:57:44.811411Z", "shell.execute_reply.started": "2021-01-25T14:57:44.805647Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -415,8 +431,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Stripe/Stripe_Get_balances.ipynb b/Stripe/Stripe_Get_balances.ipynb index 610c1dfc35..d37fbac893 100644 --- a/Stripe/Stripe_Get_balances.ipynb +++ b/Stripe/Stripe_Get_balances.ipynb @@ -3,18 +3,25 @@ { "cell_type": "markdown", "id": "innocent-beaver", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n", "\n", - "# Stripe - Get balance" + "# Stripe - Get balance\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Stripe/Stripe_Get_balances.ipynb)" ] }, { "cell_type": "code", "execution_count": null, "id": "indie-familiar", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "pip install stripe" @@ -31,7 +38,9 @@ "iopub.status.idle": "2021-01-28T13:33:58.837835Z", "shell.execute_reply": "2021-01-28T13:33:58.837288Z", "shell.execute_reply.started": "2021-01-28T13:33:58.833241Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -49,7 +58,9 @@ "iopub.status.idle": "2021-01-28T13:33:59.009897Z", "shell.execute_reply": "2021-01-28T13:33:59.009279Z", "shell.execute_reply.started": "2021-01-28T13:33:59.006589Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -70,7 +81,9 @@ "iopub.status.idle": "2021-01-28T13:34:16.080833Z", "shell.execute_reply": "2021-01-28T13:34:16.080180Z", "shell.execute_reply.started": "2021-01-28T13:34:15.749748Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -264,8 +277,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Stripe/Stripe_Get_charges.ipynb b/Stripe/Stripe_Get_charges.ipynb index 6c2baf7ed7..454f980edf 100644 --- a/Stripe/Stripe_Get_charges.ipynb +++ b/Stripe/Stripe_Get_charges.ipynb @@ -3,18 +3,25 @@ { "cell_type": "markdown", "id": "intermediate-retro", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n", "\n", - "# Stripe - Get charges" + "# Stripe - Get charges\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Stripe/Stripe_Get_charges.ipynb)" ] }, { "cell_type": "code", "execution_count": null, "id": "synthetic-feeding", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "pip install stripe" @@ -31,7 +38,9 @@ "iopub.status.idle": "2021-01-28T13:33:58.837835Z", "shell.execute_reply": "2021-01-28T13:33:58.837288Z", "shell.execute_reply.started": "2021-01-28T13:33:58.833241Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -49,7 +58,9 @@ "iopub.status.idle": "2021-01-28T13:33:59.009897Z", "shell.execute_reply": "2021-01-28T13:33:59.009279Z", "shell.execute_reply.started": "2021-01-28T13:33:59.006589Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -70,7 +81,9 @@ "iopub.status.idle": "2021-01-28T13:34:35.020580Z", "shell.execute_reply": "2021-01-28T13:34:35.019895Z", "shell.execute_reply.started": "2021-01-28T13:34:34.613439Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -262,8 +275,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Stripe/Stripe_Get_customers.ipynb b/Stripe/Stripe_Get_customers.ipynb index a207466a66..b59f75ec28 100644 --- a/Stripe/Stripe_Get_customers.ipynb +++ b/Stripe/Stripe_Get_customers.ipynb @@ -3,18 +3,25 @@ { "cell_type": "markdown", "id": "residential-working", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n", "\n", - "# Stripe - Get customers" + "# Stripe - Get customers\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Stripe/Stripe_Get_customers.ipynb)" ] }, { "cell_type": "code", "execution_count": null, "id": "greek-advocacy", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "pip install stripe" @@ -31,7 +38,9 @@ "iopub.status.idle": "2021-01-28T13:36:39.110700Z", "shell.execute_reply": "2021-01-28T13:36:39.110010Z", "shell.execute_reply.started": "2021-01-28T13:36:39.107664Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -49,7 +58,9 @@ "iopub.status.idle": "2021-01-28T13:36:39.632730Z", "shell.execute_reply": "2021-01-28T13:36:39.632115Z", "shell.execute_reply.started": "2021-01-28T13:36:39.272270Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -70,7 +81,9 @@ "iopub.status.idle": "2021-01-28T13:36:40.606885Z", "shell.execute_reply": "2021-01-28T13:36:40.606237Z", "shell.execute_reply.started": "2021-01-28T13:36:39.634079Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -1085,7 +1098,10 @@ "cell_type": "code", "execution_count": null, "id": "super-cooperative", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] }, @@ -1093,7 +1109,10 @@ "cell_type": "code", "execution_count": null, "id": "clear-europe", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -1115,8 +1134,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Thinkific/Thinkific_Get_users.ipynb b/Thinkific/Thinkific_Get_users.ipynb index c36cb68557..55cd654bb8 100644 --- a/Thinkific/Thinkific_Get_users.ipynb +++ b/Thinkific/Thinkific_Get_users.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "suitable-offer", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -18,17 +21,23 @@ "iopub.status.idle": "2021-03-01T23:07:47.553710Z", "shell.execute_reply": "2021-03-01T23:07:47.553199Z", "shell.execute_reply.started": "2021-03-01T23:07:47.548800Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ - "# Thinkific - Get users" + "# Thinkific - Get users\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Thinkific/Thinkific_Get_users.ipynb)" ] }, { "cell_type": "code", "execution_count": null, "id": "completed-three", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import nass_drivers\n", @@ -56,8 +65,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Thinkific/Thinkific_Send_users.ipynb b/Thinkific/Thinkific_Send_users.ipynb index b69638bf8d..935cc9d749 100644 --- a/Thinkific/Thinkific_Send_users.ipynb +++ b/Thinkific/Thinkific_Send_users.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "above-calvin", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -18,17 +21,23 @@ "iopub.status.idle": "2021-03-01T23:08:51.438164Z", "shell.execute_reply": "2021-03-01T23:08:51.437596Z", "shell.execute_reply.started": "2021-03-01T23:08:51.432154Z" - } + }, + "papermill": {}, + "tags": [] }, "source": [ - "# Thinkific - Send users" + "# Thinkific - Send users\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Thinkific/Thinkific_Send_users.ipynb)" ] }, { "cell_type": "code", "execution_count": null, "id": "latter-revelation", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import nass_drivers\n", @@ -56,8 +65,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Trello/Trello_Get_board_data.ipynb b/Trello/Trello_Get_board_data.ipynb index 27cc4d05bf..a11b069c6c 100644 --- a/Trello/Trello_Get_board_data.ipynb +++ b/Trello/Trello_Get_board_data.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "steady-basin", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "undefined-victory", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Trello - Get board data" + "# Trello - Get board data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Trello/Trello_Get_board_data.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "finite-documentary", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 1. Import " ] @@ -24,7 +37,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "supreme-westminster", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import trello_connector" @@ -32,7 +49,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "exotic-academy", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 2. Declaring Variables" ] @@ -40,7 +61,11 @@ { "cell_type": "code", "execution_count": 15, - "metadata": {}, + "id": "tender-albany", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "token = \"\"\n", @@ -51,7 +76,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "reduced-tourist", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "- token and key can be get from trello developer dashboard \n", "- board is the unique id for each trello board. it can be get from trello board url\n", @@ -61,7 +90,11 @@ { "cell_type": "code", "execution_count": 17, - "metadata": {}, + "id": "decreased-pathology", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -93,8 +126,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Twitter/Twitter_Post_text_and_image.ipynb b/Twitter/Twitter_Post_text_and_image.ipynb index f5845dcd4d..9cd7b74843 100644 --- a/Twitter/Twitter_Post_text_and_image.ipynb +++ b/Twitter/Twitter_Post_text_and_image.ipynb @@ -2,21 +2,31 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "experimental-camel", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "removed-variation", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Twitter - Post text and image" + "# Twitter - Post text and image\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Twitter/Twitter_Post_text_and_image.ipynb)" ] }, { "cell_type": "code", "execution_count": 17, + "id": "latest-abraham", "metadata": { "execution": { "iopub.execute_input": "2021-03-01T19:25:42.994983Z", @@ -24,7 +34,9 @@ "iopub.status.idle": "2021-03-01T19:25:43.078151Z", "shell.execute_reply": "2021-03-01T19:25:43.077548Z", "shell.execute_reply.started": "2021-03-01T19:25:42.994959Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -43,6 +55,7 @@ { "cell_type": "code", "execution_count": 18, + "id": "challenging-framework", "metadata": { "execution": { "iopub.execute_input": "2021-03-01T19:25:43.686302Z", @@ -50,7 +63,9 @@ "iopub.status.idle": "2021-03-01T19:25:43.820723Z", "shell.execute_reply": "2021-03-01T19:25:43.811502Z", "shell.execute_reply.started": "2021-03-01T19:25:43.686269Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -2250,6 +2265,7 @@ { "cell_type": "code", "execution_count": 19, + "id": "italic-calcium", "metadata": { "execution": { "iopub.execute_input": "2021-03-01T19:26:12.160632Z", @@ -2257,7 +2273,9 @@ "iopub.status.idle": "2021-03-01T19:26:20.827217Z", "shell.execute_reply": "2021-03-01T19:26:20.826543Z", "shell.execute_reply.started": "2021-03-01T19:26:12.160607Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -2276,6 +2294,7 @@ { "cell_type": "code", "execution_count": 20, + "id": "lesbian-defeat", "metadata": { "execution": { "iopub.execute_input": "2021-03-01T19:26:22.920336Z", @@ -2283,7 +2302,9 @@ "iopub.status.idle": "2021-03-01T19:26:24.070406Z", "shell.execute_reply": "2021-03-01T19:26:24.069790Z", "shell.execute_reply.started": "2021-03-01T19:26:22.920314Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -2338,7 +2359,11 @@ { "cell_type": "code", "execution_count": 20, - "metadata": {}, + "id": "fewer-traveler", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "twitter_post = \"\"\"📈🚀 Every day at 9AM PST / 6PM CET
\n", @@ -2357,7 +2382,11 @@ { "cell_type": "code", "execution_count": 21, - "metadata": {}, + "id": "ignored-paper", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "result = naas_drivers.ifttt.webhook(event, key, data)" @@ -2381,8 +2410,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Twitter/Twitter_Schedule_posts.ipynb b/Twitter/Twitter_Schedule_posts.ipynb index d55bc84b08..1f25bb42eb 100644 --- a/Twitter/Twitter_Schedule_posts.ipynb +++ b/Twitter/Twitter_Schedule_posts.ipynb @@ -3,15 +3,22 @@ { "cell_type": "markdown", "id": "competent-physics", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Twitter - Post automation " + "# Twitter - Post automation \n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Twitter/Twitter_Schedule_posts.ipynb)" ] }, { "cell_type": "markdown", "id": "welcome-geneva", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get data from Gsheet" ] @@ -27,7 +34,9 @@ "iopub.status.idle": "2021-02-25T15:31:56.455948Z", "shell.execute_reply": "2021-02-25T15:31:56.455320Z", "shell.execute_reply.started": "2021-02-25T15:31:56.144422Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -148,7 +157,10 @@ { "cell_type": "markdown", "id": "convertible-number", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get current date and time details" ] @@ -164,7 +176,9 @@ "iopub.status.idle": "2021-02-25T15:24:39.985067Z", "shell.execute_reply": "2021-02-25T15:24:39.984473Z", "shell.execute_reply.started": "2021-02-25T15:24:39.953753Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -195,7 +209,9 @@ "iopub.status.idle": "2021-02-25T15:32:34.774834Z", "shell.execute_reply": "2021-02-25T15:32:34.774351Z", "shell.execute_reply.started": "2021-02-25T15:32:34.768579Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -218,7 +234,10 @@ { "cell_type": "markdown", "id": "existing-judge", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Schedule check every minute\n", "If BROADCAST_DATE matches the current time then send twit from text column." @@ -235,7 +254,9 @@ "iopub.status.idle": "2021-02-25T15:32:43.106146Z", "shell.execute_reply": "2021-02-25T15:32:43.105545Z", "shell.execute_reply.started": "2021-02-25T15:32:42.780888Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -260,7 +281,10 @@ { "cell_type": "markdown", "id": "useful-handling", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## If current date and column date in Gsheet matches then post" ] @@ -276,7 +300,9 @@ "iopub.status.idle": "2021-02-25T15:32:48.286146Z", "shell.execute_reply": "2021-02-25T15:32:48.283665Z", "shell.execute_reply.started": "2021-02-25T15:32:48.278348Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -312,7 +338,10 @@ "cell_type": "code", "execution_count": null, "id": "mysterious-likelihood", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -334,8 +363,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/WorldBank/WorldBank_GDP_contributors.ipynb b/WorldBank/WorldBank_GDP_contributors.ipynb index 4bf49ceb1d..1285d3a2d1 100644 --- a/WorldBank/WorldBank_GDP_contributors.ipynb +++ b/WorldBank/WorldBank_GDP_contributors.ipynb @@ -2,16 +2,24 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "unnecessary-melissa", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# World GDP contributors (Waterfall)\n" + "# World GDP contributors (Waterfall)\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/WorldBank/WorldBank_GDP_contributors.ipynb)\n" ] }, { "cell_type": "markdown", + "id": "false-measurement", "metadata": { "colab_type": "text", - "id": "q-s3Zmy6LOxl" + "id": "q-s3Zmy6LOxl", + "papermill": {}, + "tags": [] }, "source": [ "**Step 1** ~ Import" @@ -20,10 +28,13 @@ { "cell_type": "code", "execution_count": 1, + "id": "nearby-transformation", "metadata": { "colab": {}, "colab_type": "code", - "id": "xH5cSxMoPgXZ" + "id": "xH5cSxMoPgXZ", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -37,9 +48,12 @@ }, { "cell_type": "markdown", + "id": "molecular-bailey", "metadata": { "colab_type": "text", - "id": "j7g0fpjFMONE" + "id": "j7g0fpjFMONE", + "papermill": {}, + "tags": [] }, "source": [ "**Step 2** ~ Récupération de données" @@ -48,10 +62,13 @@ { "cell_type": "code", "execution_count": 2, + "id": "global-summer", "metadata": { "colab": {}, "colab_type": "code", - "id": "8_HVSp5kQVGG" + "id": "8_HVSp5kQVGG", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -196,9 +213,12 @@ }, { "cell_type": "markdown", + "id": "funny-thomas", "metadata": { "colab_type": "text", - "id": "zYGzvG7oMdqC" + "id": "zYGzvG7oMdqC", + "papermill": {}, + "tags": [] }, "source": [ "**Step 3** ~ Trie et filtrage des données" @@ -207,10 +227,13 @@ { "cell_type": "code", "execution_count": 3, + "id": "accredited-thomson", "metadata": { "colab": {}, "colab_type": "code", - "id": "lYkQgf12QMm4" + "id": "lYkQgf12QMm4", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -225,9 +248,12 @@ }, { "cell_type": "markdown", + "id": "reduced-transparency", "metadata": { "colab_type": "text", - "id": "McC8dqZlMqTF" + "id": "McC8dqZlMqTF", + "papermill": {}, + "tags": [] }, "source": [ "**Step 4** ~ Formattage des données" @@ -236,10 +262,13 @@ { "cell_type": "code", "execution_count": 4, + "id": "behind-mason", "metadata": { "colab": {}, "colab_type": "code", - "id": "WzMtizlQE0kJ" + "id": "WzMtizlQE0kJ", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -303,9 +332,12 @@ }, { "cell_type": "markdown", + "id": "portuguese-sodium", "metadata": { "colab_type": "text", - "id": "16oHYUJ1M0Go" + "id": "16oHYUJ1M0Go", + "papermill": {}, + "tags": [] }, "source": [ "**Step 5** ~ Affichage du Graphique\n", @@ -320,6 +352,7 @@ { "cell_type": "code", "execution_count": 5, + "id": "pediatric-sterling", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -327,7 +360,9 @@ }, "colab_type": "code", "id": "GvLX_JmL8jdS", - "outputId": "8ffbf794-732e-462a-8e8d-b0182d9bcfaf" + "outputId": "8ffbf794-732e-462a-8e8d-b0182d9bcfaf", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -1380,9 +1415,12 @@ }, { "cell_type": "markdown", + "id": "north-italic", "metadata": { "colab_type": "text", - "id": "WTcCKP1BNAmE" + "id": "WTcCKP1BNAmE", + "papermill": {}, + "tags": [] }, "source": [ "**Step 6** ~ Refaire les étapes pour le PIB par pays" @@ -1391,10 +1429,13 @@ { "cell_type": "code", "execution_count": 6, + "id": "copyrighted-reconstruction", "metadata": { "colab": {}, "colab_type": "code", - "id": "7tIxAkuGOS57" + "id": "7tIxAkuGOS57", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -1542,10 +1583,13 @@ { "cell_type": "code", "execution_count": 7, + "id": "charged-midnight", "metadata": { "colab": {}, "colab_type": "code", - "id": "2G7mxo74NuGI" + "id": "2G7mxo74NuGI", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -1559,10 +1603,13 @@ { "cell_type": "code", "execution_count": 8, + "id": "previous-version", "metadata": { "colab": {}, "colab_type": "code", - "id": "yBFTCtotN6Ks" + "id": "yBFTCtotN6Ks", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -1626,6 +1673,7 @@ { "cell_type": "code", "execution_count": 9, + "id": "viral-orange", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -1633,7 +1681,9 @@ }, "colab_type": "code", "id": "oglJypt2N9zl", - "outputId": "51c95097-9c89-43a8-f7b5-fde78eeea682" + "outputId": "51c95097-9c89-43a8-f7b5-fde78eeea682", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -2603,9 +2653,12 @@ }, { "cell_type": "markdown", + "id": "completed-keeping", "metadata": { "colab_type": "text", - "id": "Jp52dpf1kLuu" + "id": "Jp52dpf1kLuu", + "papermill": {}, + "tags": [] }, "source": [] } @@ -2633,8 +2686,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.5" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/WorldBank/WorldBank_GDP_per_capita_and_growth.ipynb b/WorldBank/WorldBank_GDP_per_capita_and_growth.ipynb index 13905db41c..f049cf02a1 100644 --- a/WorldBank/WorldBank_GDP_per_capita_and_growth.ipynb +++ b/WorldBank/WorldBank_GDP_per_capita_and_growth.ipynb @@ -2,19 +2,26 @@ "cells": [ { "cell_type": "markdown", + "id": "together-secretariat", "metadata": { "colab_type": "text", - "id": "view-in-github" + "id": "view-in-github", + "papermill": {}, + "tags": [] }, "source": [ - "# GDP per capita & growth" + "# GDP per capita & growth\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/WorldBank/WorldBank_GDP_per_capita_and_growth.ipynb)" ] }, { "cell_type": "markdown", + "id": "indirect-relaxation", "metadata": { "colab_type": "text", - "id": "NFm_zRA1PE2e" + "id": "NFm_zRA1PE2e", + "papermill": {}, + "tags": [] }, "source": [ "Objective : allows to visualize the distribution of GDP per capita and the GDP growth in the world. Click on the country on the map or select it to see the details info\n", @@ -34,10 +41,13 @@ { "cell_type": "code", "execution_count": 1, + "id": "statutory-conclusion", "metadata": { "colab": {}, "colab_type": "code", - "id": "PxNbb9bE5Py_" + "id": "PxNbb9bE5Py_", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -49,6 +59,7 @@ { "cell_type": "code", "execution_count": 2, + "id": "oriented-gothic", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -56,7 +67,9 @@ }, "colab_type": "code", "id": "0ksZHPdp6JgN", - "outputId": "152bded3-95ee-4729-9c77-0fedbcc2a41a" + "outputId": "152bded3-95ee-4729-9c77-0fedbcc2a41a", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -273,6 +286,7 @@ { "cell_type": "code", "execution_count": 3, + "id": "surrounded-supervision", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -280,7 +294,9 @@ }, "colab_type": "code", "id": "iq6gJ2MwedAL", - "outputId": "7633a002-78cf-465d-a859-617c4b1e5bf8" + "outputId": "7633a002-78cf-465d-a859-617c4b1e5bf8", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -2737,8 +2753,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/WorldBank/WorldBank_GDP_per_country_and_evolution.ipynb b/WorldBank/WorldBank_GDP_per_country_and_evolution.ipynb index f8b437ae4c..a5e0bfa9a3 100644 --- a/WorldBank/WorldBank_GDP_per_country_and_evolution.ipynb +++ b/WorldBank/WorldBank_GDP_per_country_and_evolution.ipynb @@ -2,19 +2,26 @@ "cells": [ { "cell_type": "markdown", + "id": "celtic-fiber", "metadata": { "colab_type": "text", - "id": "NFm_zRA1PE2e" + "id": "NFm_zRA1PE2e", + "papermill": {}, + "tags": [] }, "source": [ - "# GDP per country & evolution" + "# GDP per country & evolution\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/WorldBank/WorldBank_GDP_per_country_and_evolution.ipynb)" ] }, { "cell_type": "markdown", + "id": "sacred-advocacy", "metadata": { "colab_type": "text", - "id": "eHA8sVa24OON" + "id": "eHA8sVa24OON", + "papermill": {}, + "tags": [] }, "source": [ "Objective : allows to visualize the distribution of GDP per capita and the GDP growth in the world. Click on the country on the map or select it to see the details info\n", @@ -36,9 +43,12 @@ }, { "cell_type": "markdown", + "id": "mounted-floating", "metadata": { "colab_type": "text", - "id": "7DurCJtH4YWL" + "id": "7DurCJtH4YWL", + "papermill": {}, + "tags": [] }, "source": [ "**source des données:** data.worldbank.org\n", @@ -48,9 +58,12 @@ }, { "cell_type": "markdown", + "id": "christian-vector", "metadata": { "colab_type": "text", - "id": "UDK3v1kJe3Ku" + "id": "UDK3v1kJe3Ku", + "papermill": {}, + "tags": [] }, "source": [ "**Introduction**: https://drive.google.com/file/d/1kM7_P18bwEPrsZSk8YsvOdiuJyLN1_3H/view?usp=sharing" @@ -58,9 +71,12 @@ }, { "cell_type": "markdown", + "id": "textile-legislation", "metadata": { "colab_type": "text", - "id": "JDQhKKXgQ3z7" + "id": "JDQhKKXgQ3z7", + "papermill": {}, + "tags": [] }, "source": [ "**Étape 1 - Récupérer les données**\n", @@ -74,9 +90,12 @@ }, { "cell_type": "markdown", + "id": "technological-quarterly", "metadata": { "colab_type": "text", - "id": "kISsuJL15JqX" + "id": "kISsuJL15JqX", + "papermill": {}, + "tags": [] }, "source": [ "**Step 2 : Importer les librairies Pythons**\n", @@ -86,10 +105,13 @@ { "cell_type": "code", "execution_count": 1, + "id": "fundamental-manchester", "metadata": { "colab": {}, "colab_type": "code", - "id": "PxNbb9bE5Py_" + "id": "PxNbb9bE5Py_", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -100,9 +122,12 @@ }, { "cell_type": "markdown", + "id": "unlikely-import", "metadata": { "colab_type": "text", - "id": "w4BwPJoDErL1" + "id": "w4BwPJoDErL1", + "papermill": {}, + "tags": [] }, "source": [ "**Step 3 : Mise en forme des données**" @@ -111,6 +136,7 @@ { "cell_type": "code", "execution_count": 2, + "id": "developed-blair", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -118,7 +144,9 @@ }, "colab_type": "code", "id": "0ksZHPdp6JgN", - "outputId": "152bded3-95ee-4729-9c77-0fedbcc2a41a" + "outputId": "152bded3-95ee-4729-9c77-0fedbcc2a41a", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -334,9 +362,12 @@ }, { "cell_type": "markdown", + "id": "voluntary-terror", "metadata": { "colab_type": "text", - "id": "YFRXBt3QRGyV" + "id": "YFRXBt3QRGyV", + "papermill": {}, + "tags": [] }, "source": [ "**Step 4 : Affichage des données dans un graphique avec Plotly**" @@ -345,6 +376,7 @@ { "cell_type": "code", "execution_count": 3, + "id": "taken-think", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -352,7 +384,9 @@ }, "colab_type": "code", "id": "iq6gJ2MwedAL", - "outputId": "7633a002-78cf-465d-a859-617c4b1e5bf8" + "outputId": "7633a002-78cf-465d-a859-617c4b1e5bf8", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -2807,8 +2841,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/WorldBank/WorldBank_Gini_index.ipynb b/WorldBank/WorldBank_Gini_index.ipynb index 5af3734e65..a66bf554ac 100644 --- a/WorldBank/WorldBank_Gini_index.ipynb +++ b/WorldBank/WorldBank_Gini_index.ipynb @@ -2,19 +2,26 @@ "cells": [ { "cell_type": "markdown", + "id": "funny-capital", "metadata": { "colab_type": "text", - "id": "view-in-github" + "id": "view-in-github", + "papermill": {}, + "tags": [] }, "source": [ - "# Gini index (Map)" + "# Gini index (Map)\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/WorldBank/WorldBank_Gini_index.ipynb)" ] }, { "cell_type": "markdown", + "id": "involved-testimony", "metadata": { "colab_type": "text", - "id": "gJJvkedAw2ej" + "id": "gJJvkedAw2ej", + "papermill": {}, + "tags": [] }, "source": [ "**Objective**\n", @@ -36,9 +43,12 @@ }, { "cell_type": "markdown", + "id": "technical-battle", "metadata": { "colab_type": "text", - "id": "49iKyABgHbfY" + "id": "49iKyABgHbfY", + "papermill": {}, + "tags": [] }, "source": [ "**Step 1 : Import dependencies**\n" @@ -47,10 +57,13 @@ { "cell_type": "code", "execution_count": 1, + "id": "accompanied-documentary", "metadata": { "colab": {}, "colab_type": "code", - "id": "ZwaKnD6LvK7A" + "id": "ZwaKnD6LvK7A", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -62,9 +75,12 @@ }, { "cell_type": "markdown", + "id": "laden-decimal", "metadata": { "colab_type": "text", - "id": "C_kAdrt1HgIp" + "id": "C_kAdrt1HgIp", + "papermill": {}, + "tags": [] }, "source": [ "**Step 2 : Get the association between the country and the ISO code**" @@ -73,6 +89,7 @@ { "cell_type": "code", "execution_count": 2, + "id": "completed-thumb", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -80,7 +97,9 @@ }, "colab_type": "code", "id": "DhtRoZwU5iFO", - "outputId": "f31be84e-d5ab-466f-cd52-9eca4b0ed5c3" + "outputId": "f31be84e-d5ab-466f-cd52-9eca4b0ed5c3", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -200,9 +219,12 @@ }, { "cell_type": "markdown", + "id": "manual-sessions", "metadata": { "colab_type": "text", - "id": "fFK9AWVdHxMw" + "id": "fFK9AWVdHxMw", + "papermill": {}, + "tags": [] }, "source": [ "**Step 3 : Get gini index indicator per country**" @@ -211,6 +233,7 @@ { "cell_type": "code", "execution_count": 3, + "id": "forty-trade", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -218,7 +241,9 @@ }, "colab_type": "code", "id": "nWcEWO2g6FWc", - "outputId": "955ff09a-e9bc-469c-edf9-8d1ef1f31085" + "outputId": "955ff09a-e9bc-469c-edf9-8d1ef1f31085", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -335,9 +360,12 @@ }, { "cell_type": "markdown", + "id": "supreme-hudson", "metadata": { "colab_type": "text", - "id": "kAQIQewOIB1T" + "id": "kAQIQewOIB1T", + "papermill": {}, + "tags": [] }, "source": [ "****Step 4 : Merge previous tables****" @@ -346,6 +374,7 @@ { "cell_type": "code", "execution_count": 4, + "id": "nasty-columbia", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -353,7 +382,9 @@ }, "colab_type": "code", "id": "BnruJ8fFw752", - "outputId": "fa53f7c9-5793-4e88-fe3c-7b8aa388f658" + "outputId": "fa53f7c9-5793-4e88-fe3c-7b8aa388f658", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -475,9 +506,12 @@ }, { "cell_type": "markdown", + "id": "rolled-regression", "metadata": { "colab_type": "text", - "id": "Qyfcw-bl-45_" + "id": "Qyfcw-bl-45_", + "papermill": {}, + "tags": [] }, "source": [ "**Step 5 : Pivot previous table and fill in undefined values with values from previous years**" @@ -486,6 +520,7 @@ { "cell_type": "code", "execution_count": 5, + "id": "meaningful-rapid", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -493,7 +528,9 @@ }, "colab_type": "code", "id": "N0FaL0qA_FgM", - "outputId": "afde1c99-bf54-4476-af7a-4d450c73bfcb" + "outputId": "afde1c99-bf54-4476-af7a-4d450c73bfcb", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -906,9 +943,12 @@ }, { "cell_type": "markdown", + "id": "fluid-villa", "metadata": { "colab_type": "text", - "id": "JqJwPca9NjXD" + "id": "JqJwPca9NjXD", + "papermill": {}, + "tags": [] }, "source": [ "**Step 5 : Show a map of gini index per country over the years (from 1969 to 2018)**" @@ -917,6 +957,7 @@ { "cell_type": "code", "execution_count": 6, + "id": "mysterious-canal", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -924,7 +965,9 @@ }, "colab_type": "code", "id": "V-ixkyhq_VcR", - "outputId": "0098c743-bc81-4f48-8a4d-801ddbd06640" + "outputId": "0098c743-bc81-4f48-8a4d-801ddbd06640", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -29501,9 +29544,12 @@ }, { "cell_type": "markdown", + "id": "decent-cleanup", "metadata": { "colab_type": "text", - "id": "yIXzZ2Lalnax" + "id": "yIXzZ2Lalnax", + "papermill": {}, + "tags": [] }, "source": [ "**Step 6 : Export HTML**" @@ -29512,10 +29558,13 @@ { "cell_type": "code", "execution_count": 7, + "id": "bacterial-facing", "metadata": { "colab": {}, "colab_type": "code", - "id": "2Hw4ojMAk5xm" + "id": "2Hw4ojMAk5xm", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -29546,8 +29595,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/WorldBank/WorldBank_Most_populated_countries.ipynb b/WorldBank/WorldBank_Most_populated_countries.ipynb index 266f0dc957..cfcf8a963a 100644 --- a/WorldBank/WorldBank_Most_populated_countries.ipynb +++ b/WorldBank/WorldBank_Most_populated_countries.ipynb @@ -2,19 +2,26 @@ "cells": [ { "cell_type": "markdown", + "id": "charitable-prairie", "metadata": { "colab_type": "text", - "id": "view-in-github" + "id": "view-in-github", + "papermill": {}, + "tags": [] }, "source": [ - "# Most populated countries ()" + "# Most populated countries ()\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/WorldBank/WorldBank_Most_populated_countries.ipynb)" ] }, { "cell_type": "markdown", + "id": "sealed-edwards", "metadata": { "colab_type": "text", - "id": "L2nNeWrpvvW6" + "id": "L2nNeWrpvvW6", + "papermill": {}, + "tags": [] }, "source": [ "**Notebook d'exemple pour classer les pays les plus peuplés**" @@ -22,9 +29,12 @@ }, { "cell_type": "markdown", + "id": "acquired-surgeon", "metadata": { "colab_type": "text", - "id": "YUZLmxmAGue9" + "id": "YUZLmxmAGue9", + "papermill": {}, + "tags": [] }, "source": [ "**Sources:**\n", @@ -34,10 +44,13 @@ { "cell_type": "code", "execution_count": 1, + "id": "biblical-antibody", "metadata": { "colab": {}, "colab_type": "code", - "id": "36x8J9u-oxbA" + "id": "36x8J9u-oxbA", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -71,9 +84,12 @@ }, { "cell_type": "markdown", + "id": "distinct-iceland", "metadata": { "colab_type": "text", - "id": "jV59hEGsoyDW" + "id": "jV59hEGsoyDW", + "papermill": {}, + "tags": [] }, "source": [ "**On va chercher le fichier depuis GDrive**" @@ -82,10 +98,13 @@ { "cell_type": "code", "execution_count": null, + "id": "cutting-electric", "metadata": { "colab": {}, "colab_type": "code", - "id": "z8v7HtRlo1Oj" + "id": "z8v7HtRlo1Oj", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -99,9 +118,12 @@ }, { "cell_type": "markdown", + "id": "discrete-devon", "metadata": { "colab_type": "text", - "id": "UGz4KBl5o28h" + "id": "UGz4KBl5o28h", + "papermill": {}, + "tags": [] }, "source": [ "**On stock la data dans une variable**" @@ -110,6 +132,7 @@ { "cell_type": "code", "execution_count": null, + "id": "likely-receptor", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -117,7 +140,9 @@ }, "colab_type": "code", "id": "VDQ-_3hlo6M-", - "outputId": "3df46693-b9ad-4fef-9002-221604a6cbfc" + "outputId": "3df46693-b9ad-4fef-9002-221604a6cbfc", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -129,9 +154,12 @@ }, { "cell_type": "markdown", + "id": "sunset-server", "metadata": { "colab_type": "text", - "id": "0X1lLH4Po8Vi" + "id": "0X1lLH4Po8Vi", + "papermill": {}, + "tags": [] }, "source": [ "**On fait la tambouille**" @@ -140,6 +168,7 @@ { "cell_type": "code", "execution_count": null, + "id": "enormous-yesterday", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -147,7 +176,9 @@ }, "colab_type": "code", "id": "QZv6333yo-de", - "outputId": "b175b18e-2f5b-476d-95fc-abfe3d4cd73f" + "outputId": "b175b18e-2f5b-476d-95fc-abfe3d4cd73f", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -186,9 +217,12 @@ }, { "cell_type": "markdown", + "id": "extraordinary-ensemble", "metadata": { "colab_type": "text", - "id": "tm3z-gveo_3-" + "id": "tm3z-gveo_3-", + "papermill": {}, + "tags": [] }, "source": [ "**On crée le schema**" @@ -197,6 +231,7 @@ { "cell_type": "code", "execution_count": null, + "id": "thrown-collaboration", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -204,7 +239,9 @@ }, "colab_type": "code", "id": "pzEvYhKCpCRD", - "outputId": "10b91cf7-3365-4efc-bb8d-d5f6c351ee03" + "outputId": "10b91cf7-3365-4efc-bb8d-d5f6c351ee03", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -226,9 +263,12 @@ }, { "cell_type": "markdown", + "id": "acceptable-business", "metadata": { "colab_type": "text", - "id": "SGVkFSfhQTDe" + "id": "SGVkFSfhQTDe", + "papermill": {}, + "tags": [] }, "source": [ "**Video d'explication de la démarche**\n", @@ -259,8 +299,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.5" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/WorldBank/WorldBank_Richest_countries_top10.ipynb b/WorldBank/WorldBank_Richest_countries_top10.ipynb index 5d2603b3f4..ae7d4aa9a5 100644 --- a/WorldBank/WorldBank_Richest_countries_top10.ipynb +++ b/WorldBank/WorldBank_Richest_countries_top10.ipynb @@ -1,516 +1,558 @@ { - "nbformat": 4, - "nbformat_minor": 0, - "metadata": { + "cells": [ + { + "cell_type": "markdown", + "id": "ready-thought", + "metadata": { + "colab_type": "text", + "id": "view-in-github", + "papermill": {}, + "tags": [] + }, + "source": [ + "\"Open" + ] + }, + { + "cell_type": "markdown", + "id": "stunning-visiting", + "metadata": { + "colab_type": "text", + "id": "GAqP42SS4yPD", + "papermill": {}, + "tags": [] + }, + "source": [ + "**Goal**\n", + "\n", + "Top 10 richest regions & countries in GDP per capita (wealth created per habitant) and in GDP current (total wealth created by the country)\n", + "\n", + "**Data**\n", + "\n", + "GDP CURRENT & GDP PER CAPITA by countries, agregated by region\n", + "\n", + "**Sources**\n", + "\n", + "* World Bank national accounts data\n", + "* OECD National Accounts data files \n", + "\n", + "**Notes**\n", + "\n", + "The top 10 for GDP current is including the G8, should the European Union be included in this ranking, it would come up 2nd biggest economy after the USA. \n", + "\n", + "In the top 10 for GDP per capita, the ranking include smaller countries, only the USA remains in this ranking from the GDP current ranking.\n", + "\n", + "\n", + "**Pitch**\n", + "\n", + "https://drive.google.com/file/d/1wGo9aI6mXS_2AbmnNlLoSJ9bGxkXmDhq/view" + ] + }, + { + "cell_type": "markdown", + "id": "gorgeous-founder", + "metadata": { + "colab_type": "text", + "id": "AU6Q5S9jTKGd", + "papermill": {}, + "tags": [] + }, + "source": [ + "**Step 1 : Import dependencies**" + ] + }, + { + "cell_type": "code", + "execution_count": 0, + "id": "strong-utility", + "metadata": { "colab": { - "name": "20200424_05_BERLIN_final1.ipynb", - "provenance": [], - "collapsed_sections": [], - "include_colab_link": true + "base_uri": "https://localhost:8080/", + "height": 50 }, - "kernelspec": { - "name": "python3", - "display_name": "Python 3" + "colab_type": "code", + "id": "7hqFGyx_377x", + "outputId": "36fb8727-3b40-43b7-e7c6-8b9e47262410", + "papermill": {}, + "tags": [] + }, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "/usr/local/lib/python3.6/dist-packages/pandas_datareader/compat/__init__.py:7: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.\n", + " from pandas.util.testing import assert_frame_equal\n" + ] } + ], + "source": [ + "import pandas as pd\n", + "from pandas_datareader import wb\n", + "import plotly.graph_objects as go\n", + "\n", + "pd.options.display.float_format = '{: .0f}'.format" + ] }, - "cells": [ - { - "cell_type": "markdown", - "metadata": { - "id": "view-in-github", - "colab_type": "text" - }, - "source": [ - "\"Open" - ] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "GAqP42SS4yPD", - "colab_type": "text" - }, - "source": [ - "**Goal**\n", - "\n", - "Top 10 richest regions & countries in GDP per capita (wealth created per habitant) and in GDP current (total wealth created by the country)\n", - "\n", - "**Data**\n", - "\n", - "GDP CURRENT & GDP PER CAPITA by countries, agregated by region\n", - "\n", - "**Sources**\n", - "\n", - "* World Bank national accounts data\n", - "* OECD National Accounts data files \n", - "\n", - "**Notes**\n", - "\n", - "The top 10 for GDP current is including the G8, should the European Union be included in this ranking, it would come up 2nd biggest economy after the USA. \n", - "\n", - "In the top 10 for GDP per capita, the ranking include smaller countries, only the USA remains in this ranking from the GDP current ranking.\n", - "\n", - "\n", - "**Pitch**\n", - "\n", - "https://drive.google.com/file/d/1wGo9aI6mXS_2AbmnNlLoSJ9bGxkXmDhq/view" - ] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "AU6Q5S9jTKGd", - "colab_type": "text" - }, - "source": [ - "**Step 1 : Import dependencies**" - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "7hqFGyx_377x", - "colab_type": "code", - "outputId": "36fb8727-3b40-43b7-e7c6-8b9e47262410", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 50 - } - }, - "source": [ - "import pandas as pd\n", - "from pandas_datareader import wb\n", - "import plotly.graph_objects as go\n", - "\n", - "pd.options.display.float_format = '{: .0f}'.format" - ], - "execution_count": 0, - "outputs": [ - { - "output_type": "stream", - "text": [ - "/usr/local/lib/python3.6/dist-packages/pandas_datareader/compat/__init__.py:7: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.\n", - " from pandas.util.testing import assert_frame_equal\n" - ], - "name": "stderr" - } - ] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "yeUkoHbGTNVy", - "colab_type": "text" - }, - "source": [ - "**Step 2 : Get the association between the country and the region**\n", - "\n" - ] - }, - { - "cell_type": "code", - "metadata": { - "id": "NrJlRC2cREYP", - "colab_type": "code", - "outputId": "4f0e0224-fac2-4090-8bda-295b5db66b26", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 402 - } - }, - "source": [ - "countries = wb.get_countries()\n", - "countries = countries[['name', 'region']]\n", - "countries" - ], - "execution_count": 0, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
nameregion
0ArubaLatin America & Caribbean
1AfghanistanSouth Asia
2AfricaAggregates
3AngolaSub-Saharan Africa
4AlbaniaEurope & Central Asia
.........
299Sub-Saharan Africa excluding South Africa and ...Aggregates
300Yemen, Rep.Middle East & North Africa
301South AfricaSub-Saharan Africa
302ZambiaSub-Saharan Africa
303ZimbabweSub-Saharan Africa
\n", - "

304 rows × 2 columns

\n", - "
" - ], - "text/plain": [ - " name region\n", - "0 Aruba Latin America & Caribbean \n", - "1 Afghanistan South Asia\n", - "2 Africa Aggregates\n", - "3 Angola Sub-Saharan Africa \n", - "4 Albania Europe & Central Asia\n", - ".. ... ...\n", - "299 Sub-Saharan Africa excluding South Africa and ... Aggregates\n", - "300 Yemen, Rep. Middle East & North Africa\n", - "301 South Africa Sub-Saharan Africa \n", - "302 Zambia Sub-Saharan Africa \n", - "303 Zimbabwe Sub-Saharan Africa \n", - "\n", - "[304 rows x 2 columns]" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 409 - } - ] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "RAUtg6PuTTGn", - "colab_type": "text" - }, - "source": [ - "**Step 3 : Get indicators**\n" - ] + { + "cell_type": "markdown", + "id": "possible-asset", + "metadata": { + "colab_type": "text", + "id": "yeUkoHbGTNVy", + "papermill": {}, + "tags": [] + }, + "source": [ + "**Step 2 : Get the association between the country and the region**\n", + "\n" + ] + }, + { + "cell_type": "code", + "execution_count": 0, + "id": "distributed-immunology", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 402 }, + "colab_type": "code", + "id": "NrJlRC2cREYP", + "outputId": "4f0e0224-fac2-4090-8bda-295b5db66b26", + "papermill": {}, + "tags": [] + }, + "outputs": [ { - "cell_type": "code", - "metadata": { - "id": "TdXvSnfB4IMc", - "colab_type": "code", - "outputId": "316286d1-03e6-4ede-87bf-01aafe661a7d", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 402 - } - }, - "source": [ - "indicators = wb.download(indicator=['NY.GDP.PCAP.CD', 'NY.GDP.MKTP.CD'], country='all', start=2018, end=2018)\n", - "indicators = indicators.reset_index()\n", - "indicators = indicators[['country', 'NY.GDP.PCAP.CD', 'NY.GDP.MKTP.CD']]\n", - "indicators.columns = ['country', 'GDP_PER_CAPITA', 'CURRENT_GDP']\n", - "indicators" + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
nameregion
0ArubaLatin America & Caribbean
1AfghanistanSouth Asia
2AfricaAggregates
3AngolaSub-Saharan Africa
4AlbaniaEurope & Central Asia
.........
299Sub-Saharan Africa excluding South Africa and ...Aggregates
300Yemen, Rep.Middle East & North Africa
301South AfricaSub-Saharan Africa
302ZambiaSub-Saharan Africa
303ZimbabweSub-Saharan Africa
\n", + "

304 rows × 2 columns

\n", + "
" ], - "execution_count": 0, - "outputs": [ - { - "output_type": "execute_result", - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
countryGDP_PER_CAPITACURRENT_GDP
0Arab World66092774314967156
1Caribbean small states999173523538155
2Central Europe and the Baltics159291632912822080
3Early-demographic dividend358211638859227437
4East Asia & Pacific1114325942413437360
............
259Virgin Islands (U.S.)nannan
260West Bank and Gaza319914615900000
261Yemen, Rep.94426914402224
262Zambia154026720073436
263Zimbabwe214731000519447
\n", - "

264 rows × 3 columns

\n", - "
" - ], - "text/plain": [ - " country GDP_PER_CAPITA CURRENT_GDP\n", - "0 Arab World 6609 2774314967156\n", - "1 Caribbean small states 9991 73523538155\n", - "2 Central Europe and the Baltics 15929 1632912822080\n", - "3 Early-demographic dividend 3582 11638859227437\n", - "4 East Asia & Pacific 11143 25942413437360\n", - ".. ... ... ...\n", - "259 Virgin Islands (U.S.) nan nan\n", - "260 West Bank and Gaza 3199 14615900000\n", - "261 Yemen, Rep. 944 26914402224\n", - "262 Zambia 1540 26720073436\n", - "263 Zimbabwe 2147 31000519447\n", - "\n", - "[264 rows x 3 columns]" - ] - }, - "metadata": { - "tags": [] - }, - "execution_count": 419 - } - ] - }, - { - "cell_type": "markdown", - "metadata": { - "id": "QC222rrLUlXV", - "colab_type": "text" - }, - "source": [ - "**Step 4 : Format a master table**\n", - "\n", - "1. Associate countries with regions\n", - "1. Clean up the data\n", - "1. Group rows by columns " + "text/plain": [ + " name region\n", + "0 Aruba Latin America & Caribbean \n", + "1 Afghanistan South Asia\n", + "2 Africa Aggregates\n", + "3 Angola Sub-Saharan Africa \n", + "4 Albania Europe & Central Asia\n", + ".. ... ...\n", + "299 Sub-Saharan Africa excluding South Africa and ... Aggregates\n", + "300 Yemen, Rep. Middle East & North Africa\n", + "301 South Africa Sub-Saharan Africa \n", + "302 Zambia Sub-Saharan Africa \n", + "303 Zimbabwe Sub-Saharan Africa \n", + "\n", + "[304 rows x 2 columns]" ] + }, + "execution_count": 409, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "countries = wb.get_countries()\n", + "countries = countries[['name', 'region']]\n", + "countries" + ] + }, + { + "cell_type": "markdown", + "id": "hundred-brook", + "metadata": { + "colab_type": "text", + "id": "RAUtg6PuTTGn", + "papermill": {}, + "tags": [] + }, + "source": [ + "**Step 3 : Get indicators**\n" + ] + }, + { + "cell_type": "code", + "execution_count": 0, + "id": "fresh-following", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 402 }, + "colab_type": "code", + "id": "TdXvSnfB4IMc", + "outputId": "316286d1-03e6-4ede-87bf-01aafe661a7d", + "papermill": {}, + "tags": [] + }, + "outputs": [ { - "cell_type": "code", - "metadata": { - "colab_type": "code", - "outputId": "1212e73b-f882-43e5-f288-e6d121cb89dd", - "id": "CFTaHs5JQlu_", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 229 - } - }, - "source": [ - "master_table = pd.merge(indicators, countries, left_on='country', right_on='name')\n", - "\n", - "master_table = master_table[master_table['region'] != 'Aggregates']\n", - "master_table = master_table[(master_table['GDP_PER_CAPITA'] > 0) | (master_table['CURRENT_GDP'] > 0)]\n", - "master_table = master_table.fillna(0)\n", - "\n", - "master_table = pd.melt(master_table, id_vars=['region', 'country'], value_vars=['GDP_PER_CAPITA', 'CURRENT_GDP'], var_name='INDICATOR', value_name='VALUE')\n", - "master_table = master_table.set_index(['region', 'country', 'INDICATOR'])\n", - "master_table = master_table.sort_index()\n", - "\n", - "master_table" + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
countryGDP_PER_CAPITACURRENT_GDP
0Arab World66092774314967156
1Caribbean small states999173523538155
2Central Europe and the Baltics159291632912822080
3Early-demographic dividend358211638859227437
4East Asia & Pacific1114325942413437360
............
259Virgin Islands (U.S.)nannan
260West Bank and Gaza319914615900000
261Yemen, Rep.94426914402224
262Zambia154026720073436
263Zimbabwe214731000519447
\n", + "

264 rows × 3 columns

\n", + "
" ], - "execution_count": 0, - "outputs": [ - { - "output_type": "error", - "ename": "NameError", - "evalue": "ignored", - "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mmaster_table\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmerge\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mindicators\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcountries\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mleft_on\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'country'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mright_on\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'name'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 2\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0mmaster_table\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmaster_table\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mmaster_table\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'region'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m!=\u001b[0m \u001b[0;34m'Aggregates'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0mmaster_table\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmaster_table\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmaster_table\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'GDP_PER_CAPITA'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m>\u001b[0m \u001b[0;36m0\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m|\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mmaster_table\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'CURRENT_GDP'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m>\u001b[0m \u001b[0;36m0\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 5\u001b[0m \u001b[0mmaster_table\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmaster_table\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mfillna\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;31mNameError\u001b[0m: name 'pd' is not defined" - ] - } + "text/plain": [ + " country GDP_PER_CAPITA CURRENT_GDP\n", + "0 Arab World 6609 2774314967156\n", + "1 Caribbean small states 9991 73523538155\n", + "2 Central Europe and the Baltics 15929 1632912822080\n", + "3 Early-demographic dividend 3582 11638859227437\n", + "4 East Asia & Pacific 11143 25942413437360\n", + ".. ... ... ...\n", + "259 Virgin Islands (U.S.) nan nan\n", + "260 West Bank and Gaza 3199 14615900000\n", + "261 Yemen, Rep. 944 26914402224\n", + "262 Zambia 1540 26720073436\n", + "263 Zimbabwe 2147 31000519447\n", + "\n", + "[264 rows x 3 columns]" ] + }, + "execution_count": 419, + "metadata": { + "tags": [] + }, + "output_type": "execute_result" + } + ], + "source": [ + "indicators = wb.download(indicator=['NY.GDP.PCAP.CD', 'NY.GDP.MKTP.CD'], country='all', start=2018, end=2018)\n", + "indicators = indicators.reset_index()\n", + "indicators = indicators[['country', 'NY.GDP.PCAP.CD', 'NY.GDP.MKTP.CD']]\n", + "indicators.columns = ['country', 'GDP_PER_CAPITA', 'CURRENT_GDP']\n", + "indicators" + ] + }, + { + "cell_type": "markdown", + "id": "assisted-pharmaceutical", + "metadata": { + "colab_type": "text", + "id": "QC222rrLUlXV", + "papermill": {}, + "tags": [] + }, + "source": [ + "**Step 4 : Format a master table**\n", + "\n", + "1. Associate countries with regions\n", + "1. Clean up the data\n", + "1. Group rows by columns " + ] + }, + { + "cell_type": "code", + "execution_count": 0, + "id": "dense-threshold", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 229 }, + "colab_type": "code", + "id": "CFTaHs5JQlu_", + "outputId": "1212e73b-f882-43e5-f288-e6d121cb89dd", + "papermill": {}, + "tags": [] + }, + "outputs": [ { - "cell_type": "markdown", - "metadata": { - "id": "CBCd2nU9T0nn", - "colab_type": "text" - }, - "source": [ - "**Step 4 : Visualize data with a chart**" - ] + "ename": "NameError", + "evalue": "ignored", + "output_type": "error", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)", + "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mmaster_table\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mpd\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmerge\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mindicators\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcountries\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mleft_on\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'country'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mright_on\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m'name'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 2\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0mmaster_table\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmaster_table\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mmaster_table\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'region'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m!=\u001b[0m \u001b[0;34m'Aggregates'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0mmaster_table\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmaster_table\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmaster_table\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'GDP_PER_CAPITA'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m>\u001b[0m \u001b[0;36m0\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m|\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mmaster_table\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'CURRENT_GDP'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m>\u001b[0m \u001b[0;36m0\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 5\u001b[0m \u001b[0mmaster_table\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmaster_table\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mfillna\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;31mNameError\u001b[0m: name 'pd' is not defined" + ] + } + ], + "source": [ + "master_table = pd.merge(indicators, countries, left_on='country', right_on='name')\n", + "\n", + "master_table = master_table[master_table['region'] != 'Aggregates']\n", + "master_table = master_table[(master_table['GDP_PER_CAPITA'] > 0) | (master_table['CURRENT_GDP'] > 0)]\n", + "master_table = master_table.fillna(0)\n", + "\n", + "master_table = pd.melt(master_table, id_vars=['region', 'country'], value_vars=['GDP_PER_CAPITA', 'CURRENT_GDP'], var_name='INDICATOR', value_name='VALUE')\n", + "master_table = master_table.set_index(['region', 'country', 'INDICATOR'])\n", + "master_table = master_table.sort_index()\n", + "\n", + "master_table" + ] + }, + { + "cell_type": "markdown", + "id": "arbitrary-incentive", + "metadata": { + "colab_type": "text", + "id": "CBCd2nU9T0nn", + "papermill": {}, + "tags": [] + }, + "source": [ + "**Step 4 : Visualize data with a chart**" + ] + }, + { + "cell_type": "code", + "execution_count": 0, + "id": "unauthorized-answer", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 229 }, + "colab_type": "code", + "id": "Pmuhz88cTyya", + "outputId": "5d53946d-ac8a-4207-c363-c6eee05dc9e5", + "papermill": {}, + "tags": [] + }, + "outputs": [ { - "cell_type": "code", - "metadata": { - "id": "Pmuhz88cTyya", - "colab_type": "code", - "outputId": "5d53946d-ac8a-4207-c363-c6eee05dc9e5", - "colab": { - "base_uri": "https://localhost:8080/", - "height": 229 - } - }, - "source": [ - "table = master_table.reset_index()\n", - "gdp_per_capita_per_region = table[table['INDICATOR'] == 'GDP_PER_CAPITA'][['region', 'VALUE']].groupby('region').mean().sort_values('VALUE', ascending=False)\n", - "current_gdp_per_region = table[table['INDICATOR'] == 'CURRENT_GDP'][['region', 'VALUE']].groupby('region').mean().sort_values('VALUE', ascending=False)\n", - "gdp_per_capita_per_country = table[table['INDICATOR'] == 'GDP_PER_CAPITA'][['country', 'VALUE']].sort_values('VALUE', ascending=False).head(10)\n", - "current_gdp_per_country = table[table['INDICATOR'] == 'CURRENT_GDP'][['country', 'VALUE']].sort_values('VALUE', ascending=False).head(10)\n", - "\n", - "data = [\n", - " go.Bar(x=gdp_per_capita_per_region.index, y=gdp_per_capita_per_region['VALUE'], text=gdp_per_capita_per_region['VALUE'], textposition='outside'),\n", - " go.Bar(x=current_gdp_per_region.index, y=current_gdp_per_region['VALUE'], text=current_gdp_per_region['VALUE'], textposition='outside', visible=False),\n", - " go.Bar(x=gdp_per_capita_per_country['country'], y=gdp_per_capita_per_country['VALUE'], text=gdp_per_capita_per_country['VALUE'], textposition='outside', visible=False),\n", - " go.Bar(x=current_gdp_per_country['country'], y=current_gdp_per_country['VALUE'], text=current_gdp_per_country['VALUE'], textposition='outside', visible=False),\n", - "]\n", - "\n", - "layout = go.Layout(\n", - " title='Top 10 richest regions & countries',\n", - " margin = dict(t = 60, b = 150),\n", - " updatemenus=list([\n", - " dict(showactive=True, type=\"buttons\", active=0, buttons=[\n", - " {'label': 'GDP / Capita per region', 'method': 'update', 'args': [{'visible': [True, False, False, False]}]},\n", - " {'label': 'Current GDP per region', 'method': 'update', 'args': [{'visible': [False, True, False, False]}]},\n", - " {'label': 'GDP / Capita per country', 'method': 'update', 'args': [{'visible': [False, False, True, False]}]},\n", - " {'label': 'Current GDP per country', 'method': 'update', 'args': [{'visible': [False, False, False, True]}]}\n", - " ])\n", - " ]),\n", - " annotations=[dict(\n", - " text = 'Updated in 2018 from The World Bank',\n", - " showarrow = False,\n", - " xref = 'paper', x = 1,\n", - " yref = 'paper', y = -0.4)]\n", - ")\n", - "\n", - "go.Figure(data, layout)" - ], - "execution_count": 0, - "outputs": [ - { - "output_type": "error", - "ename": "NameError", - "evalue": "ignored", - "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mtable\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmaster_table\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreset_index\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 2\u001b[0m \u001b[0mgdp_per_capita_per_region\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'INDICATOR'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m==\u001b[0m \u001b[0;34m'GDP_PER_CAPITA'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'region'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mgroupby\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'region'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmean\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msort_values\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mascending\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0mcurrent_gdp_per_region\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'INDICATOR'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m==\u001b[0m \u001b[0;34m'CURRENT_GDP'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'region'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mgroupby\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'region'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmean\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msort_values\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mascending\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0mgdp_per_capita_per_country\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'INDICATOR'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m==\u001b[0m \u001b[0;34m'GDP_PER_CAPITA'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'country'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msort_values\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mascending\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mhead\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m10\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 5\u001b[0m \u001b[0mcurrent_gdp_per_country\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'INDICATOR'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m==\u001b[0m \u001b[0;34m'CURRENT_GDP'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'country'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msort_values\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mascending\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mhead\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m10\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;31mNameError\u001b[0m: name 'master_table' is not defined" - ] - } - ] + "ename": "NameError", + "evalue": "ignored", + "output_type": "error", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)", + "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mtable\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmaster_table\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreset_index\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 2\u001b[0m \u001b[0mgdp_per_capita_per_region\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'INDICATOR'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m==\u001b[0m \u001b[0;34m'GDP_PER_CAPITA'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'region'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mgroupby\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'region'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmean\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msort_values\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mascending\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0mcurrent_gdp_per_region\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'INDICATOR'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m==\u001b[0m \u001b[0;34m'CURRENT_GDP'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'region'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mgroupby\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'region'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmean\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msort_values\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mascending\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 4\u001b[0m \u001b[0mgdp_per_capita_per_country\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'INDICATOR'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m==\u001b[0m \u001b[0;34m'GDP_PER_CAPITA'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'country'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msort_values\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mascending\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mhead\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m10\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 5\u001b[0m \u001b[0mcurrent_gdp_per_country\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mtable\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'INDICATOR'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m==\u001b[0m \u001b[0;34m'CURRENT_GDP'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'country'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msort_values\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'VALUE'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mascending\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mFalse\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mhead\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m10\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;31mNameError\u001b[0m: name 'master_table' is not defined" + ] } - ] + ], + "source": [ + "table = master_table.reset_index()\n", + "gdp_per_capita_per_region = table[table['INDICATOR'] == 'GDP_PER_CAPITA'][['region', 'VALUE']].groupby('region').mean().sort_values('VALUE', ascending=False)\n", + "current_gdp_per_region = table[table['INDICATOR'] == 'CURRENT_GDP'][['region', 'VALUE']].groupby('region').mean().sort_values('VALUE', ascending=False)\n", + "gdp_per_capita_per_country = table[table['INDICATOR'] == 'GDP_PER_CAPITA'][['country', 'VALUE']].sort_values('VALUE', ascending=False).head(10)\n", + "current_gdp_per_country = table[table['INDICATOR'] == 'CURRENT_GDP'][['country', 'VALUE']].sort_values('VALUE', ascending=False).head(10)\n", + "\n", + "data = [\n", + " go.Bar(x=gdp_per_capita_per_region.index, y=gdp_per_capita_per_region['VALUE'], text=gdp_per_capita_per_region['VALUE'], textposition='outside'),\n", + " go.Bar(x=current_gdp_per_region.index, y=current_gdp_per_region['VALUE'], text=current_gdp_per_region['VALUE'], textposition='outside', visible=False),\n", + " go.Bar(x=gdp_per_capita_per_country['country'], y=gdp_per_capita_per_country['VALUE'], text=gdp_per_capita_per_country['VALUE'], textposition='outside', visible=False),\n", + " go.Bar(x=current_gdp_per_country['country'], y=current_gdp_per_country['VALUE'], text=current_gdp_per_country['VALUE'], textposition='outside', visible=False),\n", + "]\n", + "\n", + "layout = go.Layout(\n", + " title='Top 10 richest regions & countries',\n", + " margin = dict(t = 60, b = 150),\n", + " updatemenus=list([\n", + " dict(showactive=True, type=\"buttons\", active=0, buttons=[\n", + " {'label': 'GDP / Capita per region', 'method': 'update', 'args': [{'visible': [True, False, False, False]}]},\n", + " {'label': 'Current GDP per region', 'method': 'update', 'args': [{'visible': [False, True, False, False]}]},\n", + " {'label': 'GDP / Capita per country', 'method': 'update', 'args': [{'visible': [False, False, True, False]}]},\n", + " {'label': 'Current GDP per country', 'method': 'update', 'args': [{'visible': [False, False, False, True]}]}\n", + " ])\n", + " ]),\n", + " annotations=[dict(\n", + " text = 'Updated in 2018 from The World Bank',\n", + " showarrow = False,\n", + " xref = 'paper', x = 1,\n", + " yref = 'paper', y = -0.4)]\n", + ")\n", + "\n", + "go.Figure(data, layout)" + ] + } + ], + "metadata": { + "colab": { + "collapsed_sections": [], + "include_colab_link": true, + "name": "20200424_05_BERLIN_final1.ipynb", + "provenance": [] + }, + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" + } + }, + "nbformat": 4, + "nbformat_minor": 5 } \ No newline at end of file diff --git a/WorldBank/WorldBank_World_employment_by_sector.ipynb b/WorldBank/WorldBank_World_employment_by_sector.ipynb index 3439f166de..190e2d5c85 100644 --- a/WorldBank/WorldBank_World_employment_by_sector.ipynb +++ b/WorldBank/WorldBank_World_employment_by_sector.ipynb @@ -2,16 +2,24 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "animated-english", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# World Employment by sector" + "# World Employment by sector\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/WorldBank/WorldBank_World_employment_by_sector.ipynb)" ] }, { "cell_type": "markdown", + "id": "charged-highlight", "metadata": { "colab_type": "text", - "id": "view-in-github" + "id": "view-in-github", + "papermill": {}, + "tags": [] }, "source": [ "**Objective**\n", @@ -27,9 +35,12 @@ }, { "cell_type": "markdown", + "id": "particular-values", "metadata": { "colab_type": "text", - "id": "NZ10KSUrKmDl" + "id": "NZ10KSUrKmDl", + "papermill": {}, + "tags": [] }, "source": [ "Video : \n", @@ -38,9 +49,12 @@ }, { "cell_type": "markdown", + "id": "sticky-overall", "metadata": { "colab_type": "text", - "id": "wKcABFlkK-KU" + "id": "wKcABFlkK-KU", + "papermill": {}, + "tags": [] }, "source": [ "*** Imports :**" @@ -49,6 +63,7 @@ { "cell_type": "code", "execution_count": 3, + "id": "subtle-analyst", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -56,7 +71,9 @@ }, "colab_type": "code", "id": "5yYpwt5UK4wM", - "outputId": "be1d68fa-cd9c-4a70-8149-5b07664e2cd6" + "outputId": "be1d68fa-cd9c-4a70-8149-5b07664e2cd6", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -70,9 +87,12 @@ }, { "cell_type": "markdown", + "id": "stainless-setting", "metadata": { "colab_type": "text", - "id": "Cy3r1yqAK_mc" + "id": "Cy3r1yqAK_mc", + "papermill": {}, + "tags": [] }, "source": [ "*** Variables :**" @@ -81,10 +101,13 @@ { "cell_type": "code", "execution_count": null, + "id": "settled-complexity", "metadata": { "colab": {}, "colab_type": "code", - "id": "EvyRTowELC1B" + "id": "EvyRTowELC1B", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -95,9 +118,12 @@ }, { "cell_type": "markdown", + "id": "removed-chester", "metadata": { "colab_type": "text", - "id": "r_uU55GTLDb7" + "id": "r_uU55GTLDb7", + "papermill": {}, + "tags": [] }, "source": [ "*** Retrieving data :**" @@ -106,10 +132,13 @@ { "cell_type": "code", "execution_count": null, + "id": "small-incidence", "metadata": { "colab": {}, "colab_type": "code", - "id": "ZFcn_Ro7LI_H" + "id": "ZFcn_Ro7LI_H", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -123,9 +152,12 @@ }, { "cell_type": "markdown", + "id": "everyday-rainbow", "metadata": { "colab_type": "text", - "id": "z4deKmaDME6S" + "id": "z4deKmaDME6S", + "papermill": {}, + "tags": [] }, "source": [ "*** Data selection :**" @@ -134,6 +166,7 @@ { "cell_type": "code", "execution_count": null, + "id": "conventional-electronics", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -141,7 +174,9 @@ }, "colab_type": "code", "id": "TdGGm-QjMFuU", - "outputId": "e66b6a4f-daa2-46d1-9482-52e3f134c0b0" + "outputId": "e66b6a4f-daa2-46d1-9482-52e3f134c0b0", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -166,9 +201,12 @@ }, { "cell_type": "markdown", + "id": "certain-moses", "metadata": { "colab_type": "text", - "id": "DIGEOJMfMCV0" + "id": "DIGEOJMfMCV0", + "papermill": {}, + "tags": [] }, "source": [ "*** Data formatting :**" @@ -177,6 +215,7 @@ { "cell_type": "code", "execution_count": 4, + "id": "verbal-knight", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -184,7 +223,9 @@ }, "colab_type": "code", "id": "-hfUVuk1MDJg", - "outputId": "f5d934a0-f0f3-44f2-a881-8b7e79fe1cf4" + "outputId": "f5d934a0-f0f3-44f2-a881-8b7e79fe1cf4", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -271,7 +312,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "super-italian", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -299,8 +344,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.5" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/WorldBank/WorldBank_World_population_and_density.ipynb b/WorldBank/WorldBank_World_population_and_density.ipynb index 82c2b0b852..8ed311b7b4 100644 --- a/WorldBank/WorldBank_World_population_and_density.ipynb +++ b/WorldBank/WorldBank_World_population_and_density.ipynb @@ -2,26 +2,37 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "marine-advocate", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", + "id": "controlled-aberdeen", "metadata": { "colab_type": "text", - "id": "I4Bx9S3z42SU" + "id": "I4Bx9S3z42SU", + "papermill": {}, + "tags": [] }, "source": [ - "# World Population & Density by continent (Bubblechart)" + "# World Population & Density by continent (Bubblechart)\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/WorldBank/WorldBank_World_population_and_density.ipynb)" ] }, { "cell_type": "markdown", + "id": "forty-universe", "metadata": { "colab_type": "text", - "id": "FdFpDQYa5Ge8" + "id": "FdFpDQYa5Ge8", + "papermill": {}, + "tags": [] }, "source": [ "**Objective**\n", @@ -35,10 +46,13 @@ { "cell_type": "code", "execution_count": 1, + "id": "three-contribution", "metadata": { "colab": {}, "colab_type": "code", - "id": "DxrfUeHENcPX" + "id": "DxrfUeHENcPX", + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -54,6 +68,7 @@ { "cell_type": "code", "execution_count": 2, + "id": "resident-thriller", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -61,7 +76,9 @@ }, "colab_type": "code", "id": "UofDdnm4MIuq", - "outputId": "050d0a1e-0184-4b38-9e16-9059cfc0de7d" + "outputId": "050d0a1e-0184-4b38-9e16-9059cfc0de7d", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -492,6 +509,7 @@ { "cell_type": "code", "execution_count": 3, + "id": "expired-norwegian", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -499,7 +517,9 @@ }, "colab_type": "code", "id": "nbSyx5VLcqXj", - "outputId": "58e7cc92-8240-4373-e831-67b78e53f585" + "outputId": "58e7cc92-8240-4373-e831-67b78e53f585", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -911,9 +931,12 @@ }, { "cell_type": "markdown", + "id": "flying-bachelor", "metadata": { "colab_type": "text", - "id": "WrRESLsCdfK5" + "id": "WrRESLsCdfK5", + "papermill": {}, + "tags": [] }, "source": [ "*Assemblage des datasets \"Population total par pays de 1950 à aujourd'hui\" & \"Densité de population par pays de 1950 à aujourd'hui\"*" @@ -922,6 +945,7 @@ { "cell_type": "code", "execution_count": 4, + "id": "crude-cliff", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -929,7 +953,9 @@ }, "colab_type": "code", "id": "FgBbj1OHdnmE", - "outputId": "1cae8173-c4fc-4726-83e1-adb761e530f0" + "outputId": "1cae8173-c4fc-4726-83e1-adb761e530f0", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -1331,9 +1357,12 @@ }, { "cell_type": "markdown", + "id": "comparative-emerald", "metadata": { "colab_type": "text", - "id": "zv7lKOUBh-NM" + "id": "zv7lKOUBh-NM", + "papermill": {}, + "tags": [] }, "source": [ "*Ajout du dataset \"Evolution de la population par pays de 1950 à aujourd'hui\" pour finaliser le dataset global*" @@ -1342,6 +1371,7 @@ { "cell_type": "code", "execution_count": 5, + "id": "banned-alias", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -1349,7 +1379,9 @@ }, "colab_type": "code", "id": "_dpHETzdiagA", - "outputId": "f6b876d2-ffe1-430e-e9db-4d91c2c0362d" + "outputId": "f6b876d2-ffe1-430e-e9db-4d91c2c0362d", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -1793,9 +1825,12 @@ }, { "cell_type": "markdown", + "id": "unable-snake", "metadata": { "colab_type": "text", - "id": "S_lCHBALlEQr" + "id": "S_lCHBALlEQr", + "papermill": {}, + "tags": [] }, "source": [ "*Création du dataset \"Continents et leurs pays\"*\n" @@ -1804,6 +1839,7 @@ { "cell_type": "code", "execution_count": 6, + "id": "tight-camping", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -1811,7 +1847,9 @@ }, "colab_type": "code", "id": "kiAmKBvMRJLq", - "outputId": "dc420423-004f-45fe-8a99-1b3a46d09e65" + "outputId": "dc420423-004f-45fe-8a99-1b3a46d09e65", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -1937,9 +1975,12 @@ }, { "cell_type": "markdown", + "id": "flush-debut", "metadata": { "colab_type": "text", - "id": "DYAv10jECRve" + "id": "DYAv10jECRve", + "papermill": {}, + "tags": [] }, "source": [ "*Ajout de la colonne \"Région\" au dataset global*" @@ -1948,6 +1989,7 @@ { "cell_type": "code", "execution_count": 7, + "id": "sticky-distribution", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -1955,7 +1997,9 @@ }, "colab_type": "code", "id": "wwpkd_sUk2Wo", - "outputId": "dcd6fb01-2719-4bfb-a39b-fdcfc3063919" + "outputId": "dcd6fb01-2719-4bfb-a39b-fdcfc3063919", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -2380,9 +2424,12 @@ }, { "cell_type": "markdown", + "id": "facial-wheel", "metadata": { "colab_type": "text", - "id": "0wi0HjDF3bv4" + "id": "0wi0HjDF3bv4", + "papermill": {}, + "tags": [] }, "source": [ "**Step 4 : Formatage des données pour afficher le graphique**" @@ -2391,6 +2438,7 @@ { "cell_type": "code", "execution_count": 8, + "id": "suburban-injection", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -2398,7 +2446,9 @@ }, "colab_type": "code", "id": "b6-ydVJKvwOx", - "outputId": "3c392af3-6987-4b3e-b388-a3e33f323631" + "outputId": "3c392af3-6987-4b3e-b388-a3e33f323631", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -2598,9 +2648,12 @@ }, { "cell_type": "markdown", + "id": "tender-syndrome", "metadata": { "colab_type": "text", - "id": "awH7f1-Cz9uR" + "id": "awH7f1-Cz9uR", + "papermill": {}, + "tags": [] }, "source": [ "**Step 5 : Affichage des données dans un graphique avec Plotly**" @@ -2609,6 +2662,7 @@ { "cell_type": "code", "execution_count": 9, + "id": "surrounded-salon", "metadata": { "colab": { "base_uri": "https://localhost:8080/", @@ -2616,7 +2670,9 @@ }, "colab_type": "code", "id": "-pcpTmW2yDlR", - "outputId": "ecc09be1-4e5e-403e-c48c-9db06c425bd9" + "outputId": "ecc09be1-4e5e-403e-c48c-9db06c425bd9", + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -96850,8 +96906,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/XML/XML_Transform_sitemap_to_dataframe.ipynb b/XML/XML_Transform_sitemap_to_dataframe.ipynb index 1da4699302..769e47b592 100644 --- a/XML/XML_Transform_sitemap_to_dataframe.ipynb +++ b/XML/XML_Transform_sitemap_to_dataframe.ipynb @@ -3,7 +3,10 @@ { "cell_type": "markdown", "id": "statewide-accordance", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] @@ -11,15 +14,22 @@ { "cell_type": "markdown", "id": "loved-tsunami", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# XML - Transform sitemap to dataframe" + "# XML - Transform sitemap to dataframe\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/XML/XML_Transform_sitemap_to_dataframe.ipynb)" ] }, { "cell_type": "markdown", "id": "quality-trouble", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Install needed library" ] @@ -38,7 +48,9 @@ }, "jupyter": { "source_hidden": true - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -57,7 +69,10 @@ { "cell_type": "markdown", "id": "waiting-inflation", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Run the magic code" ] @@ -76,7 +91,9 @@ }, "jupyter": { "source_hidden": true - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -107,7 +124,10 @@ { "cell_type": "markdown", "id": "looking-virgin", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Choose the website you want" ] @@ -123,7 +143,9 @@ "iopub.status.idle": "2021-01-26T13:51:46.223158Z", "shell.execute_reply": "2021-01-26T13:51:46.222531Z", "shell.execute_reply.started": "2021-01-26T13:51:46.220323Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -133,7 +155,10 @@ { "cell_type": "markdown", "id": "elder-venice", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get your Dataframe" ] @@ -149,7 +174,9 @@ "iopub.status.idle": "2021-01-26T13:51:49.417506Z", "shell.execute_reply": "2021-01-26T13:51:49.416976Z", "shell.execute_reply.started": "2021-01-26T13:51:47.480119Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -411,7 +438,9 @@ "iopub.status.idle": "2021-01-26T13:56:35.470911Z", "shell.execute_reply": "2021-01-26T13:56:35.470409Z", "shell.execute_reply.started": "2021-01-26T13:56:34.474890Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -449,7 +478,9 @@ "iopub.status.idle": "2021-01-26T13:56:46.686764Z", "shell.execute_reply": "2021-01-26T13:56:46.686053Z", "shell.execute_reply.started": "2021-01-26T13:56:46.674961Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [ { @@ -480,7 +511,10 @@ "cell_type": "code", "execution_count": null, "id": "attached-partition", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -502,8 +536,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/Yahoo Finance/Build a stock market brief/S01E01-reminder-email.ipynb b/Yahoo Finance/Build a stock market brief/S01E01-reminder-email.ipynb index ae52c2a394..f2fc9401e9 100644 --- a/Yahoo Finance/Build a stock market brief/S01E01-reminder-email.ipynb +++ b/Yahoo Finance/Build a stock market brief/S01E01-reminder-email.ipynb @@ -2,9 +2,14 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "administrative-direction", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# ⏰ Send friendly email reminder in minutes\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Yahoo%20Finance/Build%20a%20stock%20market%20brief/S01E01-reminder-email.ipynb)\n", "\n", "Let's start with an email to remind myselft I need to follow the stocks. \n", "
\n", @@ -17,7 +22,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "confidential-hierarchy", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas" @@ -26,7 +35,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "romantic-person", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -47,7 +60,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "secure-garage", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "email = \"jeremy.ravenel@cashstory.com\"\n", @@ -63,7 +80,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "golden-willow", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -90,7 +111,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "surprised-chamber", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -112,8 +137,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Yahoo Finance/Build a stock market brief/S01E02-stock-moving-averages.ipynb b/Yahoo Finance/Build a stock market brief/S01E02-stock-moving-averages.ipynb index 2e8cf508a2..b9bef18db6 100644 --- a/Yahoo Finance/Build a stock market brief/S01E02-stock-moving-averages.ipynb +++ b/Yahoo Finance/Build a stock market brief/S01E02-stock-moving-averages.ipynb @@ -2,9 +2,14 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "judicial-jungle", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# 📈 Stock moving averages\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Yahoo%20Finance/Build%20a%20stock%20market%20brief/S01E02-stock-moving-averages.ipynb)\n", "\n", "The moving averages are one of the most common way to follow stock trends and anticipate their variations. \n", "\n", @@ -18,7 +23,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "express-escape", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "stock = \"TSLA\"" @@ -26,7 +35,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "anonymous-blowing", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Import packages" ] @@ -34,7 +47,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "monthly-joint", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import datetime as dt\n", @@ -45,7 +62,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "scheduled-arrival", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Import data" ] @@ -53,7 +74,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "abandoned-dairy", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -138,7 +163,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "integrated-worcester", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Calculate moving averages" ] @@ -146,7 +175,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "welcome-brook", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "df[\"20ma\"]= df[\"Close\"].rolling(window=20).mean()\n", @@ -155,7 +188,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "accepted-seafood", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Visualize data anlaysis" ] @@ -163,7 +200,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "increasing-behalf", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -203,7 +244,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "intensive-former", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -225,8 +270,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Yahoo Finance/Build a stock market brief/S01E04-score-the-news.ipynb b/Yahoo Finance/Build a stock market brief/S01E04-score-the-news.ipynb index 39d27f4ead..246b1b2b30 100644 --- a/Yahoo Finance/Build a stock market brief/S01E04-score-the-news.ipynb +++ b/Yahoo Finance/Build a stock market brief/S01E04-score-the-news.ipynb @@ -2,9 +2,14 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "regulation-noise", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# 📰 Scan the mood, score the news\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Yahoo%20Finance/Build%20a%20stock%20market%20brief/S01E04-score-the-news.ipynb)\n", "\n", "You cannot read all the news. It's simply not possible. \n", "So, let's try to give the job to a machine that will scan the mood.\n", @@ -17,7 +22,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "auburn-bedroom", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "stock =\"TSLA\"" @@ -25,7 +34,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "gorgeous-viewer", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get the news from CityFalcon 👇\n", "City Falcon is a news agregator.
\n", @@ -35,7 +48,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "double-therapist", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas_drivers" @@ -44,7 +61,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "advance-dimension", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -204,7 +225,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "greater-brand", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "table_news_scored = naas_drivers.sentiment.get(table_news, column_name=\"text\")" @@ -213,7 +238,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "stable-terminal", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -234,7 +263,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "satisfied-damages", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -254,7 +287,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "thick-commercial", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Create the news hotlist 🔥" ] @@ -262,7 +299,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "looking-vessel", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -389,8 +430,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Yahoo Finance/Build a stock market brief/S01E05-predict-the-future.ipynb b/Yahoo Finance/Build a stock market brief/S01E05-predict-the-future.ipynb index a4a248f01b..0b2809cfab 100644 --- a/Yahoo Finance/Build a stock market brief/S01E05-predict-the-future.ipynb +++ b/Yahoo Finance/Build a stock market brief/S01E05-predict-the-future.ipynb @@ -2,15 +2,24 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "given-cricket", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# 🔮 Predict the future" + "# 🔮 Predict the future\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Yahoo%20Finance/Build%20a%20stock%20market%20brief/S01E05-predict-the-future.ipynb)" ] }, { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "alien-source", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "stock = \"TSLA\"" @@ -19,7 +28,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "grateful-battlefield", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas\n", @@ -28,7 +41,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "comparable-knight", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get data from Naas Yahoo driver" ] @@ -36,7 +53,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "removable-philippines", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "df = naas_drivers.yahoofinance.get(stock, date_from=-200, moving_averages=[20,50])\n", @@ -45,7 +66,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "demonstrated-crowd", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Predict stock based on ARIMA, LINEAR, SVR models \n", "...and get a compound of the 3 models (simple average)" @@ -54,7 +79,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "billion-margin", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -355,7 +384,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "medieval-burke", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -656,7 +689,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "large-perfume", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Calculate moving averages on Prediction" ] @@ -664,7 +701,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "unauthorized-precipitation", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -964,7 +1005,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "presidential-execution", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Drop unnecessary lines for the grah" ] @@ -972,7 +1017,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "studied-unemployment", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -1222,7 +1271,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "exclusive-apparel", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Plot the graph" ] @@ -1230,7 +1283,11 @@ { "cell_type": "code", "execution_count": 8, - "metadata": {}, + "id": "constant-above", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -3537,7 +3594,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "sealed-meter", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Export graph as files" ] @@ -3545,7 +3606,11 @@ { "cell_type": "code", "execution_count": 9, - "metadata": {}, + "id": "played-vegetation", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -3564,7 +3629,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "separated-galaxy", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Expose image and html" ] @@ -3572,7 +3641,11 @@ { "cell_type": "code", "execution_count": 10, - "metadata": {}, + "id": "allied-facial", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -3663,7 +3736,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "present-message", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -3685,8 +3762,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Yahoo Finance/Build a stock market brief/S01E06-automate-the-brief.ipynb b/Yahoo Finance/Build a stock market brief/S01E06-automate-the-brief.ipynb index 4422c287d3..8ca732940c 100644 --- a/Yahoo Finance/Build a stock market brief/S01E06-automate-the-brief.ipynb +++ b/Yahoo Finance/Build a stock market brief/S01E06-automate-the-brief.ipynb @@ -2,21 +2,34 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "occupational-church", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Automate your daily brief 💌" + "# Automate your daily brief 💌\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Yahoo%20Finance/Build%20a%20stock%20market%20brief/S01E06-automate-the-brief.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "special-traffic", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Bring everything together in an email to get your daily brief." ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "physical-seven", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Import necessary packages" ] @@ -24,7 +37,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "nearby-diagnosis", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas\n", @@ -33,7 +50,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "known-slovenia", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Set variables" ] @@ -41,7 +62,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "eight-literature", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "stock = 'TSLA'\n", @@ -51,7 +76,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "minus-snake", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "emails = open(\"users.txt\", \"r\").read()" @@ -59,7 +88,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "surprised-programming", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Get stock data" ] @@ -67,7 +100,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "speaking-moscow", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -300,7 +337,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "printable-kentucky", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Calculate daily variations" ] @@ -308,7 +349,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "bibliographic-toddler", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -536,7 +581,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "increased-parks", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -566,7 +615,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "junior-reggae", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Create chart" ] @@ -574,7 +627,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "dressed-monitor", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -590,7 +647,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "worst-rotation", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Export chart in png and html" ] @@ -598,7 +659,11 @@ { "cell_type": "code", "execution_count": 8, - "metadata": {}, + "id": "proof-quebec", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -617,7 +682,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "micro-courtesy", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Expose image and html" ] @@ -625,7 +694,11 @@ { "cell_type": "code", "execution_count": 9, - "metadata": {}, + "id": "graphic-charge", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -715,7 +788,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "smoking-sterling", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get score of the news " ] @@ -723,7 +800,11 @@ { "cell_type": "code", "execution_count": 10, - "metadata": {}, + "id": "elegant-editing", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -743,7 +824,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "colonial-pocket", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get prediction chart" ] @@ -751,7 +836,11 @@ { "cell_type": "code", "execution_count": 11, - "metadata": {}, + "id": "indoor-longer", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -852,7 +941,11 @@ { "cell_type": "code", "execution_count": 15, - "metadata": {}, + "id": "mineral-safety", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -997,7 +1090,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "composed-handle", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Send email to emails list" ] @@ -1005,7 +1102,11 @@ { "cell_type": "code", "execution_count": 16, - "metadata": {}, + "id": "infinite-stability", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -1031,7 +1132,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "sharing-treaty", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Schedule this notebook and make it run every day at 9AM CET ." ] @@ -1039,7 +1144,11 @@ { "cell_type": "code", "execution_count": 14, - "metadata": {}, + "id": "robust-blackberry", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -1060,7 +1169,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "nominated-comfort", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -1082,8 +1195,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Yahoo Finance/Build a stock market brief/S01E07-notebooks-as-api.ipynb b/Yahoo Finance/Build a stock market brief/S01E07-notebooks-as-api.ipynb index dc44c7056a..55bdcff7dc 100644 --- a/Yahoo Finance/Build a stock market brief/S01E07-notebooks-as-api.ipynb +++ b/Yahoo Finance/Build a stock market brief/S01E07-notebooks-as-api.ipynb @@ -2,16 +2,25 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "consistent-baker", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# ⚙️ Notebooks as APIs\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Yahoo%20Finance/Build%20a%20stock%20market%20brief/S01E07-notebooks-as-api.ipynb)\n", "Now that I have my reminder ready, I want to it enhance it a bit more. " ] }, { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "protected-world", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "email = [\"\"]" @@ -20,7 +29,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "metropolitan-center", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import naas" @@ -29,7 +42,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "romance-bolivia", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -47,7 +64,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "adult-interim", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Make index page accessible " ] @@ -55,7 +76,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "similar-response", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -117,7 +142,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "completed-monkey", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Generate success page" ] @@ -125,7 +154,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "arranged-customs", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -178,7 +211,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "outstanding-visit", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -240,7 +277,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "stainless-place", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Add subscribers to user base" ] @@ -248,7 +289,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "south-scroll", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -269,7 +314,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "experimental-hartford", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -291,8 +340,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Yahoo Finance/Build a stock market brief/S01E08-take-actions.ipynb b/Yahoo Finance/Build a stock market brief/S01E08-take-actions.ipynb index dd685e9677..b04c89a39a 100644 --- a/Yahoo Finance/Build a stock market brief/S01E08-take-actions.ipynb +++ b/Yahoo Finance/Build a stock market brief/S01E08-take-actions.ipynb @@ -2,16 +2,25 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "understanding-watershed", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# 🤖 Take actions\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Yahoo%20Finance/Build%20a%20stock%20market%20brief/S01E08-take-actions.ipynb)\n", "\n", "Buy or sell the stock you follow automatically." ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "grand-lightning", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## 👉 COMING SOON" ] @@ -19,7 +28,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "integral-macedonia", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "action = \"TSLA\"" @@ -27,7 +40,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "imperial-zambia", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Setup buy or sell conditions\n", "\n", @@ -37,14 +54,22 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "peaceful-active", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Connect to your trading platform via API" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "serious-crisis", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "- Etoro : https://etorox.com/contact-support/developers/post-api-v1-orders/\n", "- Alpaca : https://alpaca.markets/" @@ -52,42 +77,66 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "directed-diana", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"etoro\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "bottom-fantasy", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Analyze the error rate of the predictions" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "offensive-eligibility", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Get email with orders report" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "affiliated-empty", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "List of buy and sells orders" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "complimentary-illinois", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## Analyze efficiency" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "exact-landing", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Analyze the efficiency of the strategy. " ] @@ -95,7 +144,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "structural-greensboro", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -117,8 +170,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Yahoo Finance/Build a stock market brief/_controls.ipynb b/Yahoo Finance/Build a stock market brief/_controls.ipynb index 3fa55b3f4d..743d0b2612 100644 --- a/Yahoo Finance/Build a stock market brief/_controls.ipynb +++ b/Yahoo Finance/Build a stock market brief/_controls.ipynb @@ -2,14 +2,23 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "beautiful-victim", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Controls \n" + "# Controls \n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Yahoo%20Finance/Build%20a%20stock%20market%20brief/_controls.ipynb)\n" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "collective-trouble", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "Get output file from production " ] @@ -17,7 +26,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "accessible-wales", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -36,7 +49,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "national-emergency", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "This will download the user file from production" ] @@ -44,7 +61,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "changed-bradford", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -63,7 +84,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "designing-planning", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -85,8 +110,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Yahoo Finance/Scrap Companies financials inside Gsheet (Advanced)/Scrap Companies financials inside Gsheet.ipynb b/Yahoo Finance/Scrap Companies financials inside Gsheet (Advanced)/Scrap Companies financials inside Gsheet.ipynb index 1bfb7def00..114b220d2c 100644 --- a/Yahoo Finance/Scrap Companies financials inside Gsheet (Advanced)/Scrap Companies financials inside Gsheet.ipynb +++ b/Yahoo Finance/Scrap Companies financials inside Gsheet (Advanced)/Scrap Companies financials inside Gsheet.ipynb @@ -2,16 +2,25 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "thermal-poetry", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "# Scrap Companies financials from Gsheet \n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Yahoo%20Finance/Scrap%20Companies%20financials%20inside%20Gsheet%20%20%28Advanced%29/Scrap%20Companies%20financials%20inside%20Gsheet.ipynb)\n", "(Balance sheet, P&L, Cashflow)" ] }, { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "cultural-wholesale", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "! pip install pandas\n", @@ -22,7 +31,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "occasional-lawyer", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import yahoo_scraper" @@ -30,7 +43,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "hispanic-exchange", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "- out_sheet_name - sheet name(workbook) where outpust shoud save\n", "- sheet_id - google sheet id. it can get from url of google sheet\n", @@ -42,7 +59,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "aquatic-intensity", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "sheet_id = \"10bmjq_bxj03WcQ11QPkE15HRQWZgWgz99mZSEIL5Hq0\"\n", @@ -54,7 +75,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "concrete-crowd", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -76,7 +101,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "associate-consensus", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -98,8 +127,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.5" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Yahoo Finance/Yahoo Finance Get_stock_data.ipynb b/Yahoo Finance/Yahoo Finance Get_stock_data.ipynb index ece3f405c8..4e94b8b1c3 100644 --- a/Yahoo Finance/Yahoo Finance Get_stock_data.ipynb +++ b/Yahoo Finance/Yahoo Finance Get_stock_data.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "virgin-writing", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "existing-bangladesh", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Yahoo - Get Stock Data" + "# Yahoo - Get Stock Data\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Yahoo%20Finance/Yahoo%20Finance%20Get_stock_data.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "unauthorized-bones", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "contrary-pollution", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 1. Install the quandl package" ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 1, - "metadata": {}, + "id": "pursuant-pattern", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "#!pip install yfinance" @@ -39,7 +60,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "dietary-finger", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 2. Import the quandl package" ] @@ -47,7 +72,11 @@ { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "norman-tuner", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import yfinance as yf" @@ -55,7 +84,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "portable-mainland", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 3. Get the data for the stock AAPL" ] @@ -63,7 +96,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "orange-manufacturer", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -79,7 +116,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "valuable-address", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 4. Import the plotting library" ] @@ -87,7 +128,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "nonprofit-visiting", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import matplotlib.pyplot as plt\n", @@ -96,7 +141,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "verified-feeding", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "### 5. Plot the close price of the AAPL" ] @@ -104,7 +153,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "formal-actor", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -142,8 +195,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Youtube/Youtube_Download_video.ipynb b/Youtube/Youtube_Download_video.ipynb index d9ee00d3e7..e999fa5e79 100644 --- a/Youtube/Youtube_Download_video.ipynb +++ b/Youtube/Youtube_Download_video.ipynb @@ -2,28 +2,45 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "material-development", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "classical-huntington", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ - "# Download a video from URL" + "# Download a video from URL\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Youtube/Youtube_Download_video.ipynb)" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "charged-farmer", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"" ] }, { "cell_type": "markdown", - "metadata": {}, + "id": "super-yorkshire", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## 1. Install & import packages " ] @@ -31,7 +48,11 @@ { "cell_type": "code", "execution_count": 4, - "metadata": {}, + "id": "tracked-details", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -52,7 +73,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "cultural-uzbekistan", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "from pytube import YouTube" @@ -61,7 +86,11 @@ { "cell_type": "code", "execution_count": 6, - "metadata": {}, + "id": "martial-judges", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "youtube_video_url = 'https://www.youtube.com/watch?v=bleU_nrckr8'\n", @@ -71,7 +100,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "bored-saudi", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## 2. Paste Youtube URL" ] @@ -79,7 +112,11 @@ { "cell_type": "code", "execution_count": 7, - "metadata": {}, + "id": "documentary-revelation", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -111,7 +148,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "metallic-summit", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## 3. Filter on MP4 Quality" ] @@ -119,7 +160,11 @@ { "cell_type": "code", "execution_count": 8, - "metadata": {}, + "id": "ultimate-development", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -140,7 +185,11 @@ { "cell_type": "code", "execution_count": 9, - "metadata": {}, + "id": "excess-transaction", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -162,7 +211,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "id": "arbitrary-finish", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "## 4. Download video on current directory" ] @@ -170,7 +223,11 @@ { "cell_type": "code", "execution_count": 10, - "metadata": {}, + "id": "convinced-budapest", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "data": { @@ -190,7 +247,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "historic-tuning", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -212,8 +273,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/ZIP/ZIP_Extract_files.ipynb b/ZIP/ZIP_Extract_files.ipynb index a9cb5fe1cc..17dce890d4 100644 --- a/ZIP/ZIP_Extract_files.ipynb +++ b/ZIP/ZIP_Extract_files.ipynb @@ -2,17 +2,26 @@ "cells": [ { "cell_type": "markdown", - "metadata": {}, + "id": "limiting-testimony", + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n", "\n", - "# ZIP - Extract files" + "# ZIP - Extract files\n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/ZIP/ZIP_Extract_files.ipynb)" ] }, { "cell_type": "code", "execution_count": 2, - "metadata": {}, + "id": "separate-inside", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "import zipfile\n", @@ -23,7 +32,11 @@ { "cell_type": "code", "execution_count": 3, - "metadata": {}, + "id": "sporting-factory", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "def extract_zip(filepath):\n", @@ -43,7 +56,11 @@ { "cell_type": "code", "execution_count": 5, - "metadata": {}, + "id": "anticipated-corps", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [ { "name": "stdout", @@ -60,7 +77,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "id": "commercial-stream", + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [] } @@ -82,8 +103,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, - "nbformat_minor": 4 -} + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/Zapier/Zapier_Trigger_workflow.ipynb b/Zapier/Zapier_Trigger_workflow.ipynb index a9a6a928ff..99b9178bbb 100644 --- a/Zapier/Zapier_Trigger_workflow.ipynb +++ b/Zapier/Zapier_Trigger_workflow.ipynb @@ -3,11 +3,15 @@ { "cell_type": "markdown", "id": "toxic-shield", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "source": [ "\"Naas\"\n", "\n", - "# Zapier - Trigger workflow " + "# Zapier - Trigger workflow \n", + "[](https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Zapier/Zapier_Trigger_workflow.ipynb)" ] }, { @@ -21,7 +25,9 @@ "iopub.status.idle": "2021-01-28T17:37:05.993413Z", "shell.execute_reply": "2021-01-28T17:37:05.992677Z", "shell.execute_reply.started": "2021-01-28T17:37:04.954383Z" - } + }, + "papermill": {}, + "tags": [] }, "outputs": [], "source": [ @@ -32,7 +38,10 @@ "cell_type": "code", "execution_count": null, "id": "enabling-jordan", - "metadata": {}, + "metadata": { + "papermill": {}, + "tags": [] + }, "outputs": [], "source": [ "url = \"https://zapier.com/hooks/catch/n/Lx2RH/\"\n", @@ -58,8 +67,14 @@ "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.6" + }, + "papermill": { + "default_parameters": {}, + "environment_variables": {}, + "parameters": {}, + "version": "2.3.3" } }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file diff --git a/generate_readme.ipynb b/generate_readme.ipynb index 60ceeaff68..85e9067d32 100644 --- a/generate_readme.ipynb +++ b/generate_readme.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "practical-ownership", + "id": "descending-peoples", "metadata": {}, "source": [ "\"Naas\"\n", @@ -13,7 +13,7 @@ { "cell_type": "code", "execution_count": null, - "id": "medieval-father", + "id": "simplified-degree", "metadata": { "execution": { "iopub.execute_input": "2021-03-03T08:50:20.951558Z", @@ -39,7 +39,7 @@ }, { "cell_type": "markdown", - "id": "frank-denver", + "id": "geographic-blogger", "metadata": {}, "source": [ "## Variables" @@ -48,7 +48,7 @@ { "cell_type": "code", "execution_count": null, - "id": "premium-favorite", + "id": "forward-lawyer", "metadata": { "execution": { "iopub.execute_input": "2021-03-03T08:50:22.904384Z", @@ -72,7 +72,7 @@ }, { "cell_type": "markdown", - "id": "extended-custom", + "id": "bound-england", "metadata": {}, "source": [ "## Get files list" @@ -81,7 +81,7 @@ { "cell_type": "code", "execution_count": null, - "id": "rising-pakistan", + "id": "closed-herald", "metadata": { "execution": { "iopub.execute_input": "2021-03-03T08:50:22.911225Z", @@ -100,15 +100,17 @@ ] }, { - "source": [ - "## Set 'Add on Naas' link on notebook" - ], "cell_type": "markdown", - "metadata": {} + "id": "southern-cisco", + "metadata": {}, + "source": [ + "## Set 'Open in Naas' link on notebook" + ] }, { "cell_type": "code", "execution_count": null, + "id": "curious-sweden", "metadata": {}, "outputs": [], "source": [ @@ -148,7 +150,7 @@ }, { "cell_type": "markdown", - "id": "massive-quarter", + "id": "sustainable-russell", "metadata": { "execution": { "iopub.execute_input": "2021-01-26T16:25:51.412411Z", @@ -165,7 +167,7 @@ { "cell_type": "code", "execution_count": null, - "id": "found-supplier", + "id": "accurate-provider", "metadata": { "execution": { "iopub.execute_input": "2021-03-03T08:50:23.331020Z", @@ -201,7 +203,7 @@ }, { "cell_type": "markdown", - "id": "acute-harvest", + "id": "polar-handbook", "metadata": {}, "source": [ "## Create list of all notebooks" @@ -210,7 +212,7 @@ { "cell_type": "code", "execution_count": null, - "id": "criminal-vietnamese", + "id": "caroline-serial", "metadata": { "execution": { "iopub.execute_input": "2021-03-03T08:50:23.337873Z", @@ -258,7 +260,7 @@ }, { "cell_type": "markdown", - "id": "public-organ", + "id": "southern-calibration", "metadata": {}, "source": [ "## Preview the generated list" @@ -267,7 +269,7 @@ { "cell_type": "code", "execution_count": null, - "id": "pretty-africa", + "id": "chinese-encyclopedia", "metadata": { "execution": { "iopub.execute_input": "2021-03-03T08:50:23.485378Z", @@ -285,7 +287,7 @@ { "cell_type": "code", "execution_count": null, - "id": "arctic-language", + "id": "increasing-astronomy", "metadata": { "execution": { "iopub.execute_input": "2021-03-03T08:50:23.771184Z", @@ -309,7 +311,7 @@ { "cell_type": "code", "execution_count": null, - "id": "addressed-developer", + "id": "occupational-elephant", "metadata": {}, "outputs": [], "source": [] @@ -317,6 +319,7 @@ { "cell_type": "code", "execution_count": null, + "id": "geographic-rainbow", "metadata": {}, "outputs": [], "source": [] @@ -338,9 +341,16 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.2-final" + "version": "3.8.8" + }, + "widgets": { + "application/vnd.jupyter.widget-state+json": { + "state": {}, + "version_major": 2, + "version_minor": 0 + } } }, "nbformat": 4, "nbformat_minor": 5 -} \ No newline at end of file +}