question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to split cells to individual files (code & markdown)

See original GitHub issue

First, I find jupytext very useful in its current state. I add this as an issue, although it may be more akin to a feature, open to discussion.

I usually have very large Jupyter Notebooks. I keep them in version control (git) as synced markdown files. However, those md files tend to be pretty long, which is typical against good git+code practices. To me, it seems natural to think that jupytext should be able to support converting a notebook, based on cells, to individual *.py and *.md files. These files could maintain ordering by their filename, e.g. 01_introduction.md, 02_sample_query.py, 03_eval.md etc.

Is there a reason that this is not yet considered in jupytext?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mwoutscommented, Sep 22, 2020

Hi @Sieboldianus , well, may I encourage you to try implementing this format? The fact that you plan to write to a directory makes it a bit different from jupytext.read and jupytext.write, so maybe you should implement that format in another python package, and if it works well then later on we can see how to extend Jupytext with that format?

0reactions
mwoutscommented, Oct 18, 2020

Thank you @Sieboldianus . Yes indeed, I agree, supporting notebooks as many files looks challenging. Thank you for keeping us posted about the results of your attempts!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Split text into different columns with the Convert Text to ...
Select the cell or column that contains the text you want to split. Select Data > Text to Columns. In the Convert Text...
Read more >
Split Multiple Lines in a Cell into Separate Cells - YouTube
Download the feature file here https://www.bluepecantraining.com/wp-content/uploads/2021/02/ Split -Multiple-Lines- into-Separate - Cells.
Read more >
Have two columns in Markdown - Stack Overflow
From each rule, I would like to generate a PDF or an HTML page with a global table of contents. How can I...
Read more >
Split by Delimiter into Rows (and Columns) with Power Query
On the Home tab of the Ribbon, go to the Split Column menu and choose By Delimiter.
Read more >
Handbook Markdown Guide - GitLab
This method works for YouTube videos and any other embed video within an <iframe> tag. Copy the code below and paste it into...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found