mirror of
https://github.com/harivansh-afk/ds1001_final.git
synced 2026-04-18 02:03:06 +00:00
added final project notebook and virtual environment files
This commit is contained in:
parent
a2daa16a47
commit
8dd392b20d
586 changed files with 112839 additions and 0 deletions
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
"use strict";(self.webpackChunk_jupyter_notebook_lab_extension=self.webpackChunk_jupyter_notebook_lab_extension||[]).push([[568],{568:(e,o,t)=>{t.r(o),t.d(o,{default:()=>m});var n,a=t(943),r=t(914),c=t(164),l=t(363),i=t(80),s=t(966),b=t(900),d=t(516);!function(e){e.launchNotebookTree="jupyter-notebook:launch-tree",e.openNotebook="jupyter-notebook:open-notebook",e.openLab="jupyter-notebook:open-lab",e.openNbClassic="jupyter-notebook:open-nbclassic"}(n||(n={}));const u={id:"@jupyter-notebook/lab-extension:interface-switcher",description:"A plugin to add custom toolbar items to the notebook page.",autoStart:!0,requires:[i.ITranslator],optional:[l.INotebookTracker,r.ICommandPalette,b.INotebookPathOpener,b.INotebookShell,a.ILabShell,r.IToolbarWidgetRegistry],activate:(e,o,t,a,r,l,i,u)=>{if(!t)return;const{commands:m,shell:p}=e,k=c.PageConfig.getBaseUrl(),h=o.load("notebook"),_="true"===c.PageConfig.getOption("nbclassic_enabled"),g=new s.Menu({commands:m}),f=[],N=null!=r?r:b.defaultNotebookPathOpener;l||f.push({command:n.openNotebook,commandLabel:h.__("Notebook"),commandDescription:h.__("Open in %1","Jupyter Notebook"),buttonLabel:"openNotebook",urlPrefix:`${k}tree`}),i||f.push({command:n.openLab,commandLabel:h.__("JupyterLab"),commandDescription:h.__("Open in %1","JupyterLab"),buttonLabel:"openLab",urlPrefix:`${k}doc/tree`}),_&&f.push({command:n.openNbClassic,commandLabel:h.__("NbClassic"),commandDescription:h.__("Open in %1","NbClassic"),buttonLabel:"openNbClassic",urlPrefix:`${k}nbclassic/notebooks`});const y=()=>null!==t.currentWidget&&t.currentWidget===p.currentWidget;let C;if(f.forEach((e=>{const{command:o}=e;(e=>{const{command:o,commandLabel:n,commandDescription:r,urlPrefix:c}=e;m.addCommand(o,{label:e=>(e.noLabel,e.isMenu||e.isPalette?r:n),caption:n,execute:()=>{const e=t.currentWidget;e&&N.open({prefix:c,path:e.context.path})},isEnabled:y}),a&&a.addItem({command:o,category:"Other",args:{isPalette:!0}})})(e),g.addItem({command:o})})),1===f.length)C=e=>{const o=new d.CommandToolbarButton({commands:m,id:f[0].command,label:f[0].commandLabel,icon:d.launchIcon});return o.addClass("jp-nb-interface-switcher-button"),o};else{const e={overflowMenuOptions:{isVisible:!1}},o=new s.MenuBar(e);g.title.label=h.__("Open in..."),g.title.icon=d.caretDownIcon,o.addMenu(g),C=o=>{const t=new s.MenuBar(e);return t.addMenu(g),t.addClass("jp-InterfaceSwitcher"),t}}u&&u.addFactory("Notebook","interfaceSwitcher",C)}},m=[{id:"@jupyter-notebook/lab-extension:launch-tree",description:"A plugin to add a command to open the Jupyter Notebook Tree.",autoStart:!0,requires:[i.ITranslator],optional:[r.ICommandPalette],activate:(e,o,t)=>{const{commands:a}=e,r=o.load("notebook"),l=r.__("Help");a.addCommand(n.launchNotebookTree,{label:r.__("Launch Jupyter Notebook File Browser"),execute:()=>{const e=c.URLExt.join(c.PageConfig.getBaseUrl(),"tree");window.open(e)}}),t&&t.addItem({command:n.launchNotebookTree,category:l})}},u]}}]);
|
||||
|
|
@ -0,0 +1 @@
|
|||
"use strict";(self.webpackChunk_jupyter_notebook_lab_extension=self.webpackChunk_jupyter_notebook_lab_extension||[]).push([[928],{950:(t,e,r)=>{r.d(e,{as:()=>p});var n=r(914),i=r(934),a=r(231),o=r(80),s=r(516),c=r(930),d=r(4);const u=new c.Token("@jupyterlab/application:ILayoutRestorer","A service providing application layout restoration functionality. Use this to have your activities restored across page loads.");var y;!function(t){function e(r){return r&&r.type?"tab-area"===r.type?{type:"tab-area",currentIndex:r.currentIndex,widgets:r.widgets.map((e=>t.nameProperty.get(e))).filter((t=>!!t))}:{type:"split-area",orientation:r.orientation,sizes:r.sizes,children:r.children.map(e).filter((t=>!!t))}:null}function r(t,e){if(!t)return null;const n=t.type||"unknown";if("unknown"===n||"tab-area"!==n&&"split-area"!==n)return console.warn(`Attempted to deserialize unknown type: ${n}`),null;if("tab-area"===n){const{currentIndex:r,widgets:n}=t,i={type:"tab-area",currentIndex:r||0,widgets:n&&n.map((t=>e.get(t))).filter((t=>!!t))||[]};return i.currentIndex>i.widgets.length-1&&(i.currentIndex=0),i}const{orientation:i,sizes:a,children:o}=t;return{type:"split-area",orientation:i,sizes:a||[],children:o&&o.map((t=>r(t,e))).filter((t=>!!t))||[]}}t.nameProperty=new d.AttachedProperty({name:"name",create:t=>""}),t.serializeMain=function(r){const n={dock:r&&r.dock&&e(r.dock.main)||null};if(r&&r.currentWidget){const e=t.nameProperty.get(r.currentWidget);e&&(n.current=e)}return n},t.deserializeMain=function(t,e){if(!t)return null;const n=t.current||null,i=t.dock||null;return{currentWidget:n&&e.has(n)&&e.get(n)||null,dock:i?{main:r(i,e)}:null}}}(y||(y={}));const l=new c.Token("@jupyterlab/application:IMimeDocumentTracker","A widget tracker for documents rendered using a mime renderer extension. Use this if you want to list and interact with documents rendered by such extensions.");function p(t){const e=[],r=new n.WidgetTracker({namespace:"application-mimedocuments"});return t.forEach((t=>{let n=t.default;t.hasOwnProperty("__esModule")||(n=t),Array.isArray(n)||(n=[n]),n.forEach((t=>{e.push(function(t,e){return{id:e.id,description:e.description,requires:[a.IRenderMimeRegistry,o.ITranslator],autoStart:!0,activate:(r,n,a)=>{if(void 0!==e.rank?n.addFactory(e.rendererFactory,e.rank):n.addFactory(e.rendererFactory),!e.documentWidgetFactoryOptions)return;const o=r.docRegistry;let c=[];c=Array.isArray(e.documentWidgetFactoryOptions)?e.documentWidgetFactoryOptions:[e.documentWidgetFactoryOptions],e.fileTypes&&e.fileTypes.forEach((t=>{t.icon&&(t={...t,icon:s.LabIcon.resolve({icon:t.icon})}),r.docRegistry.addFileType(t)})),c.forEach((r=>{const s=r.toolbarFactory?t=>r.toolbarFactory(t.content.renderer):void 0,c=new i.MimeDocumentFactory({renderTimeout:e.renderTimeout,dataType:e.dataType,rendermime:n,modelName:r.modelName,name:r.name,primaryFileType:o.getFileType(r.primaryFileType),fileTypes:r.fileTypes,defaultFor:r.defaultFor,defaultRendered:r.defaultRendered,toolbarFactory:s,translator:a,factory:e.rendererFactory});o.addWidgetFactory(c),c.widgetCreated.connect(((e,r)=>{m.factoryNameProperty.set(r,c.name),r.context.pathChanged.connect((()=>{t.save(r)})),t.add(r)}))}))}}}(r,t))}))})),e.push({id:"@jupyterlab/application-extension:mimedocument",description:"Provides a mime document widget tracker.",optional:[u],provides:l,autoStart:!0,activate:(t,e)=>(e&&e.restore(r,{command:"docmanager:open",args:t=>({path:t.context.path,factory:m.factoryNameProperty.get(t)}),name:t=>`${t.context.path}:${m.factoryNameProperty.get(t)}`}),r)}),e}var m;!function(t){t.factoryNameProperty=new d.AttachedProperty({name:"factoryName",create:()=>{}})}(m||(m={}))},448:(t,e,r)=>{r.d(e,{J:()=>a});var n=r(717),i=r(901);class a{constructor(t){this._busyCount=0,this._dirtyCount=0,this._busySignal=new i.Signal(t),this._dirtySignal=new i.Signal(t)}get busySignal(){return this._busySignal}get dirtySignal(){return this._dirtySignal}get isBusy(){return this._busyCount>0}get isDirty(){return this._dirtyCount>0}setDirty(){const t=this.isDirty;return this._dirtyCount++,this.isDirty!==t&&this._dirtySignal.emit(this.isDirty),new n.DisposableDelegate((()=>{const t=this.isDirty;this._dirtyCount=Math.max(0,this._dirtyCount-1),this.isDirty!==t&&this._dirtySignal.emit(this.isDirty)}))}setBusy(){const t=this.isBusy;return this._busyCount++,this.isBusy!==t&&this._busySignal.emit(this.isBusy),new n.DisposableDelegate((()=>{const t=this.isBusy;this._busyCount--,this.isBusy!==t&&this._busySignal.emit(this.isBusy)}))}}}}]);
|
||||
|
|
@ -0,0 +1 @@
|
|||
"use strict";(self.webpackChunk_jupyter_notebook_lab_extension=self.webpackChunk_jupyter_notebook_lab_extension||[]).push([[93],{122:(e,n,t)=>{t.d(n,{Z:()=>c});var r=t(961),o=t.n(r),a=t(242),i=t.n(a)()(o());i.push([e.id,"/*-----------------------------------------------------------------------------\n| Copyright (c) Jupyter Development Team.\n| Distributed under the terms of the Modified BSD License.\n|----------------------------------------------------------------------------*/\n\n.jp-InterfaceSwitcher {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.jp-InterfaceSwitcher .lm-MenuBar-itemIcon svg {\n vertical-align: sub;\n}\n\n.jp-nb-interface-switcher-button > .jp-ToolbarButtonComponent::part(content) {\n flex-direction: row-reverse;\n}\n\n.jp-nb-interface-switcher-button > .jp-ToolbarButtonComponent > svg {\n padding-left: 3px;\n}\n",""]);const c=i},242:e=>{e.exports=function(e){var n=[];return n.toString=function(){return this.map((function(n){var t="",r=void 0!==n[5];return n[4]&&(t+="@supports (".concat(n[4],") {")),n[2]&&(t+="@media ".concat(n[2]," {")),r&&(t+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),t+=e(n),r&&(t+="}"),n[2]&&(t+="}"),n[4]&&(t+="}"),t})).join("")},n.i=function(e,t,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(i[s]=!0)}for(var u=0;u<e.length;u++){var p=[].concat(e[u]);r&&i[p[0]]||(void 0!==a&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=a),t&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=t):p[2]=t),o&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=o):p[4]="".concat(o)),n.push(p))}},n}},961:e=>{e.exports=function(e){return e[1]}},398:e=>{var n=[];function t(e){for(var t=-1,r=0;r<n.length;r++)if(n[r].identifier===e){t=r;break}return t}function r(e,r){for(var a={},i=[],c=0;c<e.length;c++){var s=e[c],u=r.base?s[0]+r.base:s[0],p=a[u]||0,l="".concat(u," ").concat(p);a[u]=p+1;var f=t(l),d={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==f)n[f].references++,n[f].updater(d);else{var v=o(d,r);r.byIndex=c,n.splice(c,0,{identifier:l,updater:v,references:1})}i.push(l)}return i}function o(e,n){var t=n.domAPI(n);return t.update(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap&&n.supports===e.supports&&n.layer===e.layer)return;t.update(e=n)}else t.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=t(a[i]);n[c].references--}for(var s=r(e,o),u=0;u<a.length;u++){var p=t(a[u]);0===n[p].references&&(n[p].updater(),n.splice(p,1))}a=s}}},955:e=>{var n={};e.exports=function(e,t){var r=function(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}},133:e=>{e.exports=function(e){var n=document.createElement("style");return e.setAttributes(n,e.attributes),e.insert(n,e.options),n}},826:(e,n,t)=>{e.exports=function(e){var n=t.nc;n&&e.setAttribute("nonce",n)}},608:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var n=e.insertStyleElement(e);return{update:function(t){!function(e,n,t){var r="";t.supports&&(r+="@supports (".concat(t.supports,") {")),t.media&&(r+="@media ".concat(t.media," {"));var o=void 0!==t.layer;o&&(r+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),r+=t.css,o&&(r+="}"),t.media&&(r+="}"),t.supports&&(r+="}");var a=t.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),n.styleTagTransform(r,e,n.options)}(n,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)}}}},51:e=>{e.exports=function(e,n){if(n.styleSheet)n.styleSheet.cssText=e;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(e))}}},93:(e,n,t)=>{t.r(n);var r=t(398),o=t.n(r),a=t(608),i=t.n(a),c=t(955),s=t.n(c),u=t(826),p=t.n(u),l=t(133),f=t.n(l),d=t(51),v=t.n(d),m=t(122),h={};h.styleTagTransform=v(),h.setAttributes=p(),h.insert=s().bind(null,"head"),h.domAPI=i(),h.insertStyleElement=f(),o()(m.Z,h),m.Z&&m.Z.locals&&m.Z.locals}}]);
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,4 @@
|
|||
/* This is a generated file of CSS imports */
|
||||
/* It was generated by @jupyterlab/builder in Build.ensureAssets() */
|
||||
|
||||
import '@jupyter-notebook/lab-extension/style/index.js';
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"packages": [
|
||||
{
|
||||
"name": "@jupyter-notebook/application",
|
||||
"versionInfo": "7.5.0",
|
||||
"licenseId": "BSD-3-Clause",
|
||||
"extractedText": ""
|
||||
},
|
||||
{
|
||||
"name": "@jupyterlab/application",
|
||||
"versionInfo": "4.5.0",
|
||||
"licenseId": "BSD-3-Clause",
|
||||
"extractedText": ""
|
||||
},
|
||||
{
|
||||
"name": "css-loader",
|
||||
"versionInfo": "6.8.1",
|
||||
"licenseId": "MIT",
|
||||
"extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
|
||||
},
|
||||
{
|
||||
"name": "style-loader",
|
||||
"versionInfo": "3.3.3",
|
||||
"licenseId": "MIT",
|
||||
"extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue