pywayland


Namepywayland JSON
Version 0.4.17 PyPI version JSON
download
home_page
SummaryPython bindings for the libwayland library written in pure Python
upload_time2023-10-07 01:27:00
maintainer
docs_urlNone
author
requires_python>=3.8
licenseApache License 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            pywayland
=========

|ci| |coveralls| |docs|

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`_.

.. _full documentation: http://pywayland.readthedocs.org/

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.

.. _cheese shop: https://pypi.python.org/pypi/pywayland/
.. _git repository: https://github.com/flacjacket/pywayland/

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

.. _cffi: https://cffi.readthedocs.org/
.. _installation guide: http://pywayland.readthedocs.org/en/latest/install.html#installation

Installing
----------

Installation can be done through pip to pull the most recently tagged release.
To see instructions on running from source, see the relevant documentation on
`installing from source`_.

.. _installing from source: http://pywayland.readthedocs.org/en/latest/install.html#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.

.. |ci| image:: https://github.com/flacjacket/pywayland/actions/workflows/ci.yml/badge.svg
    :target: https://github.com/flacjacket/pywayland/actions
    :alt: Build Status
.. |coveralls| image:: https://coveralls.io/repos/flacjacket/pywayland/badge.svg
    :target: https://coveralls.io/r/flacjacket/pywayland
    :alt: Build Coverage
.. |docs| image:: https://readthedocs.org/projects/pywayland/badge/?version=latest
    :target: https://pywayland.readthedocs.io/en/latest/
    :alt: Documentation Status

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pywayland",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "",
    "author_email": "Sean Vig <sean.v.775@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/0e/66/dbd3fbb292d95eed0033271f6c37130e4aaa081c44f20f5248b14dae9918/pywayland-0.4.17.tar.gz",
    "platform": null,
    "description": "pywayland\n=========\n\n|ci| |coveralls| |docs|\n\nPyWayland provides a wrapper to the ``libwayland`` library using the CFFI\nlibrary to provide access to the Wayland library calls and written in pure\nPython.\n\nBelow is outlined some of the basics of PyWayland and how to get up and\nrunning.  For more help, see the `full documentation`_.\n\n.. _full documentation: http://pywayland.readthedocs.org/\n\nCurrent Release\n---------------\n\nPyWayland is still in a developmental state.  An current version is available\non the `cheese shop`_.  Current development versions can be obtained from the\n`git repository`_, feedback, as well as any bug reports or fixes are highly\nappreciated.\n\n.. _cheese shop: https://pypi.python.org/pypi/pywayland/\n.. _git repository: https://github.com/flacjacket/pywayland/\n\nDependencies\n------------\n\nInstalling PyWayland requires the Wayland library and the headers to be installed.\n\nPyWayland requires the cffi_ package to be installed.  PyWayland runs and is\ntested against Python 3.6+, including sufficient versions of PyPy3 (see\n`Running Tests`_).\n\nSee the `installation guide`_ for more information on installing required dependencies\n\n.. _cffi: https://cffi.readthedocs.org/\n.. _installation guide: http://pywayland.readthedocs.org/en/latest/install.html#installation\n\nInstalling\n----------\n\nInstallation can be done through pip to pull the most recently tagged release.\nTo see instructions on running from source, see the relevant documentation on\n`installing from source`_.\n\n.. _installing from source: http://pywayland.readthedocs.org/en/latest/install.html#installing-from-source\n\nBuilding Wayland protocols\n--------------------------\n\nIn order to run from source, you will need to generate the interfaces to the\nWayland protocol objects as defined in the wayland.xml file.  By default, this\nfile will be located in ``/usr/share/wayland/wayland.xml``.  In this case, the\nprotocol files can be generated by the scanner module::\n\n    $ python -m pywayland.scanner\n\nSee the help for this module to use non-default locations for the input and\noutput of the scanner.\n\nThe scanner is installed as a script ``pywayland-scanner`` when PyWayland is\ninstalled.  See ``pywayland-scanner -h`` for more information.\n\nRunning Tests\n-------------\n\nPyWayland implements a (currently limited) test-suite in ``./tests``.  The\ntests can be run through ``pytest``.  Be sure you build the protocol files (see\n`Building Wayland protocols`_) before running the tests.\n\n.. |ci| image:: https://github.com/flacjacket/pywayland/actions/workflows/ci.yml/badge.svg\n    :target: https://github.com/flacjacket/pywayland/actions\n    :alt: Build Status\n.. |coveralls| image:: https://coveralls.io/repos/flacjacket/pywayland/badge.svg\n    :target: https://coveralls.io/r/flacjacket/pywayland\n    :alt: Build Coverage\n.. |docs| image:: https://readthedocs.org/projects/pywayland/badge/?version=latest\n    :target: https://pywayland.readthedocs.io/en/latest/\n    :alt: Documentation Status\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "Python bindings for the libwayland library written in pure Python",
    "version": "0.4.17",
    "project_urls": {
        "documentation": "https://pywayland.readthedocs.io",
        "homepage": "https://github.com/flacjacket/pywayland",
        "issues": "https://github.com/flacjacket/pywayland/issues",
        "source": "https://github.com/flacjacket/pywayland"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cd6b16c9f0313fab53f5726d6ef8c7f0eaa05345c1d554483be80b4d3ee8ddf3",
                "md5": "dfdb07c12ca26f53dca3196e7416fd93",
                "sha256": "2ac61b0f23aeaed47624aba5fd5de5da21e7cbbe0c9b464a649541f2695634e8"
            },
            "downloads": -1,
            "filename": "pywayland-0.4.17-cp310-cp310-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "dfdb07c12ca26f53dca3196e7416fd93",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.8",
            "size": 753301,
            "upload_time": "2023-10-07T01:26:48",
            "upload_time_iso_8601": "2023-10-07T01:26:48.069421Z",
            "url": "https://files.pythonhosted.org/packages/cd/6b/16c9f0313fab53f5726d6ef8c7f0eaa05345c1d554483be80b4d3ee8ddf3/pywayland-0.4.17-cp310-cp310-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "efa480117940e7e67195a68d8a798ce7398a4b95d67f2dbab654ae336933d20a",
                "md5": "70597fecd1cb466b2daf5ec7db8af955",
                "sha256": "9272d3a37d2da328d602e4a2125ce89864b59ec89c6423c660f7dd565ad126c1"
            },
            "downloads": -1,
            "filename": "pywayland-0.4.17-cp311-cp311-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "70597fecd1cb466b2daf5ec7db8af955",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.8",
            "size": 753250,
            "upload_time": "2023-10-07T01:26:49",
            "upload_time_iso_8601": "2023-10-07T01:26:49.378672Z",
            "url": "https://files.pythonhosted.org/packages/ef/a4/80117940e7e67195a68d8a798ce7398a4b95d67f2dbab654ae336933d20a/pywayland-0.4.17-cp311-cp311-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3cd3218eafb9894963a8c5302557a6e0f65dc051cfdbc9bdc3b6f1fa16328512",
                "md5": "6035b723083180398b2a5ac2db420014",
                "sha256": "2074f9ba0cbfd4c0796852d2c355c68e117d4149eba38cb66b3093b6c2840231"
            },
            "downloads": -1,
            "filename": "pywayland-0.4.17-cp312-cp312-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6035b723083180398b2a5ac2db420014",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.8",
            "size": 754533,
            "upload_time": "2023-10-07T01:26:51",
            "upload_time_iso_8601": "2023-10-07T01:26:51.248154Z",
            "url": "https://files.pythonhosted.org/packages/3c/d3/218eafb9894963a8c5302557a6e0f65dc051cfdbc9bdc3b6f1fa16328512/pywayland-0.4.17-cp312-cp312-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fe6ef7a6c5b58b6b3e8f8ead9cd9b44bad9d47d33d2df412402a59c415fadb64",
                "md5": "086e3d98bcf58a40fbca969b2ad38070",
                "sha256": "93d552e29161bc021e2c007562ea0430184df0431d31b054f703359981285fbe"
            },
            "downloads": -1,
            "filename": "pywayland-0.4.17-cp38-cp38-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "086e3d98bcf58a40fbca969b2ad38070",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 753451,
            "upload_time": "2023-10-07T01:26:52",
            "upload_time_iso_8601": "2023-10-07T01:26:52.899725Z",
            "url": "https://files.pythonhosted.org/packages/fe/6e/f7a6c5b58b6b3e8f8ead9cd9b44bad9d47d33d2df412402a59c415fadb64/pywayland-0.4.17-cp38-cp38-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "44d7e88105164ea36f40924a694c6b24e7b3d48c1c1752f29e982de4fa6a1b4c",
                "md5": "c8f982b2e32680dbff3fe3c49c8da0a1",
                "sha256": "188f599d6cd6608e8398755beb019b231d6bc1093a3be75783610c4153c241fe"
            },
            "downloads": -1,
            "filename": "pywayland-0.4.17-cp39-cp39-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "c8f982b2e32680dbff3fe3c49c8da0a1",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.8",
            "size": 753244,
            "upload_time": "2023-10-07T01:26:54",
            "upload_time_iso_8601": "2023-10-07T01:26:54.087494Z",
            "url": "https://files.pythonhosted.org/packages/44/d7/e88105164ea36f40924a694c6b24e7b3d48c1c1752f29e982de4fa6a1b4c/pywayland-0.4.17-cp39-cp39-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "74501de582c1062fd9fc7d0f63eb2c5f2615d3857543c433ae72034419824bde",
                "md5": "82b322a4881e163dc580b8d7bd34e1ad",
                "sha256": "391a72afb60b886ceb9b4b690c0d215969c374133fc2594b2292e5fadf070f71"
            },
            "downloads": -1,
            "filename": "pywayland-0.4.17-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "82b322a4881e163dc580b8d7bd34e1ad",
            "packagetype": "bdist_wheel",
            "python_version": "pp310",
            "requires_python": ">=3.8",
            "size": 675212,
            "upload_time": "2023-10-07T01:26:55",
            "upload_time_iso_8601": "2023-10-07T01:26:55.990617Z",
            "url": "https://files.pythonhosted.org/packages/74/50/1de582c1062fd9fc7d0f63eb2c5f2615d3857543c433ae72034419824bde/pywayland-0.4.17-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3a8f0f41d71055689d1fb8f91fd1fe7e92004ca9e384e2cfcd8d9fec20af359a",
                "md5": "0f680e58740077646930b9cfa0d06555",
                "sha256": "0d7e593c21679aa398ae870bf9fdc39fb266b57b6946193753e35329283283ce"
            },
            "downloads": -1,
            "filename": "pywayland-0.4.17-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "0f680e58740077646930b9cfa0d06555",
            "packagetype": "bdist_wheel",
            "python_version": "pp38",
            "requires_python": ">=3.8",
            "size": 675212,
            "upload_time": "2023-10-07T01:26:57",
            "upload_time_iso_8601": "2023-10-07T01:26:57.190245Z",
            "url": "https://files.pythonhosted.org/packages/3a/8f/0f41d71055689d1fb8f91fd1fe7e92004ca9e384e2cfcd8d9fec20af359a/pywayland-0.4.17-pp38-pypy38_pp73-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7a24284568a99f1e8db69fa3d26e953dc8dac99538d96aa8d5f1430e59622054",
                "md5": "2a56a640df9b2e1b2d8174aa25cfda7b",
                "sha256": "7b23abe03f57a040c08307d2c5c338b3cd38e168d8087f2410bf3fa713cbaf22"
            },
            "downloads": -1,
            "filename": "pywayland-0.4.17-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "2a56a640df9b2e1b2d8174aa25cfda7b",
            "packagetype": "bdist_wheel",
            "python_version": "pp39",
            "requires_python": ">=3.8",
            "size": 675215,
            "upload_time": "2023-10-07T01:26:58",
            "upload_time_iso_8601": "2023-10-07T01:26:58.484399Z",
            "url": "https://files.pythonhosted.org/packages/7a/24/284568a99f1e8db69fa3d26e953dc8dac99538d96aa8d5f1430e59622054/pywayland-0.4.17-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0e66dbd3fbb292d95eed0033271f6c37130e4aaa081c44f20f5248b14dae9918",
                "md5": "adc09cd8c30e22d7d5312a2bafb022f0",
                "sha256": "f7fd1902638c2f7a15ac07f31a3ef6895d3c160ca2601481ca82b2c61a23c657"
            },
            "downloads": -1,
            "filename": "pywayland-0.4.17.tar.gz",
            "has_sig": false,
            "md5_digest": "adc09cd8c30e22d7d5312a2bafb022f0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 219107,
            "upload_time": "2023-10-07T01:27:00",
            "upload_time_iso_8601": "2023-10-07T01:27:00.562008Z",
            "url": "https://files.pythonhosted.org/packages/0e/66/dbd3fbb292d95eed0033271f6c37130e4aaa081c44f20f5248b14dae9918/pywayland-0.4.17.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-07 01:27:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "flacjacket",
    "github_project": "pywayland",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [],
    "lcname": "pywayland"
}
        
Elapsed time: 0.12251s