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.

Files for yad, version 0.9.14
Filename, size File type Python version Upload date Hashes
Filename, size yad-0.9.14-py2.py3-none-any.whl (20.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size yad-0.9.14.tar.gz (33.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page