summaryrefslogtreecommitdiffstats
path: root/x11-libs/python-xlib/DETAILS
blob: 8bdb481fd71b36d64cca063c893f808b183b0833 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
           SPELL=python-xlib
         VERSION=0.30
          SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
   SOURCE_URL[0]=https://github.com/python-xlib/python-xlib/archive/${VERSION}.tar.gz
     SOURCE_HASH=sha512:0ff709fc67eda3dbe0b104d3c459e5939df6f69d5661591cc3b1c9ff742ff86fda8f14ea24dcf433d29945085e0675326749c0e80b55abed59bd0fdbad100469
      LICENSE[0]=GPL
	WEB_SITE=https://github.com/python-xlib/python-xlib
         ENTERED=20040430
        KEYWORDS="python x11 libs"
           SHORT='The Python X Library is intended to be a fully functional X client library for Python Programs.'
cat << EOF
The Python X Library is intended to be a fully functional X client library
for Python programs. It is written entirely in Python, in contrast to earlier
X libraries for Python (the ancient X extension and the newer plxlib) which
were interfaces to the C Xlib.

This is possible to do since X client programs communicate with the X server
via the X protocol. The communication takes place over TCP/IP, Unix sockets,
DECnet or any other suitable streaming network protocol. The C Xlib is merely
an interface to this protocol, providing functions suited for a C environment.

There are three advantages of choosing to implement a pure Python library:

*Integration: The library can make use of the wonderful object system in
Python, providing an easy-to-use class hierarchy.
* Portability: The library will be usable on (almost) any computer which
have Python installed. A C interface could be problematic to port to non-Unix
systems, such as MS Windows or OpenVMS.
* Maintainability: It is much easier to develop and debug native Python
modules than modules written in C.
EOF