-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #287 from lawsie/dev
0.6.3
- Loading branch information
Showing
49 changed files
with
425 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,52 @@ | ||
# guizero | ||
|
||
[Version 0.6.2](http://lawsie.github.io/guizero/changelog) (5th Apr 2019) | ||
|
||
guizero is designed to allow children to quickly and easily create GUIs for their programs. | ||
|
||
If you can download and unzip a file, you can [install guizero](#easy-installation) - **no special permissions or administrator rights are required**. | ||
|
||
If you have administrator rights and are connected to the internet, you can use [pip to quickly install guizero](#install-using-pip). | ||
|
||
guizero only requires `tkinter` to be installed, which is included with a standard Python installation on all platforms except Linux. | ||
|
||
## Easy installation | ||
|
||
Use this installation method if you do not have access to a terminal or command prompt on your computer. | ||
|
||
1. Click the green "Clone or download" button and then "Download ZIP" | ||
|
||
![Download the zip](docs-src/docs/images/download-zip.png) | ||
|
||
2. Unzip the file | ||
![version number](https://badge.fury.io/py/guizero.svg) | ||
|
||
3. Open the `guizero-master` folder, then copy the `guizero` folder and paste it into your home directory | ||
|
||
![Copy the guizero folder](docs-src/docs/images/copy-guizero.png) | ||
|
||
4. That's it! When you write your guizero code, make sure you save it into your home directory. | ||
|
||
## Install using pip | ||
|
||
If you have administrator rights to your computer and are connected to the internet, you can use pip to quickly install guizero. | ||
|
||
### Windows | ||
# guizero | ||
|
||
1. Make sure you have pip installed - follow [this guide](https://projects.raspberrypi.org/en/projects/using-pip-on-windows) if you are not sure. | ||
2. Open a command prompt | ||
3. Type `pip3 install guizero` and press Enter | ||
[guizero](https://lawsie.github.io/guizero) is a Python 3 library for creating simple GUIs. | ||
|
||
### Raspberry Pi | ||
It is designed to allow new learners to quickly and easily create GUIs for their programs. | ||
|
||
1. Open a terminal window | ||
2. Type `sudo pip3 install guizero` and press Enter | ||
![Have a go with guizero and see what you can create](docs-src/docs/images/have-a-go.png) | ||
|
||
### Mac OS | ||
1. Open a terminal (you can search for it in the Launch Pad) | ||
```python | ||
from guizero import App, Text, PushButton | ||
|
||
![Mac terminal](docs-src/docs/images/mac-terminal.png) | ||
app = App(title="guizero") | ||
|
||
2. Type `sudo pip3 install guizero` | ||
intro = Text(app, text="Have a go with guizero and see what you can create.") | ||
ok = PushButton(app, text="Ok") | ||
|
||
![Mac install screenshot](docs-src/docs/images/mac-install.png) | ||
app.display() | ||
``` | ||
|
||
### Linux | ||
## Install | ||
|
||
1. Open a terminal | ||
2. Install `tkinter` using your distribution's package manager, e.g. `sudo apt install python3-tk` | ||
3. Install guizero using pip by typing `pip3 install guizero` or `sudo pip3 install guizero` if you dont have superuser rights | ||
If you can download and unzip a file, you can [install guizero](https://lawsie.github.io/guizero/#easy-install) - **no special permissions or administrator rights are required**. | ||
|
||
## Upgrading | ||
If you have administrator rights and are connected to the internet, you can use [pip to install guizero](https://lawsie.github.io/guizero/#install-using-pip). | ||
|
||
- Raspberry Pi/Linux/Mac - `sudo pip3 install guizero --upgrade` | ||
- Windows - `pip3 install guizero --upgrade` | ||
## Documentation | ||
|
||
## Mission statement | ||
The aim of guizero is to make the process of creating simple GUIs quick, accessible and understandable for children. | ||
Comprehensive documentation can be found at [lawsie.github.io/guizero](https://lawsie.github.io/guizero) including: | ||
+ [installation instructions](https://lawsie.github.io/guizero) | ||
+ [a getting started guide](https://lawsie.github.io/guizero/start) | ||
+ [recipes](https://lawsie.github.io/guizero/recipes) | ||
+ [an API reference](https://lawsie.github.io/guizero/app/) | ||
|
||
## Aims | ||
* Works with standard Python GUI library (and no need to install other libraries) | ||
* Abstracts away details children find hard (such as Tkinter StringVar() objects) | ||
* Accessible widget naming system to help children to build up a mental model | ||
* Flexible enough to be used for projects up to A-Level standard, yet accessible to primary school children | ||
* Comprehensive and accessible [documentation with examples](https://lawsie.github.io/guizero) | ||
* Helpful error messages | ||
The aim of guizero is to make the process of creating simple GUIs quick, accessible and understandable for new learners. | ||
|
||
## Documentation | ||
|
||
[lawsie.github.io/guizero](https://lawsie.github.io/guizero) | ||
* Works with standard Python Tkinter GUI library (and no need to install other libraries) | ||
* Abstracts away details new learners find difficult to understand (such as Tkinter StringVar() objects) | ||
* Accessible widget naming system to help new learners to build up a mental model | ||
* Flexible enough to be used for projects up to A-Level standard, yet accessible to primary school children | ||
* Comprehensive and accessible documentation with examples | ||
* Generates helpful additional error messages | ||
|
||
## Contributing | ||
|
||
Contributions are very welcome - please see [lawsie.github.io/guizero/contributing](https://lawsie.github.io/guizero/contributing) for notes, build and deployment instructions. | ||
|
||
## Issues | ||
|
||
All issues should be raise on [github.com/lawsie/guizero/issues](https://github.com/lawsie/guizero/issues) | ||
All issues should be raised on [github.com/lawsie/guizero/issues](https://github.com/lawsie/guizero/issues) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.