ipynbname
ipynbname copied to clipboard
Simple utility that retrieves current Jupyter notebook filename or path, when run from Jupyter notebook.
- Prioritize recent servers. - Use a low request timeout to move on quickly if the current server we're evaluating is stale - Avoid JSON decode errors: skip servers with...
loading file name takes too long - why?
* on a ubuntu box, I use the package to retrieve the name of a notebook using a cell like: ``` import ipynbname datetag = ipynbname.name() print('Running', ipynbname.path()) ``` *...
Hi, thanks a lot for your project, very useful! I noticed that this [link is broken](https://msm1089.github.io/2020/09/04/Automating-Jupyter-Notebook-Blog-Post-Deployment.html) minor :-) cheers, laurent
Hi all, Discovered this wonderful utility a couple days ago, but a team mate **using Windows is having trouble**. `--jupyter-lab version: 3.0.14` ```py ...\ipynbname\__init__.py in name() 80 if path: 81...
@flying-sheep For my test I used a code which was reported to work with jupyterlab 3 at https://github.com/msm1089/ipynbname/blob/master/ipynbname/__init__.py it gives me: ``` FileNotFoundError Traceback (most recent call last) in 49...
When running `ipynbname.name()` within a JupyterHub notebook, I get `Can't identify the notebook name`.
It works fine with the ipykernel but does not work with Xeus. Completely reproducible for me. Setup: Python 3.9.5, Jupyter lab 3.1.4. (Win 10, 64-bit, 21H1). NB this environment config...
I got this error. how can i fix it? import ipynbname nb_fname = ipynbname.name() `--------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) in 1 import ipynbname ----> 2 nb_fname = ipynbname.name()...
When executing notebooks programmatically using papermill/nbconvert, ipynbname fails with an `IndexError`. I've attached a reproducible example. [Archive.zip](https://github.com/msm1089/ipynbname/files/6176374/Archive.zip) ``` pipenv sync pipenv run python -m ipykernell install --name=ipynbname pipenv run papermill...