PyBox / JupyterLab on Android

JupyterLab on Android, running locally.

Tap New Notebook. PyBox sets up JupyterLab, starts it on localhost and opens it in your browser. Pick one of 30 notebook templates, blank included.

A Time Series Analysis notebook running in JupyterLab on Android

Set up once, then it is just there.

The first time you open a notebook, PyBox downloads JupyterLab, Matplotlib, ipywidgets, ipympl and a touch plugin, and shows the progress. After that the server starts on localhost port 8888 and JupyterLab opens in your browser. Notebooks are normal .ipynb files in your PyBox folder.

  • Interactive plots%matplotlib widget gives zoomable, pannable figures through ipympl.
  • A touch layerThe pybox-jupyterlab-touch plugin makes JupyterLab easier to drive with fingers.
  • Your hardwareKernels run on the device, so NumPy, pandas, SciPy, scikit-learn, statsmodels and PyTorch work on local data.
  • Offline after setupOnly the first setup and new packages need a connection.
The first-run sheet that sets up JupyterLab

Thirty notebook templates

A blank notebook and 29 that run top to bottom on a phone, each teaching a real method with real data.

Regression and Statistical Inference

Hypothesis tests, regression, multicollinearity, residual diagnostics and bootstrap intervals on 442 patient records.

Time Series Analysis

The Keeling CO2 curve: decomposition, stationarity tests, ACF and PACF, a seasonal ARIMA model and residual checks.

SQL Analytics with DuckDB

Joins, window functions, CTEs and built-in statistics, moving between SQL and pandas.

Monte Carlo and Bootstrap Methods

Integration, importance sampling, option pricing, bootstrap intervals and permutation tests.

Classical Mechanics Simulations

Motion, oscillators and orbits, integrated and plotted.

Geospatial Analysis

Shapely and pyproj on real coordinates.

Signal Processing and Fourier Analysis

Filters, spectra and the FFT.

Image Analysis with scikit-image

Segmentation, filters and measurements.

Clustering and Dimensionality Reduction

k-means, hierarchical clustering, PCA and more.

Deep Learning with PyTorch

Tensors, autograd and a small network.

Machine Learning with Scikit-learn

Pipelines, validation and models.

NumPy Essentials

NumPy is the foundation of numerical computing in Python. Covers arrays, broadcasting, linear algebra, random generation, and vectorised operations.

Matplotlib Plotting Examples

Matplotlib is Python's core plotting library. Covers line charts, scatter plots, histograms, subplots, 3D surfaces, and annotations.

Pandas Examples

Pandas is the go-to library for tabular data manipulation. Covers DataFrames, groupby, merging, time-series, missing data, and method chaining.

Seaborn Examples

Seaborn builds on Matplotlib to produce statistical graphics with less code. Covers distribution plots, categorical charts, pair grids, heatmaps, and regression plots.

SciPy in Practice

SciPy extends NumPy with scientific and engineering algorithms. Covers hypothesis testing, optimization, integration, curve fitting, and signal processing.

Personal Finance Tracker

Track a year of income and spending with pandas: monthly totals, category breakdowns and savings rate.

Student Grades Analysis

Analyse a class set of marks: distributions, rankings, study-time correlation and a simple pass predictor.

Data Cleaning Practice

Fix a deliberately messy table: missing values, duplicates, wrong types, bad text and outliers.

Working with JSON and CSV

Read, write and transform CSV and JSON files with the standard library only.

Text and Word Frequency Analysis

Count words, find the most common terms and compare two texts, using only the standard library and matplotlib.

Python Basics Workbook

Exercises with built-in checks: variables, strings, loops, lists, dictionaries and functions.

Linear Algebra Lab

Systems of equations, determinants, eigenvectors, projections and the SVD, with plots.

Calculus with SymPy

Limits, derivatives, integrals, series and differential equations done symbolically.

Numerical Methods

Root finding, numerical integration and ODE solvers, with error analysis.

Hypothesis Testing Lab

Run t-tests, chi-square tests and a power simulation, and learn how to read a p-value.

Oscillations and Waves

Simple harmonic motion, beats, standing waves and resonance, simulated and plotted.

Algorithms and Complexity

Time searching and sorting algorithms and compare them with their Big-O growth curves.

Reaction Kinetics

Zero, first and second order reactions, half-lives and the Arrhenius equation, simulated and fitted.

Questions

How do I run Jupyter Notebook on Android?

Install PyBox, tap New Notebook, choose a template and name the file. PyBox sets up JupyterLab the first time and opens it in your browser on localhost.

Does Jupyter on PyBox work offline?

Yes, after the first setup. The server runs on the device.

Can I use pandas, NumPy and Matplotlib in the notebook?

Yes. They come as prebuilt Android packages, or install more with %pip inside a notebook.

Where are my notebooks saved?

As .ipynb files in the PyBox folder in shared storage, so you can copy them to a computer.

Try PyBox on your device.