An implementation of the Wayland protocol built from the ground up with no runtime dependencies - no libwayland, no C libraries, just Python.
Project description
python-wayland
An implementation of the Wayland protocol from scratch, with no external dependencies, just Python. Aimed at building clients rather than compositors.
Features
- Includes support for all standard Wayland protocols and extensions from Hyprland and wlroots.
- No external dependencies, no other Wayland libraries are required. This is not a wrapper for libwayland.
- Maintains the original Wayland naming conventions to ensure Wayland API documentation remains relevant and easy to use.
- Supports updating protocol definitions from either the local system or the latest official protocol repositories. Latest versions of all protocol definitions are built-in.
- Supports code completion, type hinting and documentation for Wayland objects. (tested in vscode and helix)
Documentation
For documentation on how to use python-wayland
see the online documentation
Thanks
Thanks to Philippe Gaultier, whose article Wayland From Scratch inspired this project.
Thanks also to Drew DeVault for his freely available Wayland book. This project would not have been developed if not for Drew's book.
Thanks to the mkdocstrings
project, not only for the mkdocstrings
plugin to MkDocs but also because the configuration of the python-wayland
documentation is almost entirely copied from the excellent work done by the mkdocstrings
project in their own documentation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python_wayland-1.0.0.tar.gz
.
File metadata
- Download URL: python_wayland-1.0.0.tar.gz
- Upload date:
- Size: 637.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
25faf9f24bbd142894762e136c2d72cd478e746651ad0eebe9a6a6af5794ebe0
|
|
MD5 |
42d5b26041b68d1cc4dce93f3042e529
|
|
BLAKE2b-256 |
7477ece1b4bf9720fd3f7f2d2ac5b514a9797246ae84bcf0761970052b173b20
|
File details
Details for the file python_wayland-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: python_wayland-1.0.0-py3-none-any.whl
- Upload date:
- Size: 262.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
23b4d4b713e72d4b69eaff114f536c171c725561ac10de0ee285be19b60be541
|
|
MD5 |
e250ce8e4a95cb7df83bafc5a3108048
|
|
BLAKE2b-256 |
7722160e4f558f0b96333d23aa9c86f5c4e3fbd11a25a7cb11899514cfa700ee
|