Skip to main content

Build Status Build Coverage Documentation Status

PyWayland provides a wrapper to the libwayland library using the CFFI library to provide access to the Wayland library calls and written in pure Python.

Below is outlined some of the basics of PyWayland and how to get up and running. For more help, see the full documentation.

Current Release

PyWayland is still in a developmental state. An current version is available on the cheese shop. Current development versions can be obtained from the git repository, feedback, as well as any bug reports or fixes are highly appreciated.

Dependencies

Installing PyWayland requires the Wayland library and the headers to be installed.

PyWayland requires the cffi package to be installed. See the installation guide for more information on installing required dependencies

Installing

Installation can be done through pip to pull the most recently tagged release. To see instructions on running from source, see the relevant documentation on installing from source.

Building Wayland protocols

In order to run from source, you will need to generate the interfaces to the Wayland protocol objects as defined in the wayland.xml file. By default, this file will be located in /usr/share/wayland/wayland.xml. In this case, the protocol files can be generated by the scanner module:

$ python -m pywayland.scanner

If pywayland._ffi is not built yet, run the scanner as a top-level module from the ./pywayland directory instead:

$ cd pywayland
$ python -m scanner

See the help for this module to use non-default locations for the input and output of the scanner.

The scanner is installed as a script pywayland-scanner when PyWayland is installed. See pywayland-scanner -h for more information.

Running Tests

PyWayland implements a (currently limited) test-suite in ./tests. The tests can be run through pytest. Be sure you build the protocol files (see Building Wayland protocols) before running the tests.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pywayland-0.4.19.tar.gz (280.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pywayland-0.4.19-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl (631.5 kB view details)

Uploaded PyPymanylinux: glibc 2.34+ x86-64

pywayland-0.4.19-cp314-cp314-manylinux_2_34_x86_64.whl (705.1 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

pywayland-0.4.19-cp313-cp313-manylinux_2_34_x86_64.whl (705.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

pywayland-0.4.19-cp312-cp312-manylinux_2_34_x86_64.whl (705.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

pywayland-0.4.19-cp311-cp311-manylinux_2_34_x86_64.whl (704.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

pywayland-0.4.19-cp310-cp310-manylinux_2_34_x86_64.whl (704.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

File details

Details for the file pywayland-0.4.19.tar.gz.

File metadata

  • Download URL: pywayland-0.4.19.tar.gz
  • Upload date:
  • Size: 280.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pywayland-0.4.19.tar.gz
Algorithm Hash digest
SHA256 9d8478f5b0df3540333ccf85a55fe8b34150b2c28c685805de9ffa855898549e
MD5 84be0352f88b25314384ff80dd92eb73
BLAKE2b-256 ef4381da8524a9e81bee3cd4d8bd1752de34031060e8011d2d3d1e9950840d6f

See more details on using hashes here.

File details

Details for the file pywayland-0.4.19-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.19-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 46ece208f847900ff33b753eaaeaa0ff350ef0d6880b14b6b89d2d71c3b2dade
MD5 79b4fca706bddc56d4be9f3d1d15652d
BLAKE2b-256 76a9a740a45412a3486bda29de37ed8950de884bc38ee5b626ee4006f0c95561

See more details on using hashes here.

File details

Details for the file pywayland-0.4.19-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.19-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 51bba0917ba7815a4db75a3ecf7efe4683d4d78e861d59f83f7efade719faedb
MD5 856165f02622ab28e6951f262371c10e
BLAKE2b-256 27e810f36b4db54bcccfc906c2939333e9b6482ca953f5a36a61fb5c7ed8518e

See more details on using hashes here.

File details

Details for the file pywayland-0.4.19-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.19-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 267e24092fefad19b0d8c4ca79ed11f9e6ab8074a4953d6dbbba1b180ec36363
MD5 8182638956d69604612cc6fe51531a80
BLAKE2b-256 a322dc49766cb01d174d5f1f55620385436bd8032547d6196aef22c8fec991e2

See more details on using hashes here.

File details

Details for the file pywayland-0.4.19-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.19-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 1cde2f1f133f5f8d6974014969bad64789c5d2b129acbe212a9425805c65fe2b
MD5 1534818f634c1daa8cdd13817192eb8e
BLAKE2b-256 ab4620d628982baab0f57df815e2ba6b34b4f08a8111edd65eeb831dd6bcd5c3

See more details on using hashes here.

File details

Details for the file pywayland-0.4.19-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.19-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f60860fd181d2420a6cb931cb91db49592691f7f6834eb4ce956de11abe2321a
MD5 809a72516fcefa4f5377f3c0278d0f88
BLAKE2b-256 d4fedf2e2249cddb74b6e0815f5535afd3fbfc028be597dc60de526879b98611

See more details on using hashes here.

File details

Details for the file pywayland-0.4.19-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.19-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 482ae6c2a664560716a1f72fc53ce58a1f83e6340eb59c1ebfc8b7c9c2f3d06f
MD5 63fac8aa55e4e6f8b270fe53d6b27875
BLAKE2b-256 7df879e147b8c9ca2e2c01f8f192d527190cf27b6b264c6825ee9c6655b8a45a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.19 This release

7 files

0.4.18

8 files

0.4.17

9 files

0.4.16

7 files

0.4.15

9 files

0.4.14

9 files

0.4.13

9 files

0.4.12

6 files

0.4.11

6 files

0.4.10

6 files

0.4.9

6 files

0.4.8

6 files

0.4.7

6 files

0.4.6

5 files

0.4.5

5 files

0.4.4

5 files

0.4.3

5 files

0.4.2

5 files

0.4.1

1 file

0.4.0

1 file

0.3.0

1 file

0.2.1

1 file

0.2.0

1 file

0.1.1

1 file

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page