#๐Ÿ”’ JupyterLab vs Jupyter Notebook for example notebooks

45 messages ยท Page 1 of 1 (latest)

shut copper
#

Hey all. Consider a new, small python package, which has some example Jupyter notebooks. Its documentation and optional dependencies for the example notebook can use either JupyterLab or a plain old Jupyter Notebook. Which one would be recommended? Thanks!

summer zincBOT
#

@shut copper

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

ember arrow
#

marimo

#

what kind of "example notebooks" are you using it for?

shut copper
shut copper
ember arrow
#

My thinking is that notebooks are ideal for snippet style code, but i'm not really familiar with jupyterlab

shut copper
#

they definitely are

#

but i'm seeing some things about jupyterlab being the modern replacement

#

i'm not familiar with it either

ember arrow
#

can't imagine it's better than vscode for coding or notebook for snippets ยฏ_(ใƒ„)_/ยฏ

ember arrow
#

yeah, personally I haven't really been hearing a ton about jupyterlab so I'd be inclined to stick to something mainstream

shut copper
#

i just imagine it wouldn't be the "simplest" method to run a first example

#

that's a good point

#

i hadn't heard of it before this either

#

much

ember arrow
#

well, there's a fairly simple extension for vscode, though i've always just used jupyter when I had pyntb stuff to do

#

marimo is a fairly painless transition as well tbh

shut copper
#

the extension is very nice

#

i wanted to use marimo at first tbh

#

and had a simple command to use it

#

but a coworker just refused to install it

ember arrow
#

bummer

shut copper
#

not everyone's adventurous i guess

#

but yeah

ember arrow
#

my biggest gripe with notebooks/.py is that I ended up having to switch between interpreters

#

my jupyter was managed by conda through some process i'll never understand and it was a nightmare

shut copper
#

i think that is related to why i have to include an optional dependency for jupyterlab or notebook at all

#

instead it could just be ipykernel which lets a python interpreter act as a kernel for a notebook

#

but with only that, you have to manually choose which interpreter to use when you run jupyter

#

and i don't want everyone to have to go and do that for a simple example notebook

ember arrow
#

welp, I should get back to my studies, thanks for the chit chat

#

hmm or

shut copper
#

you too! good luck with the studying

ember arrow
#

here is a thought, if it's not sensitive, use a cloud notebook

#

thats pretty simple, go to link, press play

shut copper
#

that's not bad actually

#

it could be even easier to run the simple example then

#

for new users

#

i like it, thanks

ember arrow
#

aye, later bud

shut copper
summer zincBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.