(normally) - in two flavors. Used only to prioritize high-traffic pages for dev work, iff JS and tracker enabled. The former/defunct training site's id: ga('create', 'UA-52578333-1', 'auto'). The book site's id, now used for all: ga('create', 'UA-52579036-1', 'auto'). JS is also used if enabled for thumbspage galleries, Top buttons, TOCs, etc. Jun-2019: tell Google Analytics to anonymize IP address on receipt for privacy. More: https://developers.google.com/analytics/devguides/collection/analyticsjs/. Oct-2022: install a GA4 tag (i.e., script) alongside the prior UA tag. UA tags will stop collecting data in 2023. It's okay to use both until the cutover (and Google advises doing so), but the UA tag will be pointless after that and should be removed. This handles genhtml-insert clients; others get tags by running insert-analytics.py in package-publishing scripts. Also per Google: "In Google Analytics 4, IP anonymization is not necessary since IP addresses are not logged or stored". Let's hope so... -->
|
Welcome to the products page for PyGadgets, a portable toolbox for work and play. PyGadgets is a set of four desktop GUIs coded in Python/Tk and run from a quick-access toolbar: |
|---|
All four gadgets are originally from the book PP4E, but have been greatly enhanced, ported to macOS (f.k.a. Mac OS X) and Android, made more easily customizable, and bundled as both portable source code and standalone apps and executables for PC platforms. PyGadgets opens with a simple toolbar that launches the four GUIs on demand. In source and executable packages, each Gadget can also be run individually. In all formats, the '?' key opens in-program help in each of the GUIs. For a quick tour of PyGadgets' utilities, browse its PC screenshots, and its Android how-to.
PyGadgets runs on macOS, Windows, Linux, and Android. It's available as a platform-specific macOS app, Windows exe (both 64- and 32-bit), and Linux executable, plus a complete source-code package that runs on all four platforms. Click the download link below to fetch the package you wish to use. The app, exes, and executable may be easier to install and run, but source code can be studied, is required on Android today, and nullifies issues covered by the next section's pointers.
| macOS app | ☞ | Download PyGadgets.app.zip |
|---|---|---|
| Windows exe, 64 bit | ☞ | Download PyGadgets-64bit.zip |
| Windows exe, 32 bit | ☞ | Download PyGadgets-32bit.zip |
| Linux executable | ☞ | Download PyGadgets.zip |
| Source-code package | ☞ | Download PyGadgets-source.zip |
For more details on PyGadgets' download packages, as well as their complete install and usage instructions, see the main README.txt. In brief, you'll fetch, unzip, and run either the unzipped app itself (macOS), a same-named executable inside the unzip (Windows and Linux), or the program's main script in the unzipped source code (all platforms).
The latest getting-started pointers:
time.clock() to time.perf_counter() in file
_PyToe/TicTacToe/tictactoe_lists.py of the unzipped
PyGadgets-source package.
This is not required for and does not impact apps or executables, because they
use older Pythons. The was broken by opinionated change in
Python,
and patched in the Android
port.
Mojave users: see also this to fix crashes and blank windows caused by macOS dark mode.
Apple M-chip users: the Rosetta 2 emulator is required to run the app package, but not source code.
Update: per 2023 vetting on macOS Ventura, launching the 2017 app package no longer works, because the launcher toolbar does not spawn individual widgets; please use the source-code package on recent macOS versions instead.
Update: as of 2023, this program's app and source-code have now been vetted to work well on Windows 11, in addition to 7, 8, and 10.
Update: per this note in 2020, PyGadgets' Linux executable was broken by recent Linux changes; please use the source-code package instead.
Android 11+ users: see also this for recent changes on Android; these may impact file access in the PyPhoto widget.
Update: in 2023, Pydroid 3's version 6 imposed extra rules for running this program on Android; see the coverage here.
For a preview of PyGadgets in action, visit its screenshots page.
For PyGadgets usage and version information, see its README file.
For PyGadgets' full source code online, browse its unzipped code.
For more tips and updates, see the support page and older list.