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

Uploaded Source

Built Distributions

pywayland-0.4.11-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.11-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.11-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.11-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.11-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (668.9 kB view details)

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

File details

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

File metadata

  • Download URL: pywayland-0.4.11.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.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pywayland-0.4.11.tar.gz
Algorithm Hash digest
SHA256 72850dacf7072c10da9a02a2674f32b20da6690db02d14a28df3516e528c2199
MD5 6ae3a04ae5382b28eb1b885b15247553
BLAKE2b-256 cfc4ecf533ec994aacc577ba79019882c516dea8a443d5b21e949df477d852ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywayland-0.4.11-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.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pywayland-0.4.11-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e94836c5b080ebe2f55f0b0b2d0a97f9ae92453ec20666093b4bc082d495aff6
MD5 257483a1b6ece7f4c6e0ef31d8374e8d
BLAKE2b-256 9ba48c5c63c8b706a7048dd509a6e9e23badf75f6a83000d700d5b94f2993eca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywayland-0.4.11-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.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pywayland-0.4.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 09b8dab9f02ebdefb6f79b9d0dc8de1dbadb5c27c211191dc58f3d6d890a4f21
MD5 d6b392f02d9954601ef8f3c8fa35099c
BLAKE2b-256 e615d4ca0440ebf9da99204dfb2d4bc8ef17ddcfeaa929b9c93908be68fcec4e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywayland-0.4.11-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.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pywayland-0.4.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a16fce406dd2dd5a94b3c17821861be2baf3b46192eb7750e1c5c3e03ffd76f7
MD5 965d836096581292f7ff12ecc2d4a131
BLAKE2b-256 bd9f812a7f4362ac7307d4846286d1d45f85efd6ad91d5378859056e2d041ae9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywayland-0.4.11-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.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pywayland-0.4.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ee5efecfcd1858bf58e0bd26763974c0eb009e2e83f24953272d0e4daa60b803
MD5 c98d8ae3a721a449be0732d1c9226fd4
BLAKE2b-256 3e2b53d88adb83234f00095f299029a65b6d8ae1f5048e01120f6f87dea6aedb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywayland-0.4.11-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  • Upload date:
  • Size: 668.9 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.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pywayland-0.4.11-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f8dfba7e4f6ec686612f0090b901b085740b591ed5ebf0a673a7b342024d54bf
MD5 37578a7d2331cfb02f850a6fb4934b04
BLAKE2b-256 d0b6e98a11704745a64cc009422bf654aba949a6b7ce7c20d26a82de202daa46

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