Skip to content

Commit e27e525

Browse files
committed
clean more notebook metadata
1 parent 05904c2 commit e27e525

7 files changed

Lines changed: 38 additions & 2584 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ repos:
3838
- id: pretty-format-toml
3939
args: [--autofix]
4040

41+
- repo: https://github.com/kynan/nbstripout
42+
rev: 0.8.1
43+
hooks:
44+
- id: nbstripout
45+
files: ".ipynb"
46+
4147
- repo: https://github.com/srstevenson/nb-clean
4248
rev: 4.0.1
4349
hooks:

nbs/examples/01_quick_start.ipynb

Lines changed: 0 additions & 368 deletions
Original file line numberDiff line numberDiff line change
@@ -810,374 +810,6 @@
810810
"parameters": {},
811811
"start_time": "2025-06-20T14:03:21.768659",
812812
"version": "2.6.0"
813-
},
814-
"widgets": {
815-
"application/vnd.jupyter.widget-state+json": {
816-
"state": {
817-
"255019a11d954d26b2fa7148c8b8afcd": {
818-
"model_module": "@jupyter-widgets/controls",
819-
"model_module_version": "2.0.0",
820-
"model_name": "ProgressStyleModel",
821-
"state": {
822-
"_model_module": "@jupyter-widgets/controls",
823-
"_model_module_version": "2.0.0",
824-
"_model_name": "ProgressStyleModel",
825-
"_view_count": null,
826-
"_view_module": "@jupyter-widgets/base",
827-
"_view_module_version": "2.0.0",
828-
"_view_name": "StyleView",
829-
"bar_color": null,
830-
"description_width": ""
831-
}
832-
},
833-
"3ece351e4e06434581498a643452d9cd": {
834-
"model_module": "@jupyter-widgets/controls",
835-
"model_module_version": "2.0.0",
836-
"model_name": "HTMLModel",
837-
"state": {
838-
"_dom_classes": [],
839-
"_model_module": "@jupyter-widgets/controls",
840-
"_model_module_version": "2.0.0",
841-
"_model_name": "HTMLModel",
842-
"_view_count": null,
843-
"_view_module": "@jupyter-widgets/controls",
844-
"_view_module_version": "2.0.0",
845-
"_view_name": "HTMLView",
846-
"description": "",
847-
"description_allow_html": false,
848-
"layout": "IPY_MODEL_451664659be540f0b99fb22b1406d7ed",
849-
"placeholder": "",
850-
"style": "IPY_MODEL_8b87a1dbef35416e85f1d79669b5b081",
851-
"tabbable": null,
852-
"tooltip": null,
853-
"value": " 300/300 [00:07<00:00, 54.94it/s, loss=0.000000]"
854-
}
855-
},
856-
"451664659be540f0b99fb22b1406d7ed": {
857-
"model_module": "@jupyter-widgets/base",
858-
"model_module_version": "2.0.0",
859-
"model_name": "LayoutModel",
860-
"state": {
861-
"_model_module": "@jupyter-widgets/base",
862-
"_model_module_version": "2.0.0",
863-
"_model_name": "LayoutModel",
864-
"_view_count": null,
865-
"_view_module": "@jupyter-widgets/base",
866-
"_view_module_version": "2.0.0",
867-
"_view_name": "LayoutView",
868-
"align_content": null,
869-
"align_items": null,
870-
"align_self": null,
871-
"border_bottom": null,
872-
"border_left": null,
873-
"border_right": null,
874-
"border_top": null,
875-
"bottom": null,
876-
"display": null,
877-
"flex": null,
878-
"flex_flow": null,
879-
"grid_area": null,
880-
"grid_auto_columns": null,
881-
"grid_auto_flow": null,
882-
"grid_auto_rows": null,
883-
"grid_column": null,
884-
"grid_gap": null,
885-
"grid_row": null,
886-
"grid_template_areas": null,
887-
"grid_template_columns": null,
888-
"grid_template_rows": null,
889-
"height": null,
890-
"justify_content": null,
891-
"justify_items": null,
892-
"left": null,
893-
"margin": null,
894-
"max_height": null,
895-
"max_width": null,
896-
"min_height": null,
897-
"min_width": null,
898-
"object_fit": null,
899-
"object_position": null,
900-
"order": null,
901-
"overflow": null,
902-
"padding": null,
903-
"right": null,
904-
"top": null,
905-
"visibility": null,
906-
"width": null
907-
}
908-
},
909-
"457429565bfb44d98c3d036de5d73fd2": {
910-
"model_module": "@jupyter-widgets/controls",
911-
"model_module_version": "2.0.0",
912-
"model_name": "HBoxModel",
913-
"state": {
914-
"_dom_classes": [],
915-
"_model_module": "@jupyter-widgets/controls",
916-
"_model_module_version": "2.0.0",
917-
"_model_name": "HBoxModel",
918-
"_view_count": null,
919-
"_view_module": "@jupyter-widgets/controls",
920-
"_view_module_version": "2.0.0",
921-
"_view_name": "HBoxView",
922-
"box_style": "",
923-
"children": [
924-
"IPY_MODEL_d8922c5dadc548b6a3c23ea37b784c7b",
925-
"IPY_MODEL_bc74ea87e447477d984601c0563fdf10",
926-
"IPY_MODEL_3ece351e4e06434581498a643452d9cd"
927-
],
928-
"layout": "IPY_MODEL_6b38baf154114c7088daa78ab8be04ed",
929-
"tabbable": null,
930-
"tooltip": null
931-
}
932-
},
933-
"592bf578c390477990da6a0963683f0f": {
934-
"model_module": "@jupyter-widgets/controls",
935-
"model_module_version": "2.0.0",
936-
"model_name": "HTMLStyleModel",
937-
"state": {
938-
"_model_module": "@jupyter-widgets/controls",
939-
"_model_module_version": "2.0.0",
940-
"_model_name": "HTMLStyleModel",
941-
"_view_count": null,
942-
"_view_module": "@jupyter-widgets/base",
943-
"_view_module_version": "2.0.0",
944-
"_view_name": "StyleView",
945-
"background": null,
946-
"description_width": "",
947-
"font_size": null,
948-
"text_color": null
949-
}
950-
},
951-
"6b38baf154114c7088daa78ab8be04ed": {
952-
"model_module": "@jupyter-widgets/base",
953-
"model_module_version": "2.0.0",
954-
"model_name": "LayoutModel",
955-
"state": {
956-
"_model_module": "@jupyter-widgets/base",
957-
"_model_module_version": "2.0.0",
958-
"_model_name": "LayoutModel",
959-
"_view_count": null,
960-
"_view_module": "@jupyter-widgets/base",
961-
"_view_module_version": "2.0.0",
962-
"_view_name": "LayoutView",
963-
"align_content": null,
964-
"align_items": null,
965-
"align_self": null,
966-
"border_bottom": null,
967-
"border_left": null,
968-
"border_right": null,
969-
"border_top": null,
970-
"bottom": null,
971-
"display": null,
972-
"flex": null,
973-
"flex_flow": null,
974-
"grid_area": null,
975-
"grid_auto_columns": null,
976-
"grid_auto_flow": null,
977-
"grid_auto_rows": null,
978-
"grid_column": null,
979-
"grid_gap": null,
980-
"grid_row": null,
981-
"grid_template_areas": null,
982-
"grid_template_columns": null,
983-
"grid_template_rows": null,
984-
"height": null,
985-
"justify_content": null,
986-
"justify_items": null,
987-
"left": null,
988-
"margin": null,
989-
"max_height": null,
990-
"max_width": null,
991-
"min_height": null,
992-
"min_width": null,
993-
"object_fit": null,
994-
"object_position": null,
995-
"order": null,
996-
"overflow": null,
997-
"padding": null,
998-
"right": null,
999-
"top": null,
1000-
"visibility": null,
1001-
"width": null
1002-
}
1003-
},
1004-
"8a99ed65d9364b69ade4375924cf710b": {
1005-
"model_module": "@jupyter-widgets/base",
1006-
"model_module_version": "2.0.0",
1007-
"model_name": "LayoutModel",
1008-
"state": {
1009-
"_model_module": "@jupyter-widgets/base",
1010-
"_model_module_version": "2.0.0",
1011-
"_model_name": "LayoutModel",
1012-
"_view_count": null,
1013-
"_view_module": "@jupyter-widgets/base",
1014-
"_view_module_version": "2.0.0",
1015-
"_view_name": "LayoutView",
1016-
"align_content": null,
1017-
"align_items": null,
1018-
"align_self": null,
1019-
"border_bottom": null,
1020-
"border_left": null,
1021-
"border_right": null,
1022-
"border_top": null,
1023-
"bottom": null,
1024-
"display": null,
1025-
"flex": null,
1026-
"flex_flow": null,
1027-
"grid_area": null,
1028-
"grid_auto_columns": null,
1029-
"grid_auto_flow": null,
1030-
"grid_auto_rows": null,
1031-
"grid_column": null,
1032-
"grid_gap": null,
1033-
"grid_row": null,
1034-
"grid_template_areas": null,
1035-
"grid_template_columns": null,
1036-
"grid_template_rows": null,
1037-
"height": null,
1038-
"justify_content": null,
1039-
"justify_items": null,
1040-
"left": null,
1041-
"margin": null,
1042-
"max_height": null,
1043-
"max_width": null,
1044-
"min_height": null,
1045-
"min_width": null,
1046-
"object_fit": null,
1047-
"object_position": null,
1048-
"order": null,
1049-
"overflow": null,
1050-
"padding": null,
1051-
"right": null,
1052-
"top": null,
1053-
"visibility": null,
1054-
"width": null
1055-
}
1056-
},
1057-
"8b87a1dbef35416e85f1d79669b5b081": {
1058-
"model_module": "@jupyter-widgets/controls",
1059-
"model_module_version": "2.0.0",
1060-
"model_name": "HTMLStyleModel",
1061-
"state": {
1062-
"_model_module": "@jupyter-widgets/controls",
1063-
"_model_module_version": "2.0.0",
1064-
"_model_name": "HTMLStyleModel",
1065-
"_view_count": null,
1066-
"_view_module": "@jupyter-widgets/base",
1067-
"_view_module_version": "2.0.0",
1068-
"_view_name": "StyleView",
1069-
"background": null,
1070-
"description_width": "",
1071-
"font_size": null,
1072-
"text_color": null
1073-
}
1074-
},
1075-
"bc74ea87e447477d984601c0563fdf10": {
1076-
"model_module": "@jupyter-widgets/controls",
1077-
"model_module_version": "2.0.0",
1078-
"model_name": "FloatProgressModel",
1079-
"state": {
1080-
"_dom_classes": [],
1081-
"_model_module": "@jupyter-widgets/controls",
1082-
"_model_module_version": "2.0.0",
1083-
"_model_name": "FloatProgressModel",
1084-
"_view_count": null,
1085-
"_view_module": "@jupyter-widgets/controls",
1086-
"_view_module_version": "2.0.0",
1087-
"_view_name": "ProgressView",
1088-
"bar_style": "success",
1089-
"description": "",
1090-
"description_allow_html": false,
1091-
"layout": "IPY_MODEL_be8eaa5fc9de4a6a896b85f6894bb057",
1092-
"max": 300.0,
1093-
"min": 0.0,
1094-
"orientation": "horizontal",
1095-
"style": "IPY_MODEL_255019a11d954d26b2fa7148c8b8afcd",
1096-
"tabbable": null,
1097-
"tooltip": null,
1098-
"value": 300.0
1099-
}
1100-
},
1101-
"be8eaa5fc9de4a6a896b85f6894bb057": {
1102-
"model_module": "@jupyter-widgets/base",
1103-
"model_module_version": "2.0.0",
1104-
"model_name": "LayoutModel",
1105-
"state": {
1106-
"_model_module": "@jupyter-widgets/base",
1107-
"_model_module_version": "2.0.0",
1108-
"_model_name": "LayoutModel",
1109-
"_view_count": null,
1110-
"_view_module": "@jupyter-widgets/base",
1111-
"_view_module_version": "2.0.0",
1112-
"_view_name": "LayoutView",
1113-
"align_content": null,
1114-
"align_items": null,
1115-
"align_self": null,
1116-
"border_bottom": null,
1117-
"border_left": null,
1118-
"border_right": null,
1119-
"border_top": null,
1120-
"bottom": null,
1121-
"display": null,
1122-
"flex": null,
1123-
"flex_flow": null,
1124-
"grid_area": null,
1125-
"grid_auto_columns": null,
1126-
"grid_auto_flow": null,
1127-
"grid_auto_rows": null,
1128-
"grid_column": null,
1129-
"grid_gap": null,
1130-
"grid_row": null,
1131-
"grid_template_areas": null,
1132-
"grid_template_columns": null,
1133-
"grid_template_rows": null,
1134-
"height": null,
1135-
"justify_content": null,
1136-
"justify_items": null,
1137-
"left": null,
1138-
"margin": null,
1139-
"max_height": null,
1140-
"max_width": null,
1141-
"min_height": null,
1142-
"min_width": null,
1143-
"object_fit": null,
1144-
"object_position": null,
1145-
"order": null,
1146-
"overflow": null,
1147-
"padding": null,
1148-
"right": null,
1149-
"top": null,
1150-
"visibility": null,
1151-
"width": null
1152-
}
1153-
},
1154-
"d8922c5dadc548b6a3c23ea37b784c7b": {
1155-
"model_module": "@jupyter-widgets/controls",
1156-
"model_module_version": "2.0.0",
1157-
"model_name": "HTMLModel",
1158-
"state": {
1159-
"_dom_classes": [],
1160-
"_model_module": "@jupyter-widgets/controls",
1161-
"_model_module_version": "2.0.0",
1162-
"_model_name": "HTMLModel",
1163-
"_view_count": null,
1164-
"_view_module": "@jupyter-widgets/controls",
1165-
"_view_module_version": "2.0.0",
1166-
"_view_name": "HTMLView",
1167-
"description": "",
1168-
"description_allow_html": false,
1169-
"layout": "IPY_MODEL_8a99ed65d9364b69ade4375924cf710b",
1170-
"placeholder": "",
1171-
"style": "IPY_MODEL_592bf578c390477990da6a0963683f0f",
1172-
"tabbable": null,
1173-
"tooltip": null,
1174-
"value": "100%"
1175-
}
1176-
}
1177-
},
1178-
"version_major": 2,
1179-
"version_minor": 0
1180-
}
1181813
}
1182814
},
1183815
"nbformat": 4,

0 commit comments

Comments
 (0)