jupyterlite
jupytext
Our great sponsors
jupyterlite | jupytext | |
---|---|---|
19 | 20 | |
3,644 | 6,410 | |
3.5% | - | |
8.9 | 8.9 | |
8 days ago | 25 days ago | |
TypeScript | Python | |
BSD 3-clause "New" or "Revised" License | MIT License |
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.
jupyterlite
-
SymPy: Symbolic Mathematics in Python
The JupyterLite Python-compiled-to-WASM build has NumPy, SciPy, matplotlib, and SymPy installed; so you can do computer algebra with SymPy in a browser tab.
https://github.com/jupyterlite/jupyterlite/tree/main/py/jupy... :
> Initial support for interactive visualization libraries such as: altair, bqplot, ipywidgets, matplotlib, and plotly
- Vscode.dev: Local Development with Cloud Tools
-
Show HN: Ipython-GPT, a Jupyter/IPython Interface to Chat GPT
https://jupyterlite.readthedocs.io/en/latest/howto/extension... :
> We recommend checking out how to create a server extension first
From https://github.com/jupyterlite/jupyterlite/issues/237#issuec... re: 'micropip':
%pip install $@
- Show HN: Classic FPS Wolfenstein 3D brought in the browser via Emscripten
-
Jupyterlab Desktop
Agreed that would be a killer feature. Unzip this package and get a functional Python + Jupyter + scientific (numpy, pandas, scipy, matplotlib) environment.
I have been on-and-off teaching some people Python and the initial setup on-ramp is horrible. Ok, so install Python, now ignore-this-for-now-complications: create a "virtualenv", use this thing called "pip", install these half-dozen things to get a basic notebook (Jupyter + scipy things), install these other half-dozen quality of life things, you should probably also have "conda" for the future, etc. That's a lot of nonsense for someone I am trying to show an alternative to Excel.
My shortcut, "You want to try Python?" approach has been to start with JupyterLite[0] where I can immediately get people coding and delay that pain.
- Show HN: A 100% free and interactive Python course for coding beginners
- What Are People Building With WebAssembly?
-
Hacker News top posts: Nov 29, 2022
JupyterLite: a JupyterLab distribution that runs in the browser\ (45 comments)
- JupyterLite is a JupyterLab distribution that runs in the browser
- JupyterLite: a JupyterLab distribution that runs in the browser
jupytext
- The Jupyter+Git problem is now solved
-
Do you git commit jupyter notebooks?
Jupytext (https://github.com/mwouts/jupytext) has been designed exactly for this
-
The hatred towards jupyter notebooks
jupytext is your friend.
-
Edit notebooks in Google cloud
So if you run your own jupyter server, -jupy+text can be a great workflow : it takes your notebook synchronized with other formats (python file, makdown, ...), so you can edit your py/md file with neovim, and refresh the browser to execute the notebook.
-
Rant: Jupyter notebooks are trash.
Automatically convert ipynb files to py when saving them on JupyterLab
-
Two questions regarding working with jupyter notebooks (git, vim)
I don't use Jupyter so I don't know for sure, but on a quick glance you might want to look at https://github.com/mwouts/jupytext to see if that could help at all.
-
JupyterLite is a JupyterLab distribution that runs in the browser
The format is only partially invented, it follows Jupytext [0], but adds support for cell metadata. There is no obvious way to get that in fenced codeblocks, especially with the ability to spread it over multiple lines so it plays well with version control.
One more consideration is that it's not "Markdown with code blocks interspersed", one might as well use plaintext or AsciiDoc.
Of course there are tradeoffs.. I wish I had more time to work on it.
[0]: https://github.com/gzuidhof/starboard-notebook/blob/master/d...
-
Many write research papers in R Markdown - What is the alternative setup in Python?
Using jupytext (allows you to open .md files as notebooks) + jupyter gives you pretty much the same experience. The main issue is that the cell's output will be discarded. To fix it, you can use ploomber to generate an output HTML, so the workflow goes like this:
-
Jupyter Notebooks.
First, the format. The ipynb format does not play nicely with git since it stores the cell's source code and output in the same file. But Jupyter has built-in mechanisms to allow other formats to look like notebooks. For example, here's a library that allows you to store notebooks on a postgres database (I know this isn't practical, but it's a great example). To give more practical advice, jupytext allows you to open .py files as notebooks. So you can develop interactively but in the backend, you're storing .py files.
What are some alternatives?
starboard-notebook - In-browser literate notebooks
jupyter - An interface to communicate with Jupyter kernels.
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
rmarkdown - Dynamic Documents for R
panel - Panel: The powerful data exploration & web app framework for Python
sagemaker-run-notebook - Tools to run Jupyter notebooks as jobs in Amazon SageMaker - ad hoc, on a schedule, or in response to events
xeus-cling - Jupyter kernel for the C++ programming language
nbdev - Create delightful software with Jupyter Notebooks
brython - Brython (Browser Python) is an implementation of Python 3 running in the browser
papermill - 📚 Parameterize, execute, and analyze notebooks
streamlit - Streamlit — A faster way to build and share data apps.
nbdime - Tools for diffing and merging of Jupyter notebooks.