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.13.tar.gz (203.3 kB view details)

Uploaded Source

Built Distributions

pywayland-0.4.13-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (599.1 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pywayland-0.4.13-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (599.1 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pywayland-0.4.13-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (599.1 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pywayland-0.4.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pywayland-0.4.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (672.4 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pywayland-0.4.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (672.5 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pywayland-0.4.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (672.8 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pywayland-0.4.13-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (671.9 kB view details)

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

File details

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

File metadata

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

File hashes

Hashes for pywayland-0.4.13.tar.gz
Algorithm Hash digest
SHA256 c74ef90a772f7e3cdb22c18c8f61301698a0a70972b2a059a682b4f035bd881a
MD5 6f216c00d371205f355a3ef4097db800
BLAKE2b-256 e95dbf9e0405d1dd1592e33ead1cef79dc71caf8fc60b3e69e4d60d3b3440213

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.13-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3eee6c86db4e0f34744479278db29e2d8dc9175f3033bd88dc380806198b7ba6
MD5 42a530d3e24319ece35e5f33215a5569
BLAKE2b-256 a5710613ec7f7c54de736924bc08b2ae5b1d67f65d77a76d219d2eb515117550

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.13-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b705fee2c028ca5b41d021f7fa0f3bf4174c86a6a2290da658457d80ef17bc15
MD5 b7e7e42bfc508e1b2d907311d6fcaca0
BLAKE2b-256 1227a6cc0936f4605cf3e1948ba89ac73c5d086c1179f57effba4ee0e91dcc15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.13-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0543a58899f2525b1def7dc2812a182bd3b71a65e5b2f3b30e5a25d8ec69f455
MD5 2b7d880d5d7310f509b315fd7e580de4
BLAKE2b-256 92a7a65e3c4a757926b5d254d44805580941ee489bae274b6cff666651bfd108

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7afea613fc5c6cda598cc7dc278866fcf2fd0a3166ff2e4c5f00a969cf8891e0
MD5 fcca3bda95117947e66e0ae1dedcf2c1
BLAKE2b-256 3bae81ab8f344443b43e8c81efc175f9e5034fe2609c9827634aa68efc49b37e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a4cb1832273d1ce23a3da2e72a0757f59d267f3b275f37f4c5c775fd6e6f5d1f
MD5 19a3fb25c51a2399bfda2861feac1731
BLAKE2b-256 e4b943185dfdac04ece0c6021770ac1a1b7dd0b037dd3a02bfd834459103cc9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1131bbcb730828feb22e8cb2ab59907070d3c72fbcab732cd12831f570532eec
MD5 f7631a822d65f22d457b531bff2c20b4
BLAKE2b-256 fdc43609f965ff52ca75b9853a24a11538860ce464ebda071e4c64e1e4af2cf8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fb17cfb3b16bef402d38aeb39a575b5a3feda8de3ce51cea4d5403bc322e5291
MD5 08d36dc651720459ff842b4d698a089f
BLAKE2b-256 122e448e90d6ac58f4fe26655ddacad63e5d6969a05515ac64aeee7d2a7323b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.13-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4b97e8f3b955c24d8405655492db4153c41fea18e6ed58db85aab5fe8f9ad8fa
MD5 c8ccf62c6043cb420374061ce2b4123b
BLAKE2b-256 a06914877c67b00e894ecd596ca1bdc4cc75b189332139488fadae37546d59b6

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