Giter Club home page Giter Club logo

Comments (6)

jtpio avatar jtpio commented on September 1, 2024

Thanks @deeplook.

Yes ipylab (latest versions) should work with JupyterLite now.

This is for example the case with this custom deployment: https://github.com/jtpio/lit

image

You might need to separate the following two statements in different cells:

app = JupyterFrontEnd()
app.commands.execute('apputils:change-theme', {'theme': 'JupyterLab Dark'})

from ipylab.

deeplook avatar deeplook commented on September 1, 2024

Ok, great! Will this be deployed to https://jupyterlite.readthedocs.io, too, and when? ;)

from ipylab.

jtpio avatar jtpio commented on September 1, 2024

Ah I think it's unlikely to be added to https://jupyterlite.readthedocs.io.

But you can easily make your own JupyterLite deployment and add ipylab to it (like https://github.com/jtpio/lit does).

from ipylab.

deeplook avatar deeplook commented on September 1, 2024

Sorry, I didn't mean "deployed" in the sense of pre-install ipylab on https://jupyterlite.readthedocs.io, but in the sense of being able to micropip-install it there.

from ipylab.

jtpio avatar jtpio commented on September 1, 2024

Right, it can be micropip installed. But the frontend extension also needs to be available, which requires adding it to the deployed website.

For example here on the demo site:

https://github.com/jupyterlite/jupyterlite/blob/21949bb8203cb4b18cc6c63cc25dd0a9cc2a45f0/examples/jupyter_lite_config.json#L4-L22

from ipylab.

deeplook avatar deeplook commented on September 1, 2024

Got it, thanks!

from ipylab.

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.