pythonpython-3.xpipxlib

What is the difference between python-xlib, python3-xlib, pyxlib and xlib in Python3?


I individually installed (and posterior uninstalled):

via pip (un)install and could execute

from Xlib import X, display, Xutil
from Xlib.ext import randr
d = display.Display()

with all of them with Python 3.8.10. – What is the difference between them? Pip definitively downloads and installs different packages with different sizes.


Solution

  • Use only

    The other three

    are (seemingly) from two individuals (one holds pyxlib and xlib the other holds python3-xlib) with either broken homepage links or pointing to python-xlib. Nothing in python-xlib points to pyxlib or python3-xlib.

    In the best case these are just outdated snapshots of python-xlib with questionable changes turned into packages.