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

Uploaded Source

Built Distributions

pywayland-0.4.14-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (602.6 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pywayland-0.4.14-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (602.6 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pywayland-0.4.14-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (602.7 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pywayland-0.4.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (676.5 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pywayland-0.4.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (676.5 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pywayland-0.4.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (676.5 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pywayland-0.4.14-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (676.9 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pywayland-0.4.14-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (676.0 kB view details)

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

File details

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

File metadata

  • Download URL: pywayland-0.4.14.tar.gz
  • Upload date:
  • Size: 204.5 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.14.tar.gz
Algorithm Hash digest
SHA256 097262773c05bd2d5ec2a6327e9261c10b6a8784ed51f84ef4ed22609a4e0b2d
MD5 a720322428b8129c0316ac98534f1f94
BLAKE2b-256 37b4123fda32170e488a8dabd3e137277ec85e3d8eea7fb82f58ec8150f9d0fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.14-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cf12afa015c3d1e94e10cef2863ef1286e309d1c68145501968a12c0467a4aa3
MD5 059eb3250d240f4c4d912da3e9426639
BLAKE2b-256 0614345c87ef0dbce2c43d1e3503f755c60e4acd58662f9794a1713ed80b780c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.14-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 848d6d265b2a165e0f20425dfc1f31f88f5d21f51a45e5d9b7f989e387f5b499
MD5 46ecea3a5f5c930507d07e860d7a83e6
BLAKE2b-256 58967a90c1ee3e82caf3dc0faa2c55a34635791748242d8fa1afd4c63c194db9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.14-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7ec2fbd211188157b9cc8b45e3c5043d3a7f69c19d5bb09b21aa3a8d983e5624
MD5 22c2b3fc1febfa9bdfa0be842cad6f03
BLAKE2b-256 47ffeec93724b10356ab5780be168dd0eaebadd587175bac923b4ce625e16e34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2d5e011436ca0581cabed1c9bb001703a3d7439feb2de90d5e4607808d2a04fa
MD5 be6b0371721409941611a2f7016973e7
BLAKE2b-256 b2ee54e2d9f25023b05123f1187a3a6ea34a0e22345d0a9ef0a7bcfe7fa31eac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 62bd65605ad2374111a122a9f7e0ed433528d7f0f571357ca718d86f8b6e6728
MD5 987980dfbeaef7a401ab58dca11552fa
BLAKE2b-256 4a899d81d319f7cf1fc8cc5175a5550d8c21ab5baee89800751e21c416154d4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 260a46d7cf73bbbc1f939957499aa195dbf6818de1d0d2af2fcfe49a538cd467
MD5 d06fefa9e842cb1eba2983bbcf497f7a
BLAKE2b-256 6930a82c5b3074c8c417f7e5a3f4f061b7863d8e85bb379b968eb907e16facfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.14-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2ea4937a3f4f6c3b06a5d139ae4c6675b01d4ac7a111eb9782eb7f9066dc196b
MD5 1881c9c735f0dcc9d2685dbc6ddbc34c
BLAKE2b-256 ea38e59608cf713f06db0f02c7012bc32fe686d9845597c374c85669f288e353

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pywayland-0.4.14-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 538503e45d6658992042f8b0cb2a80d243e423de53212564b2793d2b676a2b26
MD5 d30dd4a5892cbe96847b8114ae93784c
BLAKE2b-256 dbd69c89e8170dc07ab517ee6a2dc33d5c927a21022dd390787def4fd037971e

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