コード例 #1
0
    def start(self):
        self.argv.extend(['--py', 'jupyter_dashboards'])

        from notebook import nbextensions
        install = nbextensions.InstallNBExtensionApp()
        install.initialize(self.argv)
        install.start()
        enable = nbextensions.EnableNBExtensionApp()
        enable.initialize(self.argv)
        enable.start()
コード例 #2
0
    def start(self):
        self.argv.extend(['--py', 'lc_run_through'])

        install = nbextensions.InstallNBExtensionApp()
        install.initialize(self.argv)
        install.start()
        enable = nbextensions.EnableNBExtensionApp()
        enable.initialize(self.argv)
        enable.start()

        print('Enables dependecy extensions')
        self.enable_collapsible_headings()
コード例 #3
0
    def start(self):
        self.argv.extend(['--py', 'nblineage'])

        install = serverextensions.EnableServerExtensionApp()
        install.initialize(self.argv)
        install.start()
        install = nbextensions.InstallNBExtensionApp()
        install.initialize(self.argv)
        install.start()
        enable = nbextensions.EnableNBExtensionApp()
        enable.initialize(self.argv)
        enable.start()
コード例 #4
0
    def start(self):
        self.argv.extend(['--py', 'declarativewidgets'])

        from notebook import serverextensions
        install = serverextensions.EnableServerExtensionApp()
        install.initialize(self.argv)
        install.start()
        from notebook import nbextensions
        install = nbextensions.InstallNBExtensionApp()
        install.initialize(self.argv)
        install.start()
        enable = nbextensions.EnableNBExtensionApp()
        enable.initialize(self.argv)
        enable.start()
コード例 #5
0
    def start(self):
        self.argv.extend(['--py', 'jupyter_cms'])

        from notebook import serverextensions
        install = serverextensions.EnableServerExtensionApp()
        install.initialize(self.argv)
        install.start()
        from notebook import nbextensions
        install = nbextensions.InstallNBExtensionApp()
        install.initialize(self.argv)
        install.start()
        enable = nbextensions.EnableNBExtensionApp()
        enable.initialize(self.argv)
        enable.start()
        from jupyter_cms import bundlerapp
        enable = bundlerapp.EnableNBBundlerApp()
        enable.initialize(self.argv)
        enable.start()
コード例 #6
0
 def enable_collapsible_headings(self):
     enable = nbextensions.EnableNBExtensionApp()
     enable.initialize(['collapsible_headings/main'])
     enable.start();