summaryrefslogblamecommitdiffstats
path: root/x11-libs/python-xlib/DETAILS
blob: d56f1d51780ed8fb35d1a738b418039ea7bd4ec1 (plain) (tree)
1
2
3
4
5
6
7
8
9
                            
                     

                                                 
                                                                                 
                                                                                                                                                        
                    

                                                   
                                  

                                                                                                                  



                                                                             
 



                                                                              
 
                                                                          
 






                                                                             
   
           SPELL=python-xlib
         VERSION=0.14
          SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
   SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/python-xlib/$SOURCE
     SOURCE_HASH=sha512:37d237a9924284c9917a4a7ede2f6cc3f57baec73db229f45b296e923bc69493322cf288b8638a8594afa68e7359994b12a1bfad2fb9421e2a42084622e064ae
      LICENSE[0]=GPL
        WEB_SITE=http://python-xlib.sourceforge.net
         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