Skip to main content

Python bindings for the libwayland library written in pure Python

Project description

Built against Wayland 1.21.0

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 sounce, 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.15.tar.gz (211.5 kB view details)

Uploaded Source

Built Distributions

pywayland-0.4.15-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (627.1 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pywayland-0.4.15-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (627.1 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pywayland-0.4.15-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (627.1 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pywayland-0.4.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (701.0 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pywayland-0.4.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (701.0 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pywayland-0.4.15-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (701.0 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pywayland-0.4.15-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (701.4 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pywayland-0.4.15-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (700.5 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

File details

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

File metadata

  • Download URL: pywayland-0.4.15.tar.gz
  • Upload date:
  • Size: 211.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pywayland-0.4.15.tar.gz
Algorithm Hash digest
SHA256 bf3ed28ddf0a4fb52038123900de6ae824bb8e5f962fcef0f757209b46d7446c
MD5 535fd1f81d7e1acb56824b0ee83fd0da
BLAKE2b-256 f839a6193ccdd53bc732ef526810ba07241122b2b89e4d1ec4cb120dd3ca5dfc

See more details on using hashes here.

File details

Details for the file pywayland-0.4.15-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.15-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e51a59ad1bb9b535c9f9a58fe2b407d9a4da243c0c31ae8d494f178c2633179f
MD5 a8ae5028fbcf6d474619cc92c7a54c51
BLAKE2b-256 076567d790b9e0173771c648f3c7df2791ff71d1ed8361377676bcd241520f50

See more details on using hashes here.

File details

Details for the file pywayland-0.4.15-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.15-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2641fb9f7f0b49ea5ae26bc3b1e838cce608ba6e44af69ee78b484b2ca215e47
MD5 11bffabf0c1150c1fa3898bcf571b912
BLAKE2b-256 eb849f3c42f9d957b8db1a13af42da94890b55773989e15f41e4dea240e8d858

See more details on using hashes here.

File details

Details for the file pywayland-0.4.15-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.15-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0076accf6a934de08501e69eb4fe62f1398918475724f772c7dbc6168a697dc1
MD5 f90956138206066fef6490b2569c6312
BLAKE2b-256 e4a37ddec08b809c831989f0f0d6007c6c9cb66eb5bc865aa9367dcf1967364e

See more details on using hashes here.

File details

Details for the file pywayland-0.4.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 84a33e9498aa497fa83250bce77e9df6fb91b1ee43ae90a5ae47cf90b6e38d90
MD5 076545a3770f666502c59738422fbf20
BLAKE2b-256 831b27115d1f3d337ca114e7384a563b920596c3a0ef64bb850616273ea69be0

See more details on using hashes here.

File details

Details for the file pywayland-0.4.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b8ee4b07398f515146e1727ab9a489a5afdd7cc71c18162bf898365b688c8df9
MD5 5c54497c79948a69fba3f9f6854676e2
BLAKE2b-256 49a6c72e75da2992b49b4154f5a43a213a77ab9ea65717c78ab51fbc94749cfd

See more details on using hashes here.

File details

Details for the file pywayland-0.4.15-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.15-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c8a7b5494206bf5352d65df6f6aee7f8cd15a2ded5f6a11020e5b40d009b0a4d
MD5 51fd98eb5380a2a47c431f4251bb535c
BLAKE2b-256 ac8d23958db9d03481132a189b2bf6df24f6766c177d8e859f70da53e1785f1b

See more details on using hashes here.

File details

Details for the file pywayland-0.4.15-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.15-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 142b480fe2c12136c71c373f03b98bdcc058cb02db6032a4b1911a4dd335611d
MD5 d75d6c82bdfe005c6b7c9a5a822a1b2c
BLAKE2b-256 0a86090af4f5409420c5c34efbad3099d804feee6e40395f8556066c735373dd

See more details on using hashes here.

File details

Details for the file pywayland-0.4.15-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pywayland-0.4.15-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0a408fb61d47028111914d19644a5bc466b334a21cb33908d671c2da2f2f4faf
MD5 830971cad39e73a63b1dd726bb334e8f
BLAKE2b-256 bb437da33e96d8bb2f12081f2cdfb7c99eeb06150522f95808fd7856023670a0

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