Skip to main content

Python bindings for the libwayland library written in pure Python

Project description

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. PyWayland runs and is tested against Python 3.6+, including sufficient versions of PyPy3 (see Running Tests).

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

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.

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

pywayland-0.4.17.tar.gz (219.1 kB view details)

Uploaded Source

Built Distributions

pywayland-0.4.17-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl (675.2 kB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

pywayland-0.4.17-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (675.2 kB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

pywayland-0.4.17-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl (675.2 kB view details)

Uploaded PyPy manylinux: glibc 2.28+ x86-64

pywayland-0.4.17-cp312-cp312-manylinux_2_28_x86_64.whl (754.5 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.28+ x86-64

pywayland-0.4.17-cp311-cp311-manylinux_2_28_x86_64.whl (753.2 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

pywayland-0.4.17-cp310-cp310-manylinux_2_28_x86_64.whl (753.3 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

pywayland-0.4.17-cp39-cp39-manylinux_2_28_x86_64.whl (753.2 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

pywayland-0.4.17-cp38-cp38-manylinux_2_28_x86_64.whl (753.5 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.28+ x86-64

File details

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

File metadata

  • Download URL: pywayland-0.4.17.tar.gz
  • Upload date:
  • Size: 219.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pywayland-0.4.17.tar.gz
Algorithm Hash digest
SHA256 f7fd1902638c2f7a15ac07f31a3ef6895d3c160ca2601481ca82b2c61a23c657
MD5 adc09cd8c30e22d7d5312a2bafb022f0
BLAKE2b-256 0e66dbd3fbb292d95eed0033271f6c37130e4aaa081c44f20f5248b14dae9918

See more details on using hashes here.

File details

Details for the file pywayland-0.4.17-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.17-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 391a72afb60b886ceb9b4b690c0d215969c374133fc2594b2292e5fadf070f71
MD5 82b322a4881e163dc580b8d7bd34e1ad
BLAKE2b-256 74501de582c1062fd9fc7d0f63eb2c5f2615d3857543c433ae72034419824bde

See more details on using hashes here.

File details

Details for the file pywayland-0.4.17-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.17-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7b23abe03f57a040c08307d2c5c338b3cd38e168d8087f2410bf3fa713cbaf22
MD5 2a56a640df9b2e1b2d8174aa25cfda7b
BLAKE2b-256 7a24284568a99f1e8db69fa3d26e953dc8dac99538d96aa8d5f1430e59622054

See more details on using hashes here.

File details

Details for the file pywayland-0.4.17-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.17-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0d7e593c21679aa398ae870bf9fdc39fb266b57b6946193753e35329283283ce
MD5 0f680e58740077646930b9cfa0d06555
BLAKE2b-256 3a8f0f41d71055689d1fb8f91fd1fe7e92004ca9e384e2cfcd8d9fec20af359a

See more details on using hashes here.

File details

Details for the file pywayland-0.4.17-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.17-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2074f9ba0cbfd4c0796852d2c355c68e117d4149eba38cb66b3093b6c2840231
MD5 6035b723083180398b2a5ac2db420014
BLAKE2b-256 3cd3218eafb9894963a8c5302557a6e0f65dc051cfdbc9bdc3b6f1fa16328512

See more details on using hashes here.

File details

Details for the file pywayland-0.4.17-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.17-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9272d3a37d2da328d602e4a2125ce89864b59ec89c6423c660f7dd565ad126c1
MD5 70597fecd1cb466b2daf5ec7db8af955
BLAKE2b-256 efa480117940e7e67195a68d8a798ce7398a4b95d67f2dbab654ae336933d20a

See more details on using hashes here.

File details

Details for the file pywayland-0.4.17-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.17-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2ac61b0f23aeaed47624aba5fd5de5da21e7cbbe0c9b464a649541f2695634e8
MD5 dfdb07c12ca26f53dca3196e7416fd93
BLAKE2b-256 cd6b16c9f0313fab53f5726d6ef8c7f0eaa05345c1d554483be80b4d3ee8ddf3

See more details on using hashes here.

File details

Details for the file pywayland-0.4.17-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.17-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 188f599d6cd6608e8398755beb019b231d6bc1093a3be75783610c4153c241fe
MD5 c8f982b2e32680dbff3fe3c49c8da0a1
BLAKE2b-256 44d7e88105164ea36f40924a694c6b24e7b3d48c1c1752f29e982de4fa6a1b4c

See more details on using hashes here.

File details

Details for the file pywayland-0.4.17-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.17-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 93d552e29161bc021e2c007562ea0430184df0431d31b054f703359981285fbe
MD5 086e3d98bcf58a40fbca969b2ad38070
BLAKE2b-256 fe6ef7a6c5b58b6b3e8f8ead9cd9b44bad9d47d33d2df412402a59c415fadb64

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page