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.

[FEATURE] Automatic IPython alias *.ipynb generator for the example

See original GitHub issue

🚨🚨 Feature Request: example.py to transformed into example.ipynb

  • Related to an existing Issue
  • A new implementation (Improvement, Extension)

If your feature will improve HUB

  • Examples can be directly open, test, and verified in Colab via colab+github+repo
  • For this purpose, the example.py will be transformed into an example.ipynb, like demonstrated by Keras-IO
  • The documentation will be improved by hands-on-examples

Description of the possible solution

As part of the Keras-Autodoc there is a python2markdown, and a python2ipynb generator.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mynameisvinncommented, Feb 18, 2021

@axc888 we do have a separate tutorials folder, here!

Have you run into this problem while learning Hub? If so, we can work together to resolve it 😃

1reaction
Anselmoocommented, Dec 18, 2020

@mynameisvinn Thank you very much for feedback. I think in the long term that HUB can profit from the fact the tutorial section of the docs becomes interactive, as you can see on:

https://autokeras.com/tutorial/text_regression/

you can straight start the docs as interactive notebook

https://colab.research.google.com/github/keras-team/autokeras/blob/master/docs/ipynb/text_regression.ipynb

Or see the source code

https://github.com/keras-team/autokeras/blob/master/docs/py/text_regression.py

But I agree that something for the future future

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to automatically generate Jupyter Notebooks
The generator code​​ Run Mako on the file. Make a cells list of all cells., i.e., detect the beginning of a new cell...
Read more >
Built-in magic commands — IPython 8.7.0 documentation
IPython filters your input and converts it all into valid Python source before executing it (things like magics or aliases are turned into...
Read more >
IPython Or Jupyter? - DataCamp
A discussion of the evolution of and some of the key differences between IPython and Jupyter.
Read more >
How can I add a table of contents to a Jupyter / JupyterLab ...
You can add a TOC manually with Markdown and HTML. Here's how I have been adding: Create TOC at top of Jupyter Notebook:....
Read more >
The IPython Notebook — IPython 3.2.1 documentation
Notebook documents: a representation of all content visible in the web application, including inputs and outputs of the computations, explanatory text, ...
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