Skip to main content

Python bindings for the libwayland library written in pure Python

Project description

Built against Wayland 1.20.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.10.tar.gz (202.7 kB view details)

Uploaded Source

Built Distributions

pywayland-0.4.10-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.1 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pywayland-0.4.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (669.3 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pywayland-0.4.10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (669.4 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pywayland-0.4.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (669.7 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pywayland-0.4.10-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (668.8 kB view details)

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

File details

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

File metadata

  • Download URL: pywayland-0.4.10.tar.gz
  • Upload date:
  • Size: 202.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pywayland-0.4.10.tar.gz
Algorithm Hash digest
SHA256 ddf5402578884bab05523f2b88783b2c9e152cba636442bca9324d612697b4ec
MD5 ef9c6c4d9a406594907c378a68b607a6
BLAKE2b-256 11c901755ab75f8031e4c8d040daac777707f87c03f430dfa24aa110e33f2501

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywayland-0.4.10-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 596.1 kB
  • Tags: PyPy, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pywayland-0.4.10-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 44e944c89c1457cc97033e9494eb02ba3f0f3f37a6e2de2bf353f1cb83b80be4
MD5 e1a9bb8ff3276aa0ff1de1b8e2cf2dab
BLAKE2b-256 bd6976ccb1d4bb911fe38ed57244d60f9e7a6d2271f9e008b026e2e2cf74955b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywayland-0.4.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 669.3 kB
  • Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pywayland-0.4.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b36943629f44fcbef61dcd16af5f98d3401cedefc1a6beeee1fd3f1d6d57b2b5
MD5 9fa83f01597db2b469b550dc8f1b06ef
BLAKE2b-256 3724eab37f13e0626067eaf559d9b0ac5f9eb404c1dd752256086d528391f39c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywayland-0.4.10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 669.4 kB
  • Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pywayland-0.4.10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a87e37de315ad60cad119b4ca71933909105fc7fb55504b8f2fbb90c7c7e9652
MD5 4a7e8dfd0d578ab36872c722297abc43
BLAKE2b-256 394daa13ce3239f9b136f3e46f56724d0000ee7539269e9657cd2e16ed347fa9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywayland-0.4.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 669.7 kB
  • Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pywayland-0.4.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4175cedccd919c59aee74fbbd42d147f98ac6e4b893193871e43c8fa1751726d
MD5 0f9d4123fb7eac8849ec974ffe48c493
BLAKE2b-256 5938a768c9f816d4f33f2503e40f1eaccceda4273c9d28e2d3c55ffe3e28912d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywayland-0.4.10-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 668.8 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pywayland-0.4.10-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dfac697560138d0fa4fc61370ed1a0a14c366fd70ebc0f8f9ce911391082d936
MD5 2ac7352f8685fee40db658db1821934c
BLAKE2b-256 091f7057613b39f4a7287420689e1694072e758fce5b4e999d30be30d77efa2f

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