jupyter nbconvert - recursive option request?

267 views
Skip to first unread message

kris2k

unread,
Aug 16, 2019, 10:57:12 PM8/16/19
to Project Jupyter
Suggestion: to have -R recursive option; 

I found this solution on windows (7) with git-bash help:

$ find /d/im_ondiskD_now/path_to_the_top_directory_to_search -name '*.ipynb' | xargs jupyter nbconvert --to script

Roland Weber

unread,
Aug 19, 2019, 2:09:22 AM8/19/19
to Project Jupyter
Personally, I don't think that nbconvert should bother with searching input files in a directory structure. As your post shows, this is easily added through scripting, without causing extra effort for the nbconvert maintainers.

Nevertheless, you can always open a feature request:
Submitting a PR will tremendously increase the chances of seeing it implemented.

cheers,
  Roland

Matthew Seal

unread,
Aug 19, 2019, 5:45:22 PM8/19/19
to jup...@googlegroups.com
As one of the nbconvert maintainers, I'd say we're unlikely to add such a feature to nbconvert. As Roland mentioned it's easy to script or manage above the library and it would make the code harder to maintain over the long term.

And +1 for Issues / PRs being the best way to interface for feature requests (and for potential features :) )

Best,
Matt

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/18d5376d-38a5-4aa9-9958-1c49e85cec64%40googlegroups.com.

Chris Holdgraf

unread,
Aug 19, 2019, 9:57:37 PM8/19/19
to jup...@googlegroups.com
To that point - on these kind of "quite useful but out-of-scope for a tightly-scoped project" hacks, I think documentation (or places like the community forum) are a good place for these kinds of tips

Reply all
Reply to author
Forward
0 new messages