Skip to main content
Status Latest version on PyPi Docker Image Version (latest by date) Supported Python versions CI Status Code coverage Status

PythonHere lets you run Python code from a local Jupyter notebook inside a remote Kivy app.

PythonHere has two parts:

  • Here is the remote/server side. It runs a Python environment with a Kivy GUI, for example on Android, Raspberry Pi, or another machine.

  • %there is the local/client side. It is a Jupyter magic command for running code interactively in the remote PythonHere environment.

This makes PythonHere useful as a live Python/Kivy playground, and as a way to inspect or control a Python app running remotely.

Project documentation: https://herethere.me/pythonhere

Project description

Install the Android app

Install PythonHere with Obtainium to receive updates from GitHub Releases.

Ready-to-use PythonHere APKs are available from the GitHub Releases page.

For APK provenance and signing checks, see Android APK verification. For a list of Python packages included in the Android build, see buildozer.spec.

Start a local Jupyter environment with Docker

The Docker image is based on Jupyter Docker Stacks and includes PythonHere with usage examples.

Example command to start the Docker container:

docker run \
       --rm \
       -p 8888:8888 \
       --user root \
       -e CHOWN_EXTRA=/home/jovyan/work \
       -e CHOWN_EXTRA_OPTS='-R' \
       -v "$(pwd)/work":/home/jovyan/work \
       herethere/pythonhere:latest

The command exposes the Jupyter server on host port 8888. Jupyter logs are printed in the terminal and include a URL such as http://127.0.0.1:8888/?token=.... Open this URL in a browser to use the local Jupyter environment.

Files in /home/jovyan/work inside the container are stored in the local work directory.

Run a local Jupyter environment without Docker

Commands to run locally:

pip install pythonhere jupyter
jupyter notebook

Coding agents

PythonHere includes agent skills for working with the live app through the there command-line interface. See Coding agent skills for skill setup and practical examples.

Build Android app

To build with Buildozer, run in the source directory:

buildozer android debug

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pythonhere-0.3.0.tar.gz (110.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pythonhere-0.3.0-py3-none-any.whl (116.5 kB view details)

Uploaded Python 3

File details

Details for the file pythonhere-0.3.0.tar.gz.

File metadata

  • Download URL: pythonhere-0.3.0.tar.gz
  • Upload date:
  • Size: 110.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.20

File hashes

Hashes for pythonhere-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7f057987ca978866272988700b1cb27d637ad7865425be51cada66f7af404de8
MD5 0ab8de902809094ffc7ba9a81c34be40
BLAKE2b-256 ee087ba6a3ccfc3bf395908e708f36d3b12daeb785a93b45de792b79688ea707

See more details on using hashes here.

File details

Details for the file pythonhere-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pythonhere-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 116.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.20

File hashes

Hashes for pythonhere-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd390ca4686684248fdc57cb64c3a035cec9c006646049d115ecb3c8e754e287
MD5 50e19834bc28619b75a19ef2ae27df52
BLAKE2b-256 5eb4d2abf3928835c7ecd5125e86d98f174aca32a8a9eb8ea7d924b0003d0d0f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.0

2 files

0.3.1

2 files

This release

0.3.0 This release

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.5.2

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.4

2 files

0.0.2

2 files

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page