Write and check Python
Ruff diagnostics and quick fixes are built in. Choose ty, Jedi or the Python LSP Server for completions, signatures and go to definition.
PyBox / Python on Primebook
Primebook is an Android laptop, and PyBox is built for Android. Python 3.14.8 runs on the device, offline, with a keyboard, a trackpad and windows, the way a laptop should.
An Android laptop gives you a big screen and a keyboard, but most Python apps for Android were made for a phone: a console, a small editor, no windows. Students and developers on a Primebook want the desktop workflow: a language server in the editor, Git, notebooks, and GUI apps that open in real windows.


Ruff diagnostics and quick fixes are built in. Choose ty, Jedi or the Python LSP Server for completions, signatures and go to definition.
Stage, commit, branch, push, resolve conflicts and clone repositories from the tool rail.
JupyterLab runs locally with Matplotlib and ipywidgets, plus 30 notebook templates.
NumPy, pandas, SciPy, scikit-learn, PyTorch, TensorFlow, ONNX Runtime and OpenCV come as prebuilt Android wheels.
Tkinter, Kivy and pygame, with touch, mouse and keyboard mapped to the desktop.
OpenCV reads the camera, and PyAudio and sounddevice use Android audio.
requirements.txt and tap Sync Project.Tip: in Settings, GUI display, set touch mode to Touchpad if you prefer a cursor you move with the trackpad.

A Primebook is often a student laptop. PyBox gives a class the same Python environment on every device, with no installs on a lab machine and no accounts. 100+ starter projects and 30 notebook templates mean every lesson starts with something that runs, and projects are normal folders that students can hand in as a ZIP.
Read the guide Coding on a Primebook: a Python setup guide, or the page on tablets and Chromebooks.
Yes. Primebook is an Android laptop and PyBox is an Android app, so it installs from Google Play and runs with a keyboard, a trackpad and windows.
Yes. PyBox runs an X11 server with a window manager, so Tkinter, Kivy and pygame windows open on its desktop.
Install it from Google Play and check the listing for current pricing.
No. Python runs locally. You need internet only to install packages.
How to set up Python on a Primebook: an IDE that runs offline, keyboard shortcuts, GUI apps in windows, Git and notebooks, with a first project in five minutes.
ReadHow to run a Python class on low-cost Android laptops and classroom smartboards: one offline app for the board and the students, with projects and notebooks.
Read