Flume optionally embeds Python 3.10+ via PyO3. Python scripting requires building with --features python.
Full Import Access
Unlike Lua, Python scripts have full import access — you can use any installed pip package. This is intentional: scripts are trusted user-installed extensions, just like in weechat or irssi.