
PyBox is the app I build. Get it on Google Play.
Two kinds of notebook
| JupyterLab | marimo | |
|---|---|---|
| File | .ipynb, a JSON document | .py, a normal Python file |
| Cells | Run in the order you choose | Re-run when a value they use changes |
| Good for | Data analysis, teaching, long write-ups | Interactive apps, sliders, forms, tidy diffs |
| Folder in PyBox | PyBox/JupyterLab | PyBox/Marimo |
Templates
There are 34 marimo and 30 JupyterLab templates. They are split into starter, practical and academic. I ran each one on an Android emulator before shipping it.
- Practical: expense tracker, loan and EMI calculator, budget planner, grade calculator, CSV explorer, text analyzer, quiz app, regex tester, personal finance in pandas, data cleaning practice.
- Academic: linear regression, the central limit theorem, Fourier series, a damped oscillator, Bayes' theorem, matrix transformations, gradient descent, sorting algorithms, linear algebra with NumPy, calculus with SymPy, numerical methods, hypothesis testing, reaction kinetics.
The notebook manager
Open Manage Notebooks from the sidebar. It lists the notebooks of each kind, and the actions on each one are:
- Open, rename and delete.
- Export to HTML, Markdown or a Python script, saved wherever you pick with the Android file picker.
- Convert Jupyter to marimo, and marimo to Jupyter.
- Run all cells, clear outputs, run as a script, and lint with marimo check.
Commands run in a progress sheet with their output, so you do not need the terminal.
Next
See TensorFlow, Keras and MediaPipe on Android for the machine learning side, or how to code on your phone.
Questions
Can I run Jupyter notebooks on Android?
Yes. PyBox runs JupyterLab on the phone and opens .ipynb files from its notebook list. Packages install the first time you need them.
Does PyBox support marimo?
Yes. marimo notebooks are plain Python files, saved in the PyBox/Marimo folder, and open in the marimo editor on the phone.
Can I convert between them?
Yes. The notebook manager converts a Jupyter notebook to marimo and a marimo notebook to .ipynb, and saves the result where you choose.