Git Product home page Git Product logo

Comments (3)

IndianBoy42 avatar IndianBoy42 commented on June 20, 2024

An equivalent to run a specific numbered cell would be nice as well

from euporie.

phromo avatar phromo commented on June 20, 2024

I desired something similar, but my initial idea was to run euporie-console in a separate terminal and just send cell contents from my editor to the console. I figured there are two ways to send contents to the console:

    1. Send as keypresses to the terminal. This will "echo" the text in the cell. (( ECHO=ON ))
    1. Connecting to the running kernel in a hidden terminal (or process) and send the input there. Euporie-console will actually show the output only (( ECHO=OFF ))

I actually came here today because I wanted a nicer UX for (2) -- currently the output is appended to the current Out [nn], I want a new Out on each eval.

@joouha if you are willing to describe some thoughts on a "editor integration" epic, I would be happy to code some improvements and add docs. But would be nice to know if this a direction you would accept a PR for.

@IndianBoy42 do you believe sending cells to euporie-console would solve your usecase as well? This mimics the UI of vscode or atom+hydrogen pretty well in that you have a two-pane setup, you edit your notebook in the editor and eval in the second pane. You also use the second pane (euporie-console) to fiddle/debug. To me having the entire notebook open twice seems unnecessary, do you agree?

from euporie.

IndianBoy42 avatar IndianBoy42 commented on June 20, 2024

TBH i am currently split on whether the console or notebook view in a separate terminal is better. So in my free time I'm implementing both haha. I have the console version working oka. I kinda like the idea of connecting to the running kernel so the input is not shown, another way to achieve that may be to have euporie support folding/collapsing the input, because sometimes I might actually want to go back in the history and see what code was run for some output.

The main reason i'd have notebook view, or something like it, is to keep the order of the output the same as the code in the notebook and not have multiple copies of the output of the same cell. a notebook view but folding the code cells so mostly only the output is visible could be nice to eliminate the redundancy

from euporie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.