NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2533 most downloaded on PyPI
Python X Library
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 2 months to 1.3 years
Nearly every release is documented
notes for 19 of 19 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
19 releases · first in 2016
Removed unused imports (thanks @Avasam ).
unix_connect.get_socket (thanks @i2y).bool over Literal[0, 1, None] (thanks @Avasam).One column per quarter.
Use archived link for X documentation resource (thanks @yaxollum ).
pack_value for class Object (thanks @allfro).add_extension_error method to extension_add_error (thanks @mattalexx).XInput: add event methods (thanks @dd4e ).
XResource: first implementation (thanks @alebastr ).
Drawable & XInput: Avoid using array.array.tostring() which is removed in Python 3.9 (thanks @t-wissmann).
DPMS: Display Power Management Signaling (by @thiagokokada )
fix TypeError in socket.error exception handling for Python 3.x (by @t-wissmann )
support legacy X servers like RealVNC's one (by @Gerardwx )
fix increasing memory usage on display instantiation
fix protocol handling: correctly support explicit Unix connections and fix support fox macOS
xfixes examplefix strings decoding: use Latin-1
fix Display.change_pointer_control implementation
Display.change_pointer_control implementationDrawable.put_pil_image implementationfix use under Windows Subsystem for Linux: when DISPLAY does not specify a protocol, and the implicit Unix socket connection fails, fallback to TCP (m
fix Python 3 warnings about array.tostring() (deprecated)
Window.set_wm_transient_forDrawable.put_image / Drawable.get_imagearray.tostring() (deprecated)Improve response processing performance: reduce the number of socket.recv calls needed to receive a full response.
don't throw an exception if $XAUTHFILE / ~/.Xauthority is missing
$XAUTHFILE / ~/.Xauthority is missing$DISPLAY handling: support optional protocol prefix, and correctly handle unix:0.0 as :0.0fix Python 3 buffer abstraction
fix Xauth handling when using Python 2 and DISPLAY contains a remote IP
String16 request field handling when using Python 3wm_name, wm_icon_name, wm_class, and
wm_client_machine still return/expect Unicode strings)Core:
get_full_text_property
and change_text_property; with automatic conversion to/from Unicode
when the property type encoding is supported (STRING and UTF8_STRING)Composite extension:
GetOverlayWindow requestThe project is now licensed under the GNU Lesser General Public License v2.1 or later (see the LICENSE file for details).
The project is now licensed under the GNU Lesser General Public License v2.1 or later (see the LICENSE file for details).
Support for Python versions older than 2.7 has been dropped. Support for Python 3 (3.3, 3.4 and 3.5) has been added. Note that Python-Xlib now depends on the six package (>=1.10) for combined Python 2 / 3 support.
With the change of license, and no way to contact the original author of the SHAPE extension, the code had to be rewritten from scratch. This resulted in a few minor API changes (see examples/shapewin.py).
Partial support for the SECURITY. XInput, and XFIXES extensions has been added.
In Python 2.2 FCNTL.FD_CLOEXEC has disappeared and FCNTL on the whole is deprecated, so that had to be dealt with to make the Xlib work with that vers…
Jeffrey Boser contributed a SHAPE extension module, allowing Python Xlib programs to use shaped windows. Take a look at examples/shapewin.py for ideas on how to use it. For more information on shaped windows, see http://ftp.x.org/pub/R6.6/xc/doc/hardcopy/Xext/shape.PS.gz
In Python 2.2 FCNTL.FD_CLOEXEC has disappeared and FCNTL on the whole
is deprecated, so that had to be dealt with to make the Xlib work with
that version.
Your coding agent can read these notes before it upgrades. Set up the MCP server →