Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a notebook to view tables of json interactively #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

willingc
Copy link
Contributor

This PR adds a notebooks directory which includes:

  • additional requirements to run the notebook
  • adds a quickstart markdown file
  • read a json file, display polars dataframe in Great Tables, and in interactive iTables
  • adds an example of exporting the itable to html (it also can be used with quarto)

@DragaDoncila This may be useful as you work through the plugin stuff for 0.6.

Also proof of concept for napari/hub-lite#6

Copy link

vercel bot commented Feb 24, 2025

@willingc is attempting to deploy a commit to the napari Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this just to show what the HTML from the notebook would look like in HTML? I'm not sure I grok how I should be using it. Also I'm not sure if we need to mention anywhere that you need to click Trust HTML if you're viewing this in jupyter lab

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could remove the HTML. It was more for you. It could be embedded into a page in hublite.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, let's remove for now and then we can merge this as an example. Next step would be to add a table showing the manifest information effectively. I think that would be very useful.

@DragaDoncila
Copy link
Contributor

Thanks @willingc this is great! I think we can merge without the vercel deployment since this is not changing the API code.

I'm curious whether you see this as being useful more for napari devs or napari users? Or as a way to leverage the API to serve information for the napari hub?

@willingc
Copy link
Contributor Author

Right now, I see it as a convenience for napari devs. I could see us embedding into the docs or hublite down the road...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants