PyBox v2.1 · Android 8.0+

Python IDEfor Android.

PyBox runs Python 3.14.8 offline on your phone, tablet or Chromebook. A language server in the editor, Git, JupyterLab, NumPy to PyTorch, and a GPU-accelerated X11 desktop for Tkinter, Kivy and pygame.

  • Python 3.14.8
  • arm64 · x86_64
  • works offline
  • 100+ starter projects
PyBox on an Android tablet: a Python file open in the editor with the file tree beside it
PyBox on an Android phone: the same Python file in the editor
1K+downloads on Google Play
100+starter projects
17lab notebooks, Jupyter-ready
5.0rating on Google Play, 23 ratings

01 Editor

An editor with a real language server.

Problems are underlined as you type. Tap one for the message, the rule and the fix. Pick Ruff, ty, Jedi or the Python LSP Server, or turn it off.

  • Problems with one-tap fixesRuff is built in. Tap an underline for the rule, such as F821, then disable it for the line, fix everything fixable, or organize imports.
  • Completions, signatures, go to definitionJedi and ty add completions and signature help. Go to definition opens the typeshed stubs read-only. ty also renames symbols.
  • Hover docs and inlay hintsRest a mouse on a symbol for its documentation, rendered as Markdown. ty shows inferred types and parameter names inline.
  • Tests and problems panelsRun pytest from the tool rail and read every result. The problems panel lists errors and warnings in the open files.
  • Find in files, replace, formatCase, whole-word and regex toggles with replace all. Format with Ruff and run lint from the menu.
  • An editor that fits the screenSticky scroll, minimap, indent guides, bracket pair highlight, ligatures, pinch to zoom and a split layout on tablets.
PyBox editor on a tablet with a file tree, tabs, a status bar and problem counts
Tapping an undefined-name problem opens its message, the Ruff rule and quick fixes
A Python file with unused imports and an undefined name underlined, and error and warning counts in the status bar
Editor settings: theme, language server, problem underline, word wrap, line numbers, sticky scroll, indent guides and bracket pair highlight

02 Desktop

A real X11 desktop with GPU OpenGL.

Tkinter, Kivy, pygame and OpenGL apps open in real windows. PyBox embeds an X server and a window manager, draws through the GPU, and maps touch, keyboard and clipboard to it.

  • Windows, a panel and a taskbarMove, minimize, maximize and close windows. The panel has a launcher, CPU, memory, FPS and the clock.
  • OpenGL up to 4.3The GPU renderer runs old and modern OpenGL apps. GPU safe is OpenGL 3.3, GPU exact is GL 2.1 and GLES 3.2, and CPU is the exact fallback.
  • Touch that behavesDirect or touchpad mode, pointer speed, two-finger tap for right-click, natural scrolling, and multitouch pinch sent to apps as real touch.
  • Keyboard and clipboardHardware keyboard mapping, a toggle for the on-screen keyboard, and clipboard sync between Android and X11.
  • The screen fits the windowResolution, DPI, frame rate limit and cursor size. The screen resizes on rotation and in split screen.
TkinterKivypygamePyOpenGLTurtleIDLEMatplotlib windowsSDL

How GUI apps run on Android

The PyBox X11 desktop with a clock, a spirograph and a waves window, a panel with CPU, memory and clock, and a taskbar
Python IDLE running on the X11 desktop, showing Python 3.14.8 on android
The on-screen keyboard opened from the panel over an IDLE window
The windows list open over the X11 desktop
GUI display settings: resolution, fit screen to window, frame rate limit, OpenGL renderer, screen DPI and cursor options

03 Showroom

Every screen here is a real capture.

PyBox Home screen

Showing: Home

04 Libraries

NumPy to PyTorch, on the device.

Prebuilt Android wheels, installed with pip. TensorFlow Lite, NCNN and ONNX Runtime run inference with GPU acceleration. Pure-Python packages install straight from PyPI.

TensorFlow LiteXGBooststatsmodelsPyArrowh5pyShapelypyprojPyMuPDFlxmlPyOpenGLsoundfileVoskSpeechRecognitionpyperclipnetworkxcryptographyPyNaClpyzmqtornadogrpciopsutiltiktokensentencepieceorjsonmsgspecty

Every supported library

05 Hardware

Python with the camera, mic and speaker.

Desktop libraries talk to real Android hardware. Open the camera with OpenCV, record with PyAudio, speak with pyttsx3. Permissions are asked once, up front.

  • Camera through OpenCVcv2.VideoCapture reads the phone camera. Face detection, tracking and image pipelines run on live frames.
  • Microphone and speakerPyAudio and sounddevice record and play through Android audio. Vosk and sherpa-onnx transcribe speech offline.
  • Text to speech, clipboard, filespyttsx3 speaks through Android text-to-speech. pyperclip uses the system clipboard. Projects live in shared storage you can open from any app.
face-detection-opencv / main.py
import cv2

cascade = cv2.CascadeClassifier(
    cv2.data.haarcascades + "haarcascade_frontalface_default.xml"
)
cam = cv2.VideoCapture(0)

while True:
    ok, frame = cam.read()
    gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
    faces = cascade.detectMultiScale(gray, 1.2, 5)
    for x, y, w, h in faces:
        cv2.rectangle(frame, (x, y), (x + w, y + h), (0, 255, 0), 2)
    cv2.imshow("PyBox - face detection", frame)

06 Notebooks

JupyterLab, with a touch layer.

PyBox sets JupyterLab up on first use, with Matplotlib, ipywidgets, ipympl and a touch plugin, then runs it on localhost and opens it in your browser. Thirty notebook templates start you with real data.

A statsmodels ARIMA residual diagnostics plot rendered inside JupyterLab on Android
A seasonal decomposition of the Keeling CO2 curve in a JupyterLab notebook
The first-run sheet that downloads JupyterLab, Matplotlib, ipywidgets, ipympl and the touch plugin

Time Series Analysis

Decomposition, stationarity tests, ACF and PACF, a seasonal ARIMA model.

Deep Learning with PyTorch

Tensors, autograd and a small network trained on the device.

SQL Analytics with DuckDB

Joins, window functions and CTEs, moving between SQL and pandas.

Geospatial Analysis

Shapely, pyproj and maps from real coordinates.

JupyterLab on Android, in full

07 Version control

Git and GitHub in the tool rail.

Changes, History, Branches, Remotes, Pull Requests and Stash sit one tap away, next to Tests, Problems and the terminal.

  • Commit like on a desktopStage, unstage and discard per file, write a message, amend, or commit and push. See the full diff.
  • Branches, tags and historyCreate branches and tags, cherry-pick, revert, and reset soft, mixed or hard. Read the graph of every commit.
  • GitHub built inSign in, clone a repository, create one from a project, and work through pull requests.
  • Conflicts you can resolveConflicted files are listed, marked resolved one by one, and a merge can be aborted.
The Git history panel listing commits with authors and dates beside an open Python file
The Changes panel listing four modified and untracked files with a commit message typed, and Commit and Commit and Push buttons
A file diff sheet showing added lines in green with Open file and Stage buttons
Local and remote branches and tags in the branches panel
The tests panel with a Run all tests button for pytest

08 Themes

Light, dark and twelve editor themes.

The app follows the system or your choice. The editor ships GitHub Dark, Darcula, Ayu Dark, Monokai, Solarized, Abyss, Tomorrow Night Blue, Kimbie Dark, Red and Quiet Light, with a live preview before you apply one.

GitHub Dark editor themeDarcula editor themeAyu Dark editor themeMonokai editor themeSolarized Dark editor themeAbyss editor themeTomorrow Night Blue editor themeKimbie Dark editor themeRed editor themeQuiet Light editor themeSolarized Light editor theme
The PyBox workspace with real project names, in the app theme that matches this site
The phone home screen with quick start and the project list
The phone editor with a Python file open

Use the sun and moon button in the header. The screens above switch with it.

09 Projects

From idea to running code in two taps.

Pick a template, import a folder or clone from GitHub. Add packages to requirements.txt and sync. Share a project as a ZIP.

The New Project template picker with categories, descriptions and tags
The PyBox home screen with quick start actions and a workspace of real project names
  • 100+ starter projectsBeginner basics, games, apps and web, automation, machine learning, scraping, vision, signals and simulations. Search and filter by category.
  • Import and exportOpen a folder or a file, or a .pbxproj archive. Export, duplicate, rename, or share a project as a ZIP.
  • Sync ProjectPyBox reads requirements.txt and installs the packages with pip, with a live log.
  • Recents and searchJump back to the last file you touched, or search projects and files from the home screen.
  • Real files, in shared storageProjects live in a normal folder, so other apps and a computer can reach them.

10 Terminal

A shell, a REPL and IPython.

Open a terminal in any project, or start the Python REPL or IPython from the drawer. An extra-keys row gives you ESC, CTRL, ALT, TAB and the arrows.

  • Terminal, Python REPL, IPythonRun scripts, install packages and use command-line tools.
  • Keeps running in the backgroundA foreground service keeps long scripts alive while you use another app.
Terminal
$ python --version
Python 3.14.8
$ python main.py
Table 'todos' created.
Inserted 4 tasks.

=== All Todos ===
  [✔] 1: Learn SQLite basics
  [✘] 2: Build a PyBox project
  [✘] 3: Write some queries
Completed: 1/4
$ 

12 Reviews

Rated 5.0 on Google Play.

Over a thousand installs, and what people write about it in the store.

1K+downloads on Google Play
5.0 from 23 ratings

Really helpful app I've been using it for practicing Python, and it works smoothly, Simple interface and easy to use. Highly recommend!!!!

AYUSH Rana

Great Python IDE no matter what your field is, I'll recommend this for anyone. 5 star ain't enough, I'll rate them millions of starsss

Idrees Mobolade

Excellent app for CS students.

Ayush Patel

Read all reviews on Google Play

13 Under the hood

Built to run desktop Python on Android.

pybox-exec

CPython 3.14.8 compiled for Android ARM and x86_64, with an exec layer so scripts and shells find the right binaries.

X server and window manager

An X11 server with a window manager embedded in it, drawing through a GPU renderer for OpenGL, with touch and keyboard mapping.

pybox-pypi

A registry of prebuilt Android wheels, so pip finds binary packages for NumPy, SciPy, PyTorch, TensorFlow, OpenCV and more.

pybox-action

A small local socket that lets scripts and servers talk to the app: open the browser, set the clipboard, report that a language server started.

Editor and language servers

A native Android editor with TextMate grammars, Ruff built in, and ty, Jedi or the Python LSP Server over stdio.

14 Privacy

Your code stays on your device.

Python runs locally. Usage analytics, crash reports and push notifications are separate switches in Settings, and you can turn each one off.

Read the privacy policy

Settings: usage analytics, crash reports and push notifications as separate switches

16 Questions

Frequently asked.

What is PyBox?

PyBox is a Python IDE and runtime for Android. It runs real CPython 3.14.8 on the device, with a code editor and language server, Git, JupyterLab, a terminal, the scientific Python stack and an X11 desktop for GUI apps. It works on phones, tablets and Chromebooks.

Does PyBox work offline?

Yes. Python runs locally, so you can write, run and debug code with no connection. You need the internet only to download packages with pip, to set up JupyterLab the first time, or to install an optional language server such as ty or Jedi.

Can PyBox run Tkinter, Kivy and pygame apps?

Yes. PyBox runs a real X11 server with a window manager and draws through the GPU. Tkinter, pygame, Kivy, Turtle, IDLE and Matplotlib windows open in real windows on screen, with touch, keyboard and clipboard mapped to the desktop.

Which Python libraries can I use?

NumPy, pandas, SciPy, Matplotlib, scikit-learn, statsmodels, Numba, PyTorch, TensorFlow and TFLite, ONNX Runtime, NCNN, OpenCV, MediaPipe, llama.cpp, DuckDB, PyArrow, Pillow, Kivy, pygame, PyAudio, sounddevice and many more come as prebuilt Android wheels. Pure-Python packages install from PyPI with pip.

Does PyBox work on Primebook?

Yes. Primebook is an Android laptop, so PyBox installs from Google Play and runs with a keyboard, a trackpad and windows. Tkinter, Kivy and pygame open in windows on its X11 desktop.

Is there an iOS version?

Not yet. PyBox is Android only today, and an iOS port is being explored.

17 Partners

Industry partners.

PyBox is used in classrooms on phones, tablets, laptops and teaching smartboards. These are the institutes that put it in front of students.

GT Computer Academy

Academic partner · Uttarpara, West Bengal

A computer coaching institute that uses PyBox to make Python programming accessible and practical for its students, on phones, tablets and teaching smartboards.

Visit gtca.in

Your organization?

Schools, colleges, institutes and creators

Bring native Python workspaces, offline compilation and hardware access to your students or audience. PyBox runs on phones, tablets, laptops and smartboards.

Become a partner
A JupyterLab notebook with a pandas table running on a classroom smartboard
The PyBox home screen with project folders on a classroom smartboard

Teaching with PyBox?

Tell us about your school, institute or channel and we will reply by email.

Write Python wherever you are.

Download PyBox, open a template and run your first script in under a minute.