From d6b30aea134b83f6d9a5de9cfec77db127d4bcec Mon Sep 17 00:00:00 2001
From: Adir David <118291963+Adir111@users.noreply.github.com>
Date: Sun, 9 Jun 2024 20:26:42 +0300
Subject: [PATCH] Delete tirgol2.ipynb
mistakenly added
---
tirgol2.ipynb | 1415 -------------------------------------------------
1 file changed, 1415 deletions(-)
delete mode 100644 tirgol2.ipynb
diff --git a/tirgol2.ipynb b/tirgol2.ipynb
deleted file mode 100644
index 8dd8662..0000000
--- a/tirgol2.ipynb
+++ /dev/null
@@ -1,1415 +0,0 @@
-{
- "nbformat": 4,
- "nbformat_minor": 0,
- "metadata": {
- "colab": {
- "provenance": [],
- "toc_visible": true,
- "mount_file_id": "1hVGWEV-ozbyXI6w29KchEXec-_Cu792B",
- "authorship_tag": "ABX9TyPQH4xz1LEyKB2wEdBca4CW",
- "include_colab_link": true
- },
- "kernelspec": {
- "name": "python3",
- "display_name": "Python 3"
- },
- "language_info": {
- "name": "python"
- },
- "widgets": {
- "application/vnd.jupyter.widget-state+json": {
- "d880cc3a879d4d41b2c4685dfccdbc57": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "VBoxModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "VBoxModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "VBoxView",
- "box_style": "",
- "children": [
- "IPY_MODEL_07427153b41d4952bc116f52b4e3762c",
- "IPY_MODEL_0adf7241abf645d1ac0c8ac33e45d84b",
- "IPY_MODEL_2cd6fd7825a74fbc8782979d91d0639d",
- "IPY_MODEL_2ff25ba3a3c94316961b332a720796e9",
- "IPY_MODEL_7315d48da90f4ed6a7ecaf6f5376af4f",
- "IPY_MODEL_bbed90061d9c4dc5bc3f6c7b06aca3ce"
- ],
- "layout": "IPY_MODEL_80be99da156e486e9ad7eaebdcb410ae"
- }
- },
- "07427153b41d4952bc116f52b4e3762c": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "HBoxModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "HBoxModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "HBoxView",
- "box_style": "",
- "children": [
- "IPY_MODEL_b96872df0deb4fb2915667864c9ef81c",
- "IPY_MODEL_35a793679d7a481fa0f05cc6eb6c4e8e"
- ],
- "layout": "IPY_MODEL_2ed9bcd9099b40b48625cdb7a7a4be65"
- }
- },
- "0adf7241abf645d1ac0c8ac33e45d84b": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "HBoxModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "HBoxModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "HBoxView",
- "box_style": "",
- "children": [
- "IPY_MODEL_9111c465f20e49ae988bbd025c00fa58",
- "IPY_MODEL_55335d3d74824907a639f5428214b8e0"
- ],
- "layout": "IPY_MODEL_f0a023d199794677b7d69495fb6d89a0"
- }
- },
- "2cd6fd7825a74fbc8782979d91d0639d": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "HBoxModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "HBoxModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "HBoxView",
- "box_style": "",
- "children": [
- "IPY_MODEL_187b74534aac475e85696630906a69a9",
- "IPY_MODEL_a323e35315e546459b8ac25bb412a6a9"
- ],
- "layout": "IPY_MODEL_6500e1b2306a45bdb798e71b23f11d0a"
- }
- },
- "2ff25ba3a3c94316961b332a720796e9": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "HBoxModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "HBoxModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "HBoxView",
- "box_style": "",
- "children": [
- "IPY_MODEL_6d555caf448842b291b280ae60ab4973",
- "IPY_MODEL_47a3c63f77114e99bf2ce0830f07c168"
- ],
- "layout": "IPY_MODEL_47e414cbb51f4951b4023eedc0bfc235"
- }
- },
- "7315d48da90f4ed6a7ecaf6f5376af4f": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "ButtonModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "ButtonModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "ButtonView",
- "button_style": "",
- "description": "Save",
- "disabled": false,
- "icon": "",
- "layout": "IPY_MODEL_40890718c02345ed86a7c26d601bd8c1",
- "style": "IPY_MODEL_5794a9ecd6ec42d79f74942bdb5290b0",
- "tooltip": ""
- }
- },
- "bbed90061d9c4dc5bc3f6c7b06aca3ce": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "HTMLModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "HTMLModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "HTMLView",
- "description": "",
- "description_tooltip": null,
- "layout": "IPY_MODEL_58d19819d5824d219298f3995dd03c86",
- "placeholder": "",
- "style": "IPY_MODEL_f0d3549fa9b047279ddad7edf067d366",
- "value": ""
- }
- },
- "80be99da156e486e9ad7eaebdcb410ae": {
- "model_module": "@jupyter-widgets/base",
- "model_name": "LayoutModel",
- "model_module_version": "1.2.0",
- "state": {
- "_model_module": "@jupyter-widgets/base",
- "_model_module_version": "1.2.0",
- "_model_name": "LayoutModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "LayoutView",
- "align_content": null,
- "align_items": null,
- "align_self": null,
- "border": null,
- "bottom": null,
- "display": null,
- "flex": null,
- "flex_flow": null,
- "grid_area": null,
- "grid_auto_columns": null,
- "grid_auto_flow": null,
- "grid_auto_rows": null,
- "grid_column": null,
- "grid_gap": null,
- "grid_row": null,
- "grid_template_areas": null,
- "grid_template_columns": null,
- "grid_template_rows": null,
- "height": null,
- "justify_content": null,
- "justify_items": null,
- "left": null,
- "margin": null,
- "max_height": null,
- "max_width": null,
- "min_height": null,
- "min_width": null,
- "object_fit": null,
- "object_position": null,
- "order": null,
- "overflow": null,
- "overflow_x": null,
- "overflow_y": null,
- "padding": null,
- "right": null,
- "top": null,
- "visibility": null,
- "width": "40%"
- }
- },
- "b96872df0deb4fb2915667864c9ef81c": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "LabelModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "LabelModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "LabelView",
- "description": "",
- "description_tooltip": null,
- "layout": "IPY_MODEL_a11550aee7c34c6d94ca7bc03baaa608",
- "placeholder": "",
- "style": "IPY_MODEL_abde80872a6d4be4b59e329c4abb49e5",
- "value": "Name:"
- }
- },
- "35a793679d7a481fa0f05cc6eb6c4e8e": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "DropdownModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "DropdownModel",
- "_options_labels": [
- "Adir David",
- "Eyal Maklada",
- "Gal Biton",
- "Nadav Reubens",
- "Ron Sisso"
- ],
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "DropdownView",
- "description": "",
- "description_tooltip": null,
- "disabled": false,
- "index": 0,
- "layout": "IPY_MODEL_1e8296912d7346f297f4fff0524a6c33",
- "style": "IPY_MODEL_16872100c7d24edaa74674da6da89a07"
- }
- },
- "2ed9bcd9099b40b48625cdb7a7a4be65": {
- "model_module": "@jupyter-widgets/base",
- "model_name": "LayoutModel",
- "model_module_version": "1.2.0",
- "state": {
- "_model_module": "@jupyter-widgets/base",
- "_model_module_version": "1.2.0",
- "_model_name": "LayoutModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "LayoutView",
- "align_content": null,
- "align_items": null,
- "align_self": null,
- "border": null,
- "bottom": null,
- "display": null,
- "flex": null,
- "flex_flow": null,
- "grid_area": null,
- "grid_auto_columns": null,
- "grid_auto_flow": null,
- "grid_auto_rows": null,
- "grid_column": null,
- "grid_gap": null,
- "grid_row": null,
- "grid_template_areas": null,
- "grid_template_columns": null,
- "grid_template_rows": null,
- "height": null,
- "justify_content": null,
- "justify_items": null,
- "left": null,
- "margin": "5px 0",
- "max_height": null,
- "max_width": null,
- "min_height": null,
- "min_width": null,
- "object_fit": null,
- "object_position": null,
- "order": null,
- "overflow": null,
- "overflow_x": null,
- "overflow_y": null,
- "padding": null,
- "right": null,
- "top": null,
- "visibility": null,
- "width": null
- }
- },
- "9111c465f20e49ae988bbd025c00fa58": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "LabelModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "LabelModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "LabelView",
- "description": "",
- "description_tooltip": null,
- "layout": "IPY_MODEL_a11550aee7c34c6d94ca7bc03baaa608",
- "placeholder": "",
- "style": "IPY_MODEL_7e7df6bc35a54226a91ab71b0a676db8",
- "value": "Email:"
- }
- },
- "55335d3d74824907a639f5428214b8e0": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "TextModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "TextModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "TextView",
- "continuous_update": true,
- "description": "",
- "description_tooltip": null,
- "disabled": true,
- "layout": "IPY_MODEL_29ed68c053df43b885038edba92b5b9b",
- "placeholder": "",
- "style": "IPY_MODEL_4bf660f140b944febebf46dbaeb7a0da",
- "value": "adir.david@braude.ac.il"
- }
- },
- "f0a023d199794677b7d69495fb6d89a0": {
- "model_module": "@jupyter-widgets/base",
- "model_name": "LayoutModel",
- "model_module_version": "1.2.0",
- "state": {
- "_model_module": "@jupyter-widgets/base",
- "_model_module_version": "1.2.0",
- "_model_name": "LayoutModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "LayoutView",
- "align_content": null,
- "align_items": null,
- "align_self": null,
- "border": null,
- "bottom": null,
- "display": null,
- "flex": null,
- "flex_flow": null,
- "grid_area": null,
- "grid_auto_columns": null,
- "grid_auto_flow": null,
- "grid_auto_rows": null,
- "grid_column": null,
- "grid_gap": null,
- "grid_row": null,
- "grid_template_areas": null,
- "grid_template_columns": null,
- "grid_template_rows": null,
- "height": null,
- "justify_content": null,
- "justify_items": null,
- "left": null,
- "margin": "5px 0",
- "max_height": null,
- "max_width": null,
- "min_height": null,
- "min_width": null,
- "object_fit": null,
- "object_position": null,
- "order": null,
- "overflow": null,
- "overflow_x": null,
- "overflow_y": null,
- "padding": null,
- "right": null,
- "top": null,
- "visibility": null,
- "width": null
- }
- },
- "187b74534aac475e85696630906a69a9": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "LabelModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "LabelModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "LabelView",
- "description": "",
- "description_tooltip": null,
- "layout": "IPY_MODEL_a11550aee7c34c6d94ca7bc03baaa608",
- "placeholder": "",
- "style": "IPY_MODEL_672b4077133f474ca151ba8925c2e815",
- "value": "Courses:"
- }
- },
- "a323e35315e546459b8ac25bb412a6a9": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "TextModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "TextModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "TextView",
- "continuous_update": true,
- "description": "",
- "description_tooltip": null,
- "disabled": true,
- "layout": "IPY_MODEL_ca8c726e85b74efda579f2dfd9dc2d03",
- "placeholder": "",
- "style": "IPY_MODEL_e1365a88fe954bd2bf96137d3b4ac494",
- "value": "Web, Physics, AI, Cloud, Data Mining"
- }
- },
- "6500e1b2306a45bdb798e71b23f11d0a": {
- "model_module": "@jupyter-widgets/base",
- "model_name": "LayoutModel",
- "model_module_version": "1.2.0",
- "state": {
- "_model_module": "@jupyter-widgets/base",
- "_model_module_version": "1.2.0",
- "_model_name": "LayoutModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "LayoutView",
- "align_content": null,
- "align_items": null,
- "align_self": null,
- "border": null,
- "bottom": null,
- "display": null,
- "flex": null,
- "flex_flow": null,
- "grid_area": null,
- "grid_auto_columns": null,
- "grid_auto_flow": null,
- "grid_auto_rows": null,
- "grid_column": null,
- "grid_gap": null,
- "grid_row": null,
- "grid_template_areas": null,
- "grid_template_columns": null,
- "grid_template_rows": null,
- "height": null,
- "justify_content": null,
- "justify_items": null,
- "left": null,
- "margin": "5px 0",
- "max_height": null,
- "max_width": null,
- "min_height": null,
- "min_width": null,
- "object_fit": null,
- "object_position": null,
- "order": null,
- "overflow": null,
- "overflow_x": null,
- "overflow_y": null,
- "padding": null,
- "right": null,
- "top": null,
- "visibility": null,
- "width": null
- }
- },
- "6d555caf448842b291b280ae60ab4973": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "LabelModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "LabelModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "LabelView",
- "description": "",
- "description_tooltip": null,
- "layout": "IPY_MODEL_a11550aee7c34c6d94ca7bc03baaa608",
- "placeholder": "",
- "style": "IPY_MODEL_0bedbd6ea9dc4035a415ab90f60e1aa9",
- "value": "Favorite Show:"
- }
- },
- "47a3c63f77114e99bf2ce0830f07c168": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "TextModel",
- "model_module_version": "1.5.0",
- "state": {
- "_dom_classes": [],
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "TextModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/controls",
- "_view_module_version": "1.5.0",
- "_view_name": "TextView",
- "continuous_update": true,
- "description": "",
- "description_tooltip": null,
- "disabled": false,
- "layout": "IPY_MODEL_44db048a73f7427fa7f2635d7937d444",
- "placeholder": "",
- "style": "IPY_MODEL_d3706d5b5fec4f9ebe7944e6847fce57",
- "value": "https://www.imdb.com/title/tt0108778/eees"
- }
- },
- "47e414cbb51f4951b4023eedc0bfc235": {
- "model_module": "@jupyter-widgets/base",
- "model_name": "LayoutModel",
- "model_module_version": "1.2.0",
- "state": {
- "_model_module": "@jupyter-widgets/base",
- "_model_module_version": "1.2.0",
- "_model_name": "LayoutModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "LayoutView",
- "align_content": null,
- "align_items": null,
- "align_self": null,
- "border": null,
- "bottom": null,
- "display": null,
- "flex": null,
- "flex_flow": null,
- "grid_area": null,
- "grid_auto_columns": null,
- "grid_auto_flow": null,
- "grid_auto_rows": null,
- "grid_column": null,
- "grid_gap": null,
- "grid_row": null,
- "grid_template_areas": null,
- "grid_template_columns": null,
- "grid_template_rows": null,
- "height": null,
- "justify_content": null,
- "justify_items": null,
- "left": null,
- "margin": "5px 0",
- "max_height": null,
- "max_width": null,
- "min_height": null,
- "min_width": null,
- "object_fit": null,
- "object_position": null,
- "order": null,
- "overflow": null,
- "overflow_x": null,
- "overflow_y": null,
- "padding": null,
- "right": null,
- "top": null,
- "visibility": null,
- "width": null
- }
- },
- "40890718c02345ed86a7c26d601bd8c1": {
- "model_module": "@jupyter-widgets/base",
- "model_name": "LayoutModel",
- "model_module_version": "1.2.0",
- "state": {
- "_model_module": "@jupyter-widgets/base",
- "_model_module_version": "1.2.0",
- "_model_name": "LayoutModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "LayoutView",
- "align_content": null,
- "align_items": null,
- "align_self": null,
- "border": null,
- "bottom": null,
- "display": null,
- "flex": null,
- "flex_flow": null,
- "grid_area": null,
- "grid_auto_columns": null,
- "grid_auto_flow": null,
- "grid_auto_rows": null,
- "grid_column": null,
- "grid_gap": null,
- "grid_row": null,
- "grid_template_areas": null,
- "grid_template_columns": null,
- "grid_template_rows": null,
- "height": null,
- "justify_content": null,
- "justify_items": null,
- "left": null,
- "margin": null,
- "max_height": null,
- "max_width": null,
- "min_height": null,
- "min_width": null,
- "object_fit": null,
- "object_position": null,
- "order": null,
- "overflow": null,
- "overflow_x": null,
- "overflow_y": null,
- "padding": null,
- "right": null,
- "top": null,
- "visibility": null,
- "width": null
- }
- },
- "5794a9ecd6ec42d79f74942bdb5290b0": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "ButtonStyleModel",
- "model_module_version": "1.5.0",
- "state": {
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "ButtonStyleModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "StyleView",
- "button_color": null,
- "font_weight": ""
- }
- },
- "58d19819d5824d219298f3995dd03c86": {
- "model_module": "@jupyter-widgets/base",
- "model_name": "LayoutModel",
- "model_module_version": "1.2.0",
- "state": {
- "_model_module": "@jupyter-widgets/base",
- "_model_module_version": "1.2.0",
- "_model_name": "LayoutModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "LayoutView",
- "align_content": null,
- "align_items": null,
- "align_self": null,
- "border": null,
- "bottom": null,
- "display": null,
- "flex": null,
- "flex_flow": null,
- "grid_area": null,
- "grid_auto_columns": null,
- "grid_auto_flow": null,
- "grid_auto_rows": null,
- "grid_column": null,
- "grid_gap": null,
- "grid_row": null,
- "grid_template_areas": null,
- "grid_template_columns": null,
- "grid_template_rows": null,
- "height": null,
- "justify_content": null,
- "justify_items": null,
- "left": null,
- "margin": null,
- "max_height": null,
- "max_width": null,
- "min_height": null,
- "min_width": null,
- "object_fit": null,
- "object_position": null,
- "order": null,
- "overflow": null,
- "overflow_x": null,
- "overflow_y": null,
- "padding": null,
- "right": null,
- "top": null,
- "visibility": null,
- "width": null
- }
- },
- "f0d3549fa9b047279ddad7edf067d366": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "DescriptionStyleModel",
- "model_module_version": "1.5.0",
- "state": {
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "DescriptionStyleModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "StyleView",
- "description_width": ""
- }
- },
- "a11550aee7c34c6d94ca7bc03baaa608": {
- "model_module": "@jupyter-widgets/base",
- "model_name": "LayoutModel",
- "model_module_version": "1.2.0",
- "state": {
- "_model_module": "@jupyter-widgets/base",
- "_model_module_version": "1.2.0",
- "_model_name": "LayoutModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "LayoutView",
- "align_content": null,
- "align_items": "center",
- "align_self": null,
- "border": null,
- "bottom": null,
- "display": "flex",
- "flex": null,
- "flex_flow": null,
- "grid_area": null,
- "grid_auto_columns": null,
- "grid_auto_flow": null,
- "grid_auto_rows": null,
- "grid_column": null,
- "grid_gap": null,
- "grid_row": null,
- "grid_template_areas": null,
- "grid_template_columns": null,
- "grid_template_rows": null,
- "height": null,
- "justify_content": "flex-end",
- "justify_items": null,
- "left": null,
- "margin": null,
- "max_height": null,
- "max_width": null,
- "min_height": null,
- "min_width": null,
- "object_fit": null,
- "object_position": null,
- "order": null,
- "overflow": null,
- "overflow_x": null,
- "overflow_y": null,
- "padding": null,
- "right": null,
- "top": null,
- "visibility": null,
- "width": "20%"
- }
- },
- "abde80872a6d4be4b59e329c4abb49e5": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "DescriptionStyleModel",
- "model_module_version": "1.5.0",
- "state": {
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "DescriptionStyleModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "StyleView",
- "description_width": ""
- }
- },
- "1e8296912d7346f297f4fff0524a6c33": {
- "model_module": "@jupyter-widgets/base",
- "model_name": "LayoutModel",
- "model_module_version": "1.2.0",
- "state": {
- "_model_module": "@jupyter-widgets/base",
- "_model_module_version": "1.2.0",
- "_model_name": "LayoutModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "LayoutView",
- "align_content": null,
- "align_items": null,
- "align_self": null,
- "border": null,
- "bottom": null,
- "display": null,
- "flex": null,
- "flex_flow": null,
- "grid_area": null,
- "grid_auto_columns": null,
- "grid_auto_flow": null,
- "grid_auto_rows": null,
- "grid_column": null,
- "grid_gap": null,
- "grid_row": null,
- "grid_template_areas": null,
- "grid_template_columns": null,
- "grid_template_rows": null,
- "height": null,
- "justify_content": null,
- "justify_items": null,
- "left": null,
- "margin": null,
- "max_height": null,
- "max_width": null,
- "min_height": null,
- "min_width": null,
- "object_fit": null,
- "object_position": null,
- "order": null,
- "overflow": null,
- "overflow_x": null,
- "overflow_y": null,
- "padding": null,
- "right": null,
- "top": null,
- "visibility": null,
- "width": "70%"
- }
- },
- "16872100c7d24edaa74674da6da89a07": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "DescriptionStyleModel",
- "model_module_version": "1.5.0",
- "state": {
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "DescriptionStyleModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "StyleView",
- "description_width": ""
- }
- },
- "7e7df6bc35a54226a91ab71b0a676db8": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "DescriptionStyleModel",
- "model_module_version": "1.5.0",
- "state": {
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "DescriptionStyleModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "StyleView",
- "description_width": ""
- }
- },
- "29ed68c053df43b885038edba92b5b9b": {
- "model_module": "@jupyter-widgets/base",
- "model_name": "LayoutModel",
- "model_module_version": "1.2.0",
- "state": {
- "_model_module": "@jupyter-widgets/base",
- "_model_module_version": "1.2.0",
- "_model_name": "LayoutModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "LayoutView",
- "align_content": null,
- "align_items": null,
- "align_self": null,
- "border": null,
- "bottom": null,
- "display": null,
- "flex": null,
- "flex_flow": null,
- "grid_area": null,
- "grid_auto_columns": null,
- "grid_auto_flow": null,
- "grid_auto_rows": null,
- "grid_column": null,
- "grid_gap": null,
- "grid_row": null,
- "grid_template_areas": null,
- "grid_template_columns": null,
- "grid_template_rows": null,
- "height": null,
- "justify_content": null,
- "justify_items": null,
- "left": null,
- "margin": null,
- "max_height": null,
- "max_width": null,
- "min_height": null,
- "min_width": null,
- "object_fit": null,
- "object_position": null,
- "order": null,
- "overflow": null,
- "overflow_x": null,
- "overflow_y": null,
- "padding": null,
- "right": null,
- "top": null,
- "visibility": null,
- "width": "70%"
- }
- },
- "4bf660f140b944febebf46dbaeb7a0da": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "DescriptionStyleModel",
- "model_module_version": "1.5.0",
- "state": {
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "DescriptionStyleModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "StyleView",
- "description_width": ""
- }
- },
- "672b4077133f474ca151ba8925c2e815": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "DescriptionStyleModel",
- "model_module_version": "1.5.0",
- "state": {
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "DescriptionStyleModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "StyleView",
- "description_width": ""
- }
- },
- "ca8c726e85b74efda579f2dfd9dc2d03": {
- "model_module": "@jupyter-widgets/base",
- "model_name": "LayoutModel",
- "model_module_version": "1.2.0",
- "state": {
- "_model_module": "@jupyter-widgets/base",
- "_model_module_version": "1.2.0",
- "_model_name": "LayoutModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "LayoutView",
- "align_content": null,
- "align_items": null,
- "align_self": null,
- "border": null,
- "bottom": null,
- "display": null,
- "flex": null,
- "flex_flow": null,
- "grid_area": null,
- "grid_auto_columns": null,
- "grid_auto_flow": null,
- "grid_auto_rows": null,
- "grid_column": null,
- "grid_gap": null,
- "grid_row": null,
- "grid_template_areas": null,
- "grid_template_columns": null,
- "grid_template_rows": null,
- "height": null,
- "justify_content": null,
- "justify_items": null,
- "left": null,
- "margin": null,
- "max_height": null,
- "max_width": null,
- "min_height": null,
- "min_width": null,
- "object_fit": null,
- "object_position": null,
- "order": null,
- "overflow": null,
- "overflow_x": null,
- "overflow_y": null,
- "padding": null,
- "right": null,
- "top": null,
- "visibility": null,
- "width": "70%"
- }
- },
- "e1365a88fe954bd2bf96137d3b4ac494": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "DescriptionStyleModel",
- "model_module_version": "1.5.0",
- "state": {
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "DescriptionStyleModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "StyleView",
- "description_width": ""
- }
- },
- "0bedbd6ea9dc4035a415ab90f60e1aa9": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "DescriptionStyleModel",
- "model_module_version": "1.5.0",
- "state": {
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "DescriptionStyleModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "StyleView",
- "description_width": ""
- }
- },
- "44db048a73f7427fa7f2635d7937d444": {
- "model_module": "@jupyter-widgets/base",
- "model_name": "LayoutModel",
- "model_module_version": "1.2.0",
- "state": {
- "_model_module": "@jupyter-widgets/base",
- "_model_module_version": "1.2.0",
- "_model_name": "LayoutModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "LayoutView",
- "align_content": null,
- "align_items": null,
- "align_self": null,
- "border": null,
- "bottom": null,
- "display": null,
- "flex": null,
- "flex_flow": null,
- "grid_area": null,
- "grid_auto_columns": null,
- "grid_auto_flow": null,
- "grid_auto_rows": null,
- "grid_column": null,
- "grid_gap": null,
- "grid_row": null,
- "grid_template_areas": null,
- "grid_template_columns": null,
- "grid_template_rows": null,
- "height": null,
- "justify_content": null,
- "justify_items": null,
- "left": null,
- "margin": null,
- "max_height": null,
- "max_width": null,
- "min_height": null,
- "min_width": null,
- "object_fit": null,
- "object_position": null,
- "order": null,
- "overflow": null,
- "overflow_x": null,
- "overflow_y": null,
- "padding": null,
- "right": null,
- "top": null,
- "visibility": null,
- "width": "70%"
- }
- },
- "d3706d5b5fec4f9ebe7944e6847fce57": {
- "model_module": "@jupyter-widgets/controls",
- "model_name": "DescriptionStyleModel",
- "model_module_version": "1.5.0",
- "state": {
- "_model_module": "@jupyter-widgets/controls",
- "_model_module_version": "1.5.0",
- "_model_name": "DescriptionStyleModel",
- "_view_count": null,
- "_view_module": "@jupyter-widgets/base",
- "_view_module_version": "1.2.0",
- "_view_name": "StyleView",
- "description_width": ""
- }
- }
- }
- }
- },
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {
- "id": "view-in-github",
- "colab_type": "text"
- },
- "source": [
- ""
- ]
- },
- {
- "cell_type": "code",
- "source": [
- "import json\n",
- "from google.colab import drive\n",
- "import ipywidgets as widgets\n",
- "drive.mount('/content/drive')"
- ],
- "metadata": {
- "id": "QlMxUwK7FrYQ",
- "colab": {
- "base_uri": "https://localhost:8080/"
- },
- "outputId": "fc45b692-caea-4413-ef7d-63ecd2b3298b"
- },
- "execution_count": 336,
- "outputs": [
- {
- "output_type": "stream",
- "name": "stdout",
- "text": [
- "Drive already mounted at /content/drive; to attempt to forcibly remount, call drive.mount(\"/content/drive\", force_remount=True).\n"
- ]
- }
- ]
- },
- {
- "cell_type": "code",
- "source": [
- "# get data\n",
- "file_path = '/content/drive/My Drive/students.json'\n",
- "with open(file_path, 'r') as file:\n",
- " json_data = file.read()\n",
- "\n",
- "data = json.loads(json_data)"
- ],
- "metadata": {
- "id": "woBMBexMF6g7"
- },
- "execution_count": 337,
- "outputs": []
- },
- {
- "cell_type": "code",
- "source": [
- "# creates name dictionary\n",
- "def update_names():\n",
- " global names\n",
- " names = {\n",
- " f\"{item['first_name']} {item['last_name']}\": item for item in data\n",
- " }\n",
- "update_names()"
- ],
- "metadata": {
- "id": "O6UsN4iTLj28"
- },
- "execution_count": 338,
- "outputs": []
- },
- {
- "cell_type": "code",
- "source": [
- "# when name changes in ddl\n",
- "def on_name_change(change):\n",
- " selected_name = change['new']\n",
- " if selected_name:\n",
- " selected_data = names[selected_name]\n",
- " email_text.value = selected_data['email']\n",
- " courses_text.value = selected_data['courses']\n",
- " link_text.value = selected_data['favorite_show']"
- ],
- "metadata": {
- "id": "A3Zb2F43L2Az"
- },
- "execution_count": 339,
- "outputs": []
- },
- {
- "cell_type": "code",
- "source": [
- "# define drop down list\n",
- "name_dropdown = widgets.Dropdown(\n",
- " options=list(names.keys()),\n",
- " disabled=False,\n",
- " layout=widgets.Layout(width='70%')\n",
- ")\n",
- "\n",
- "# observe ddl changes\n",
- "name_dropdown.observe(on_name_change, names='value')"
- ],
- "metadata": {
- "id": "eJWDyN7pLtje"
- },
- "execution_count": 340,
- "outputs": []
- },
- {
- "cell_type": "code",
- "source": [
- "# define text fields\n",
- "email_text = widgets.Text(disabled=True, layout=widgets.Layout(width='70%'), font_family='Tahoma')\n",
- "courses_text = widgets.Text(disabled=True, layout=widgets.Layout(width='70%'), font_family='Tahoma')\n",
- "link_text = widgets.Text(disabled=False, layout=widgets.Layout(width='70%'), font_family='Tahoma')"
- ],
- "metadata": {
- "id": "Z7B-UhPcLzOG"
- },
- "execution_count": 341,
- "outputs": []
- },
- {
- "cell_type": "code",
- "source": [
- "# label style\n",
- "label_layout = widgets.Layout(width='20%', display='flex', justify_content='flex-end', align_items='center', font_family='Tahoma', font_weight='bold')\n",
- "input_layout = widgets.Layout(width='80%')"
- ],
- "metadata": {
- "id": "b-FqhHDn6LIz"
- },
- "execution_count": 342,
- "outputs": []
- },
- {
- "cell_type": "code",
- "source": [
- "# make rows for vbox\n",
- "name_row = widgets.HBox([widgets.Label('Name:', layout=label_layout), name_dropdown], layout=widgets.Layout(margin='5px 0'))\n",
- "email_row = widgets.HBox([widgets.Label('Email:', layout=label_layout), email_text], layout=widgets.Layout(margin='5px 0'))\n",
- "courses_row = widgets.HBox([widgets.Label('Courses:', layout=label_layout), courses_text], layout=widgets.Layout(margin='5px 0'))\n",
- "link_row = widgets.HBox([widgets.Label('Favorite Show:', layout=label_layout), link_text], layout=widgets.Layout(margin='5px 0'))"
- ],
- "metadata": {
- "id": "2_9-aYEe6yIB"
- },
- "execution_count": 343,
- "outputs": []
- },
- {
- "cell_type": "code",
- "source": [
- "# save data method\n",
- "def save_data(_):\n",
- " selected_name = name_dropdown.value\n",
- " if selected_name:\n",
- " selected_data = names[selected_name]\n",
- " selected_data['favorite_show'] = link_text.value\n",
- "\n",
- " # Update the data dictionary directly using selected_name\n",
- " data[data.index(selected_data)]['favorite_show'] = link_text.value\n",
- "\n",
- " # Write updated data to the file\n",
- " with open(file_path, 'w') as file:\n",
- " file.write(json.dumps(data, indent=2))\n",
- "\n",
- " # Update names dictionary\n",
- " update_names()\n",
- "\n",
- " save_message.value = 'Data saved successfully!'"
- ],
- "metadata": {
- "id": "OD0Y4lHx9c_x"
- },
- "execution_count": 344,
- "outputs": []
- },
- {
- "cell_type": "code",
- "source": [
- "# define save button\n",
- "save_button = widgets.Button(description='Save')\n",
- "save_message = widgets.HTML(value='')\n",
- "save_button.on_click(save_data)"
- ],
- "metadata": {
- "id": "zabVYbvz9YkH"
- },
- "execution_count": 345,
- "outputs": []
- },
- {
- "cell_type": "code",
- "source": [
- "# hide save message\n",
- "def hide_save_message(change):\n",
- " save_message.value = ''\n",
- "\n",
- "link_text.observe(hide_save_message, names='value')\n",
- "name_dropdown.observe(hide_save_message, names='value')"
- ],
- "metadata": {
- "id": "B1UZnEILBg-L"
- },
- "execution_count": 346,
- "outputs": []
- },
- {
- "cell_type": "code",
- "source": [
- "# make form\n",
- "form = widgets.VBox([name_row, email_row, courses_row, link_row, save_button, save_message], layout=widgets.Layout(width='40%'))\n",
- "# displays the form\n",
- "display(form)\n",
- "# init fields\n",
- "on_name_change({'new': name_dropdown.value})"
- ],
- "metadata": {
- "colab": {
- "base_uri": "https://localhost:8080/",
- "height": 221,
- "referenced_widgets": [
- "d880cc3a879d4d41b2c4685dfccdbc57",
- "07427153b41d4952bc116f52b4e3762c",
- "0adf7241abf645d1ac0c8ac33e45d84b",
- "2cd6fd7825a74fbc8782979d91d0639d",
- "2ff25ba3a3c94316961b332a720796e9",
- "7315d48da90f4ed6a7ecaf6f5376af4f",
- "bbed90061d9c4dc5bc3f6c7b06aca3ce",
- "80be99da156e486e9ad7eaebdcb410ae",
- "b96872df0deb4fb2915667864c9ef81c",
- "35a793679d7a481fa0f05cc6eb6c4e8e",
- "2ed9bcd9099b40b48625cdb7a7a4be65",
- "9111c465f20e49ae988bbd025c00fa58",
- "55335d3d74824907a639f5428214b8e0",
- "f0a023d199794677b7d69495fb6d89a0",
- "187b74534aac475e85696630906a69a9",
- "a323e35315e546459b8ac25bb412a6a9",
- "6500e1b2306a45bdb798e71b23f11d0a",
- "6d555caf448842b291b280ae60ab4973",
- "47a3c63f77114e99bf2ce0830f07c168",
- "47e414cbb51f4951b4023eedc0bfc235",
- "40890718c02345ed86a7c26d601bd8c1",
- "5794a9ecd6ec42d79f74942bdb5290b0",
- "58d19819d5824d219298f3995dd03c86",
- "f0d3549fa9b047279ddad7edf067d366",
- "a11550aee7c34c6d94ca7bc03baaa608",
- "abde80872a6d4be4b59e329c4abb49e5",
- "1e8296912d7346f297f4fff0524a6c33",
- "16872100c7d24edaa74674da6da89a07",
- "7e7df6bc35a54226a91ab71b0a676db8",
- "29ed68c053df43b885038edba92b5b9b",
- "4bf660f140b944febebf46dbaeb7a0da",
- "672b4077133f474ca151ba8925c2e815",
- "ca8c726e85b74efda579f2dfd9dc2d03",
- "e1365a88fe954bd2bf96137d3b4ac494",
- "0bedbd6ea9dc4035a415ab90f60e1aa9",
- "44db048a73f7427fa7f2635d7937d444",
- "d3706d5b5fec4f9ebe7944e6847fce57"
- ]
- },
- "id": "dFuxd7B_MID8",
- "outputId": "89b7c178-1702-4218-bb53-9f17cb1aefa8"
- },
- "execution_count": 347,
- "outputs": [
- {
- "output_type": "display_data",
- "data": {
- "text/plain": [
- "VBox(children=(HBox(children=(Label(value='Name:', layout=Layout(align_items='center', display='flex', justify…"
- ],
- "application/vnd.jupyter.widget-view+json": {
- "version_major": 2,
- "version_minor": 0,
- "model_id": "d880cc3a879d4d41b2c4685dfccdbc57"
- }
- },
- "metadata": {}
- }
- ]
- }
- ]
-}
\ No newline at end of file