GithubHelp home page GithubHelp logo

Comments (5)

mlucool avatar mlucool commented on July 29, 2024

The npm version is no longer supported. Please upgrade to lab@3 or lab@4 and use the python installation method - https://github.com/deshaw/jupyterlab-execute-time?tab=readme-ov-file#install

from jupyterlab-execute-time.

lneves12 avatar lneves12 commented on July 29, 2024

My use case is slightly different. I have an application that uses jupyter lab underneath as a different entry point. Basically it runs in a decoupled way from the server. It's built in a similar way to https://github.com/datalayer/jupyter-ui , where I control the new JupyterLab().start() code.

In this case I can't install this extension using python, only npm

from jupyterlab-execute-time.

lneves12 avatar lneves12 commented on July 29, 2024

let me know if this doesn't make sense for you to maintain, and I can also keep my own package, I just thought this could be useful for other folks, but it might be that my use case is just very uncommon.

Thank you!

from jupyterlab-execute-time.

krassowski avatar krassowski commented on July 29, 2024

In this case I can't install this extension using python, only npm

You can fetch the tarball from PyPI and place the place the prebuilt extension in a place from all other prebuilt (module federation) extensions get loaded see https://jupyterlab.readthedocs.io/en/stable/extension/extension_dev.html#prebuilt-extensions - this is assuming your custom implementation does support prebuilt extensions (which would be a pretty reasonable ask). I suspect with time more and more extensions will move away from publishing on NPM especially if they are not extensible themselves.

from jupyterlab-execute-time.

lneves12 avatar lneves12 commented on July 29, 2024

I don’t really have module federation and support dynamically installing pre built extensions. I am bundling the jupyter lab myself (module federation doesn’t make sense to my use case).

The ideia is that I can easily serve my custom jupyter lab from a CDN. We also have our custom implementation of the contents API, so we can even load the lab UI before having a kernel container ready.

Anyway, I guess I can also fetch the tarball, as you suggested, and import the extension static files from there.

Thanks for the replies 👍

from jupyterlab-execute-time.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.