Skip to main content

Hassle free PySide forms.

Project description

Documentation Status Latest Version

psforms

Hassle free PySide forms.

from psforms import (Form, IntField, StringField,
                     StringOptionField, BoolField)


class MyForm(Form):
    '''My amazing form, useful in many scenarios.'''

    title = 'My Form'
    int_field = IntField('Integer Value')
    str_field = StringOptionField('String Value', options=['A', 'B', 'C'])
    bool_field = BoolField('Boolean Value')
    strb_field = StringField('String Value B')


myform_dialog = MyForm.as_dialog()
if myform_dialog.exec_():
    print dialog.get_value()

Features

  • Easy Form creation

  • Parent forms to your own window or use them as their own stand alone dialog

  • Unified api for all standard PySide input widgets

Get psforms

You can install psforms using pip:

pip install psforms

or you can use setuptools:

git clone git@github.com/danbradham/psforms.git
cd psforms
python setup.py install

Documentation

For more information visit the docs.

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

psforms-0.6.0.tar.gz (416.7 kB view details)

Uploaded Source

Built Distribution

psforms-0.6.0-py2.py3-none-any.whl (433.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file psforms-0.6.0.tar.gz.

File metadata

  • Download URL: psforms-0.6.0.tar.gz
  • Upload date:
  • Size: 416.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for psforms-0.6.0.tar.gz
Algorithm Hash digest
SHA256 2d4f7c805d24bb68e852c7c78d66170497ce12b481ade2e498202553394c437e
MD5 c8022cc3dd2258b12e9c2d75d50a2701
BLAKE2b-256 b86fca448a796488211ae90d0b3402cd0ca9c57d840e89ae5112e22db9777384

See more details on using hashes here.

File details

Details for the file psforms-0.6.0-py2.py3-none-any.whl.

File metadata

  • Download URL: psforms-0.6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 433.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for psforms-0.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7f2324ba996913cbf4c145d0057995a512dc96eddaea87453533b801ae2efe5c
MD5 5544ee4ce6b9cf1962eaa03c997cba4e
BLAKE2b-256 1cb5282f76128078b5752a424711c5906b09687ac1ebd1afe55dbdb25097c8f2

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