You are not logged in.

#1 2005-07-26 18:59:41

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

python-xlib

http://python-xlib.sourceforge.net/

last release 2002-03-28!
maybe someone is interested of taking over this project, it's written purely in python,
i can think of atleast one guy in here that are interested in x11 and python,

a funny thing is that i looked at the dowmnloadstats here: http://sourceforge.net/project/stats/?g … ython-xlib
it was put up on aur yesterday(25), big_smile


arch + gentoo + initng + python = enlisy

Offline

#2 2005-07-26 19:02:40

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: python-xlib

xerxes2 wrote:

i can think of atleast one guy in here that are interested in x11 and python,

I don't like the idea of you thinking of me... But I'm not taking on the project, I'll stick with 3D. 8-)

I'd like to see this improved though. It would make python window managers more prevalent. Whimsy uses it (http://incise.org/index.cgi/Whimsy). Not that that guy ever finishes what he starts...

Dusty

Offline

#3 2005-07-26 19:11:08

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: python-xlib

yeah, I noticed that python xlib wasn't being messed with anymore... no idea why... but it works.

Oddly enough, you can modify windows from an interpreter... as long as you can get the window id (it's numerical) you can do w=window(1234) and then proceed to move windows around your desktop

take a look at PLWM ( http://plwm.sourceforge.net/ ) and this guy's stuff:
http://www.larsen-b.com/Article/184.html

Offline

#4 2005-07-26 20:13:27

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: python-xlib

hehehe, i thought more of phrakture than dusty but anyone will do, big_smile

maybe it doesn't need anymore development, x11r6 has been here since the beginning of time,
well, i threw it in community anyway, tongue it seems like pypanel depends on it,


arch + gentoo + initng + python = enlisy

Offline

#5 2005-07-26 20:16:51

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: python-xlib

it seems, though, that alot of python X toolkits are wrappers around C toolkits... pyxfce uses Xlib through the xfce libraries.

http://www.larsen-b.com/Article/208.html

That's a fun article too

Offline

#6 2005-07-26 20:23:25

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: python-xlib

yeah, i thought that python-xlib was a wrapper too but it seems to be written from scratch using sockets,


arch + gentoo + initng + python = enlisy

Offline

#7 2005-07-26 20:29:45

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: python-xlib

xerxes2 wrote:

yeah, i thought that python-xlib was a wrapper too but it seems to be written from scratch using sockets,

yeah, oddly enough it's pure python - it implements the whole X protocol and all that jazz (which I'm unfamiliar with)... something's gotta be said for that.

I'd be interested to know performance statistics of python-xlib and some wrapper lib like pyxfce.

If you look through the source, it's *really* straight-forward, except for the stuff that unbundles binary structs passed across a socket... *shudder*, but I guess that's not even that bad considering the X protocol is really stable.

Offline

#8 2005-07-27 01:22:46

nesta
Member
From: Albuquerque
Registered: 2003-11-21
Posts: 30
Website

Re: python-xlib

Maybe we can get the pyPanel guy to take it over?? Or another author of a program that heavily utilizes it wink

Brice

Offline

Board footer

Powered by FluxBB