请输入您要查询的百科知识:

 

词条 AppJar
释义

  1. License

  2. History

  3. Example

  4. References

  5. External links

{{lowercase|title=appJar}}{{Infobox software
| logo =
| screenshot =
| caption = appJar
| developer = Richard Jarvis
| released = {{Start date and age|2015|df=yes}}[1]
| latest release version = 0.93
| latest release date = {{Start date and age|2018|05|07}}
| operating system = Cross-platform
| programming language = Python
| genre =
| status = Active
| license = Apache License
| website = {{URL|http://appJar.info/}}
}}appJar is a cross-platform, open source Python library for developing GUIs (graphical user interfaces).[2] It can run on Linux, OS X, and Windows. It was conceived, and continues to be developed with educational use as its focus,[3] so is accompanied by comprehensive documentation, as well as easy-to-follow lessons.[4]

License

appJar is licensed under the Apache License v2.0.[5]

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,[1] and first added to the PyPi repository on 20 December 2016.[6] In June 2017, appJar was featured in an article in The MagPi, detailing how it could be used to interact with Minecraft.[7]

Example

This is a simple "Hello world" example:

  1. !/usr/bin/env python

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):

  1. !/usr/bin/env python

from appJar import gui

with gui("Demo") as app:

References

Notes
1. ^{{cite web|title=First released|url=https://github.com/jarvisteach/appJar/commit/6cde09000b1cf0164234ecfe9faa2d6e49f4b491|accessdate=2017-04-08}}
2. ^{{cite web|title=GUI programming in Python|url=https://wiki.python.org/moin/GuiProgramming|accessdate=2017-04-09}}
3. ^{{cite web|title=Educational intentions|url=http://appjar.info|accessdate=2017-04-09}}
4. ^{{cite web|title=Lessons|url=http://appjar.info/pythonLessons/|accessdate=2017-04-09}}
5. ^{{cite web|title=Copyright notice|url=https://github.com/jarvisteach/appJar/blob/appJar/LICENSE.txt|accessdate=2017-04-09}}
6. ^{{cite web|title=PyPi created|url=https://pypi.python.org/pypi/appJar/0.01|accessdate=2017-04-08}}
7. ^{{cite magazine |last=Jarvis |first=Richard |date=June 2017 |title=Build a Python GUI to Control Minecraft |url=https://www.raspberrypi.org/magpi/issues/58/ |magazine=MagPi |location=UK |publisher=Raspberry Pi Foundation |access-date=2017-12-11 }}

External links

  • {{Official website|http://appJar.info/}}
  • {{GitHub|https://github.com/jarvisteach/appJar}}
  • [https://pypi.python.org/pypi/appJar/ PyPi]
  • PyPi Docs

2 : Python libraries|Widget toolkits

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/11 6:02:21