Monthly Archives: December 2016

Pyonic interpreter 1.1 released: Python 2/3 interpereter for Android, now with autocompletion

I’ve just released Pyonic interpreter 1.1. As usual, you can get it
from Google Play for Python 2.7
or Python 3.5,
or download the APKs directly from Github
(where the source code is also available).

Pyonic interpreter showing docstring and autocompletion options

The major feature in this release is autocompletion support via the
excellent jedi library, as
is used by many editors and IDEs. Pyonic now automatically gives
a list of autocompletion options as you write Python code, any of
which can be selected by tapping it. There’s also a new help button,
which when pressed shows the call signature and docstring of the
Python object reference currently under the cursor.

As a further bonus, I’ve reduced the size of the Python 3 APK by a
further ~25%, it’s now around 11MB. This is probably still a little
larger than it needs to be, but is much better than the massive 19MB
version that I first published! I’ll continue to try to improve this
with tweaks in python-for-android’s Python 3 build process.

For the next release, I intend to go back to improving Pyonic’s
process handling, and from there to add support for pip installation
of new modules and file editing. The latter of these will also benefit
from the new autocompletion integration.

Continue reading

Posted in android, Kivy, pyonic, Python | Comments Off on Pyonic interpreter 1.1 released: Python 2/3 interpereter for Android, now with autocompletion

Pyonic interpreter 1.0 released

I’ve just released Pyonic interpreter 1.0. You can get it from Google
Play for Python 2.7
or Python 3.5,
or download the APKs directly from Github
(update: changed to v1.0.1 following a small bugfix).

The primary change in this release is that both APKs are about 25%
smaller than before, thanks to optimisations in the Python
distributions that I’ve added to python-for-android – in particular,
making sure Python files are shipped as .pyo files (which may also
speed things up a bit) and stripping unneeded symbols from object
files with Python 3. Both of these were things python-for-android has
been missing for a while, so it’s nice to get them working and
immediately see the benefits.

I’ve also been working on some backend improvements in Pyonic and
python-for-android in order to support multiple interpreter processes.
This will be convenient for using pip and running Python code from
files, but isn’t ready yet and so hasn’t made it into this release.

Continue reading

Posted in android, Kivy, pyonic, Python | Comments Off on Pyonic interpreter 1.0 released