Skip to main content

Turn yours methods in GUI forms !!!

A simple example, turn your methods into gui forms

from grun import grun

@grun
def my_window( name, passwd, cookie=["1 day","1 week","1 month"] ):
    '''Hello, I'm the method's doc

    name:    Login
    passwd:  Password
    cookie:  How long ?
    '''
    if name == passwd:
        return True
    else:
        grun("Set login == password !")

print my_window(cookie="1 day")

will display :

http://www.manatlan.com/files/grun.png

Works on Linux/BSD, Windows and Mac using Tk framework (or pygtk when available)

See more infos

Metadata

Release files for grun 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grun 0.1
File Size Uploaded
grun-0.1.tar.gz 13.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for grun 0.1
File Interpreter ABI Platform
grun-0.1-py2.6.egg Legacy Egg format - - Details

Total release size: 51.9 kB

Release files / grun-0.1.tar.gz

Download URL grun-0.1.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
692b0a60a44fd00cbe517ba0c09c102005e6aacca87421025a4fedc855eb217a
BLAKE2b-256 checksum
How to use checksums
eaeea0c5f3dbb1163e5ac6db6cb05c3068bd678ca39ff5afe4936088c41d9dfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grun-0.1-py2.6.egg

Download URL grun-0.1-py2.6.egg
Size 38.3 kB
Tags Egg
SHA-256 checksum
How to use checksums
f93c924259ca000d7c073a7806f939a96a9fc3f521ebd758b8abd188af18e9a2
BLAKE2b-256 checksum
How to use checksums
d817b9e3f2649c0d7ccee2b1dc0eb1b310f0ab74509d3df932166075a05dcc13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.14

2 release files

0.13

2 release files

0.12

2 release files

0.11

2 release files

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page