Skip to content

sde1000/python-wayland

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pure Python 3 Wayland protocol implementation

Very much a work in progress; do not use, the API is almost certainly going to change, there's no test suite and no documentation!

Doesn't wrap libwayland, instead reads Wayland protocol description XML files and speaks the Wayland wire protocol directly.

Requires python 3, because python 2 doesn't have socket.sendmsg() and socket.recvmsg() which are required for fd passing.

See also

https://github.com/flacjacket/pywayland - I am not aiming for API compatibility with this because I expect the libraries to be used in different circumstances. Use this one if you want to use the Wayland protocol with as few external dependencies as possible, and if you want to keep control of your event loop: it should integrate well with async libraries like https://twistedmatrix.com/

pywayland is a more appropriate choice if you're integrating with other libraries that expect to see a C struct wl_display *

About

Pure Python 3 Wayland protocol implementation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages