Hi Alexander,

As I understand, you are looking for something that will take code and text 
files in an existing Git repository and somehow automagically create a .ipynb 
file from them. I am not aware of any project/tool out there that does exactly 
what you want. However, the Jupyter Notebook format is pretty well-defined and 
in fact you can probably re-use the nbformat Python module to code something up 
for this. See https://github.com/jupyter/nbformat/tree/master/nbformat/v4. I 
imagine you can re-use the functions like `new_code_cell` and 
`new_markdown_cell`.
[https://avatars3.githubusercontent.com/u/7388996?s=400&v=4]<https://github.com/jupyter/nbformat/tree/master/nbformat/v4>

nbformat/nbformat/v4 at master · jupyter/nbformat · 
GitHub<https://github.com/jupyter/nbformat/tree/master/nbformat/v4>
You signed in with another tab or window. Reload to refresh your session. You 
signed out in another tab or window. Reload to refresh your session.
github.com

If by chance you are actually looking for a way to generate a Jupyter Notebook 
server from a Git repository, which is a different problem, that is something 
that repo2docker can do: https://github.com/jupyter/repo2docker
[https://avatars3.githubusercontent.com/u/7388996?s=400&v=4]<https://github.com/jupyter/repo2docker>

GitHub - jupyter/repo2docker: Turn git repositories into Jupyter enabled Docker 
Images - The world's leading software development platform · 
GitHub<https://github.com/jupyter/repo2docker>
repo2docker fetches a git repository and builds a container image based on the 
configuration files found in the repository. See the repo2docker documentation 
for more information on using repo2docker. See the contributing guide for 
information on contributing to repo2docker. See our roadmap to learn ...
github.com

Hope that helps!

/Jason
________________________________
From: [email protected] <[email protected]> on behalf of 
[email protected] <[email protected]>
Sent: Friday, February 15, 2019 06:59
To: Project Jupyter
Subject: [jupyter] Jupyter and GITs

Hi. I am looking for a way to get a Jupyter notebook directly from the 
information in a git repo. the idea is simply that the Jupyter is built 
automatically from information in the git repo. it could for instance be by 
taking text from the MD files, or having the specs for the Jupyter in a text 
file, etc. anyone could point me to related experiences?

--
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 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/fc35437b-67c3-480b-b297-3d4e7d43907a%40googlegroups.com<https://groups.google.com/d/msgid/jupyter/fc35437b-67c3-480b-b297-3d4e7d43907a%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/BN6PR11MB2035BC16FC4DCD33C73139C7CA600%40BN6PR11MB2035.namprd11.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to