ipyflow
jupyter
ipyflow | jupyter | |
---|---|---|
20 | 31 | |
1,079 | 896 | |
1.0% | 1.1% | |
9.5 | 7.6 | |
4 days ago | 18 days ago | |
Python | Emacs Lisp | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ipyflow
-
Show HN: Marimo – an open-source reactive notebook for Python
You're probably referring to nbgather (https://github.com/microsoft/gather), which shipped with VSCode for a while.
nbgather used static slicing to get all the code necessary to reconstruct some cell. I actually worked with Andrew Head (original nbgather author) and Shreya Shankar to implement something similar in ipyflow (but with dynamic slicing and a not-as-nice interface): https://github.com/ipyflow/ipyflow?tab=readme-ov-file#state-...
I have no doubt something like this will make its way into marimo's roadmap at some point :)
-
React Jam just started, making a game in 13 days with React
Np.
From https://news.ycombinator.com/context?id=35887168 re: ipyflow I learned about ReactiveX for Python (RxPY) https://rxpy.readthedocs.io/en/latest/ .
https://github.com/ipyflow/ipyflow :
> IPyflow is a next-generation Python kernel for Jupyter and other notebook interfaces that tracks dataflow relationships between symbols and cells during a given interactive session, thereby making it easier to reason about notebook state.
FWIU e.g. panda3d does not have a react or rxpy-like API, but probably does have a component tree model?
https://news.ycombinator.com/item?id=38527552 :
>> It actually looks like pygame-web (pygbag) supports panda3d and harfang in WASM
> Harfang and panda3d do 3D with WebGL, but FWIU not yet agents in SSBO/VBO/GPUBuffer
-
The GitHub Black Market That Helps Coders Cheat the Popularity Contest
> Another giveaway is the ratio of stars to watchers / forks. I remember one project with thousands of stars but only 10 users "watching" it. They went on to raise a sizable seed round too.
Not necessarily indicative of foul play. I have two projects like this (https://github.com/smacke/ffsubsync and https://github.com/ipyflow/ipyflow) and I attribute it to not having great developer documentation.
-
Python 3.12
It's not in the highlights, but one of the things that excites me most is this: https://docs.python.org/dev/whatsnew/3.12.html#pep-669-low-i...
> PEP 669 defines a new API for profilers, debuggers, and other tools to monitor events in CPython. It covers a wide range of events, including calls, returns, lines, exceptions, jumps, and more. This means that you only pay for what you use, providing support for near-zero overhead debuggers and coverage tools. See sys.monitoring for details.
Low-overhead instrumentation opens up a whole bunch of interesting interactive use cases (i.e. Jupyter etc.), and as the author of one library that relies heavily on instrumentation (https://github.com/ipyflow/ipyflow), I'm very keen to explore the possibilities here.
- Excel Labs, a Microsoft Garage Project
- GitHub - ipyflow/ipyflow: A reactive Python kernel for Jupyter notebooks
-
IPython kernel alternatives
You’re looking for reactive kernels: https://github.com/ipyflow/ipyflow
- IPyflow: Reactive Python Notebooks in Jupyter(Lab)
jupyter
-
IPython and :results output is too verbose
For ipython, you'd better use some more specialized package like https://github.com/emacs-jupyter/jupyter, not the generic python support.
- Ask HN: Why don't other languages have Jupyter style notebooks?
-
Does anyone have a solution for displaying plotly plots in org mode?
I have seen this thread, but I don't want to have to put an extra source block to set the renderers in every org file where I use plotly. Does anyone have a good solution for the moment? Any help is appreciated.
-
Bounty on ein package startup times
Should no one take you up on the bounty, I suggest trying emacs-jupyter instead. I've had better luck with it in the past.
-
Replace Jupyter with Emacs Org Mode: Unleash the Power of Literate Programming
For anybody following along with the examples, a few points/tips that might help newcomers:
1. (By default) before you can use Python source blocks, you need to have the Org Babel Python functionality loaded which is most easily done by evaluating the elisp (require 'ob-babel), but there are other ways also [1].
2. The first example, which uses the print function, will not output anything because the Python blocks by default are evaluated inside a function body and the return value is returned to Org [2]. To return the printed output instead, you need the header argument ":results output". There is an example of this syntax later in TFA.
3. If you are serious about replacing (or complementing) other Jupyter tools with Org mode, you might want to eventually look at emacs-jupyter [3], which provides a more advanced handling of outputs and also supports other (i.e. non-Python) kernels.
Also, I don't think I've ever seen anything like the debugging example and when I tried to replicate it out of curiosity, the block simply failed with a bdb.BdbQuit exception. Am I missing something? What is supposed to happen?
[1] https://orgmode.org/manual/Languages.html
[2] https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-...
[3] https://github.com/nnicandro/emacs-jupyter
- Replace Jupyter Notebook With Emacs Org Mode
-
For Julia is there some thing like VSCode's python interactive window?
Emacs, Sublime Text 3 and Atom Pulsar can all do this with arbitrary Jupyter kernels with the emacs-jupyter/code-cells, helium and hydrogen packages, respectively.
-
Is org-mode an adequate replacement for Jupyter Notebook/rmarkdown for literate programming?
You can use emacs as a jupyter client if that would help in your case https://github.com/nnicandro/emacs-jupyter
-
Switched to VSCode... I miss Atom :(
I've been using code-cells together with emacs-jupyter, the combination of the two lets you work pretty much identically as you would in Atom with Hydrogen, Sublime with Helium, or VSCode with the Jupyter Python extension; you just delimit code cells with #%% and execute in a separate Jupyter REPL buffer. It does require some getting used to the key bindings though (or some tweaking to make it more similar to what you're used to).
-
Using emacs as a study environment
For writing source blocks: https://github.com/nnicandro/emacs-jupyter
What are some alternatives?
elyra - Elyra extends JupyterLab with an AI centric approach.
jupytext - Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts
ploomber - The fastest ⚡️ way to build data pipelines. Develop iteratively, deploy anywhere. ☁️
lsp-mode - Emacs client/library for the Language Server Protocol
osxphotos - Python app to work with pictures and associated metadata from Apple Photos on macOS. Also includes a package to provide programmatic access to the Photos library, pictures, and metadata.
vim-ipython-cell - Seamlessly run Python code in IPython from Vim
nopdb - NoPdb: Non-interactive Python Debugger
emacs-ipython-notebook - Jupyter notebook client in Emacs
subtls - A proof-of-concept TypeScript TLS 1.3 client
lsp-julia
quarto-cli - Open-source scientific and technical publishing system built on Pandoc.
nbterm - Jupyter Notebooks in the terminal.