Skip to content

About

Unraid plugin that turns Linux programs, AppImages and scripts into terminal commands that survive every reboot, with updates and custom commands.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Plugin Icon Python Toolkit Plugin for Unraid

If you like my work feel free to support me on:
PayPal Ko-fi


Install several Python 3 versions side by side on your Unraid server, each with its own pip packages that stay installed across every reboot. Internet is only needed to download Python and your packages once.

Python Toolkit is a replacement for Python 3 for UNRAID by desertwitch, which reached its end of support on November 30, 2026. Unlike that plugin, Python Toolkit does not bundle Python. It downloads every version for you from python-build-standalone (ready made Python builds by Astral), so a new Python release is ready to install the day it comes out, no plugin update needed.

Each Python version you set up is an instance: one Python with its own packages, commands and scripts. Pick a Python version, add the packages you need in a list, and python3, pip and the commands of your packages, e.g. yt-dlp, work in every terminal and in your scripts. Unraid forgets anything you install by hand at the next reboot, Python Toolkit puts your packages back every time.

The plugin can also start Python programs with the array and end them cleanly before a shutdown, and keep Python and your packages up to date with a click or on a schedule.

The instance list of Python Toolkit with an opened instance and its package list


Contents


Screenshots

Help: a built in manual with search The Help dialog
New instance: choose a Python version, or copy an existing instance with its packages, settings and scripts to a newer one The form of a new instance with Migrate From
Package list: fixed versions, notes, dependencies, and packages that wait for a build of a new Python version The package list of an instance with two waiting packages
Settings of an instance: commands, default instance and automatic updates The settings tab of an instance
Start and stop scripts: an editor for the six scripts of every instance The scripts tab of an instance with the editor The script selection with the six scripts of an instance
Python Versions: downloaded versions and a newer build ready to install The Python Versions tab
Settings: package indexes, appearance and notifications The Settings tab
Processes: every running Python program, with Restart, Stop and Kill The Processes tab
Logs: one log per instance and per script The Logs tab with the Python Versions log and Log Actions The log selection of the Logs tab
Terminal: the commands of two instances and of their packages Version output of python3, pip and package commands in a terminal

Installation

You can either install it from the Community Applications in your Unraid Server or manually.

  1. Open Plugins > Install Plugin, paste this URL and click Install:
    https://raw.githubusercontent.com/Kurotaku-sama/unraid.python.toolkit/main/python.toolkit.plg
    

Getting Started

  1. Open Settings > Python Toolkit, click Add Instance, keep the suggested values and click Create. A Python version that is not on the boot drive yet is downloaded automatically.
  2. Click the name of the instance to open it, type a package like requests into the last line of its package list and click Save & Apply and confirm.
  3. Type python3 --version in a terminal, it shows the Python of the instance.

The first instance is the default one and gets python3, pip and the other general names. If another Python plugin is still installed, it keeps these names, see Moving from Python 3 for UNRAID. Every instance also has its own commands, e.g. python3.14 and pip3.14.

The Help/Manual button explains every feature in great detail. It is very long, so learning by doing is usually quicker: the Screenshots above show how instances and their packages can be set up and are a good starting point. Whenever something is unclear, click the circled question mark next to it, it jumps straight to the matching part of the help.


Moving from Python 3 for UNRAID

Only if you used that plugin before. Packages no longer go into autoexec.sh, they go on the package list of an instance, which installs and caches them.

  1. Add an instance with the Python version you used before (or a newer one).
  2. Put the packages your old autoexec.sh installed with pip on its package list and click Save & Apply.
  3. Copy the rest of your autoexec.sh (everything except the pip lines) into 1_instance_started.sh on the Scripts tab of the instance (or 2_array_started.sh when it needs the array).
  4. Uninstall Python 3 for UNRAID and reboot. Python Toolkit then takes over python3, pip3 and the other general names.

Until the old plugin is uninstalled and the server rebooted, pip and python3 still belong to it. A package installed with pip in a terminal then goes into the old Python and is gone after the reboot. Until then use the package list or the pip command of the instance, e.g. pip3.15.


Features

  • Any Python Version: From 3.8 up to the newest release, no compiler and no plugin update needed
  • Several Instances: Python versions side by side, each with its own packages
  • Package Manager: Add packages in a list, with fixed versions and notes
  • Survives Reboots: Python and your packages are stored on the boot drive and come back after every reboot
  • Works Offline: Once set up, Python and every package come from the boot drive, the server needs no internet anymore, not even after a reboot (only updates do)
  • pip in a Terminal: pip install works as usual and the package stays after a reboot
  • Updates: Python and packages with one click or on a schedule
  • Start and Stop Scripts: Start Python programs with the array and stop them cleanly
  • Processes: See every running Python program and stop or restart it
  • And much more

Support

For support or bug reports, check out the Unraid forum thread, open an issue on GitHub or contact me via Discord: Kurotaku. Please describe the exact steps to reproduce the problem, add your Unraid version and, if possible, logs or screenshots of the error.


Notes

  • Requires Unraid 6.9 or newer, x86_64. The design is built on the styles of Unraid 7.2+, on older versions every feature works, but some colors and borders may be missing.
  • Your instances and packages are stored in /boot/config/plugins/python.toolkit and are part of the flash backup. Each Python version takes about 35 MB there, plus the cached packages of every instance.
  • Some packages need a compiler, which Unraid does not have. The plugin tells you which ones and installs all others.
  • Uninstalling runs 6_instance_stopping.sh of every running instance and ends every program still running with its Python, then removes Python from RAM and every command. Your data on the boot drive stays, installing the plugin again brings everything back.
  • Why so focused on offline? Honestly, because I am extremely paranoid and if the world ever ends, I still want a server that keeps running without the internet.

Disclaimer

This plugin is provided as-is without warranty. The developer cannot be held responsible for any data loss or system instability. Always maintain backups of important scripts and configurations.


Credits

A big thank you to desertwitch, who maintained Python 3 for UNRAID for years and made Python on Unraid easy for so many people. Python Toolkit was written from scratch, but that plugin was the inspiration for it.

Python itself comes from the python-build-standalone project. "Python" and the Python logo are trademarks of the Python Software Foundation, this plugin is a community project and not affiliated with the PSF.


Libraries Used

  • CodeMirror Used to provide a syntax-highlighted editor for the start and stop scripts.
  • Sortable.js Used to provide drag and drop for the order of the package list.
  • SweetAlert2 Used for every dialog and notification, styled to match the Unraid theme.

About

Unraid plugin that turns Linux programs, AppImages and scripts into terminal commands that survive every reboot, with updates and custom commands.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Sponsor this project

Contributors

Languages