Skip to main content

Appimage releases of Python

Project description

AppImage distributions of Python

Ready to use AppImages of Python are available as GitHub releases.

Quickstart

We provide relocatable Python runtimes as AppImages. These runtimes are extracted from manylinux Docker images. The corresponding images are available as GitHub releases. They are labeled according to wheels compatibility tags. Our Python AppImages are updated weekly.

Running Python from these AppImages is as simple as downloading a single file and changing its mode to executable, e.g. as:

wget https://github.com/niess/python-appimage/releases/download/\
python3.9/python3.9.4-cp39-cp39-manylinux1_x86_64.AppImage
chmod +x python3.9.4-cp39-cp39-manylinux1_x86_64.AppImage

./python3.9.4-cp39-cp39-manylinux1_x86_64.AppImage

This should start a Python 3.8 interactive session on almost any Linux provided that fuse is available. Note that on WSL1 since fuse is not supported you will need to extract the AppImage as explained hereafter.

The workflow described previously is enough if you only need vanilla Python with its standard library. However, if you plan to install extra packages we recommend extracting the AppImage, e.g. as:

./python3.9.4-cp39-cp39-manylinux1_x86_64.AppImage --appimage-extract
mv squashfs-root python3.9
rm -f python3.9.4-cp39-cp39-manylinux1_x86_64.AppImage

export PATH="$(pwd)/python3.9/usr/bin:$PATH"

Then, extra packages can be installed to the extracted AppDir using pip. For example upgrading pip can be done as:

pip install --upgrade pip

For applications developers

Python AppImages are built using the python_appimage Python package. You can get it from GitHub or PyPI. Examples of usage can be found by browsing GitHub workflows.

The python_appimage package also allows to build basic Python apps from an existing Python AppImage and a recipe folder. The recipe folder contains the app metadata, a Python requirements file and an entry point script. Examples of recipes can be found on GitHub in the applications folder.

Alternatively, you can also manualy extract one of the Python AppImages as explained above and directly modify the content, e.g. pip install your custom packages. Then, simply rebuild the AppImage using your favourite tool, e.g. appimagetool, linuxdeploy or python-appimage.

Projects using python-appimage

  • grand/python - Contained, portable and modern python for GRAND running from an AppImage
  • xxh - Bring your favorite shell wherever you go through the ssh
  • xonsh - Python-powered, cross-platform, Unix-gazing shell language and command prompt
  • rever - Cross-platform software release tool.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

python_appimage-0.41-py2.py3-none-any.whl (70.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file python_appimage-0.41-py2.py3-none-any.whl.

File metadata

  • Download URL: python_appimage-0.41-py2.py3-none-any.whl
  • Upload date:
  • Size: 70.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for python_appimage-0.41-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 294799118d8155d82e4ffcee7f86712b130041acda8cb8f1b31caf11e2f4b1ac
MD5 44b8cb829b2ccb4736925036ae3c99a1
BLAKE2b-256 1416849ae6355ed8924f33de6b352a96417a692600cb0640510f664bbe44c1b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page