HOME

TheInfoList



OR:

appJar is a cross-platform Python library for developing GUIs (graphical user interfaces). It can run on
Linux Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, which i ...
,
OS X macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and la ...
, and
Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for ...
. It was conceived, and continues to be developed with educational use as its focus, so is accompanied by comprehensive documentation, as well as easy-to-follow lessons.


License

appJar is licensed under the Apache License v2.0.


History

appJar was originally envisaged as a simple wrapper around tkinter, to allow secondary school pupils to develop simple graphical user interfaces in Python. It was meant to hide away the complexity, so that pupils could focus on writing algorithms, without having to worry about how to position widgets and link to functions. It was started out in the winter of 2014, as a simple in-house project, but soon started to grow. It was published to GitHub on July 31, 2015, and first added to the PyPi repository on 20 December 2016. In June 2017, appJar was featured in an article in
The MagPi ''The MagPi'' is the official Raspberry Pi magazine. It started off life as a free
, detailing how it could be used to interact with
Minecraft ''Minecraft'' is a sandbox game developed by Mojang Studios. The game was created by Markus "Notch" Persson in the Java programming language. Following several early private testing versions, it was first made public in May 2009 before bein ...
.


Example

This is a simple "
Hello world ''Hello'' is a salutation or greeting in the English language. It is first attested in writing from 1826. Early uses ''Hello'', with that spelling, was used in publications in the U.S. as early as the 18 October 1826 edition of the '' Norwich ...
" example: #!/usr/bin/env python3 from appJar import gui app = gui("Demo") app.addLabel("l1", "Hello World") app.go() The above example is getting even simpler in the 1.0 release (available in beta in the 0.9 release): #!/usr/bin/env python3 from appJar import gui with gui("Demo") as app: app.label("Hello World")


References

;Notes


External links

* * {{GitHub, https://github.com/jarvisteach/appJar
PyPi

PyPi Docs
Python (programming language) libraries Widget toolkits