Skip to main content

A python interface for the Yad program

Project description

Python Yad project

python-yad is interface to yad for python. Inspired by the PyZenity Project.

YAD is a program that will display GTK+ dialogs, and return (either in the return code, or on standard output) the users input. This allows you to present information, and ask for information from the user, from all manner of shell scripts. YAD is the fork of Zenity program.

YAD source page: http://sourceforge.net/projects/yad-dialog/

The API is very simple which has a main class known as YAD.

Example:

>>> from yad import YAD
>>> yad = YAD()
>>> yad.Calendar()

You can even check out the test application ‘gdie’(Gnome-desktop-item-editor) in the terminal.

>>> gdie

Requirements

  • Python 3.2 and above

  • pexpect module

  • yad program

Installation

Can be installed by using pip:

>>> sudo python3 -m pip install yad

or by manual installation:

>>> git clone https://gitlab.com/dvenkatsagar/python-yad.git
>>> cd python-yad/python-yad
>>> python3 setup.py build
>>> python3 setup.py install

Contact Us

If you guys encounter any bugs, or issues. please contact me via email:

Authors:

Sagar D V <dvenkatsagar@gmail.com>

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

yad-0.9.13.tar.gz (33.2 kB view hashes)

Uploaded Source

Built Distribution

yad-0.9.13-py2.py3-none-any.whl (20.2 kB view hashes)

Uploaded Python 2 Python 3

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