Collection of utilities including general algorithms, astronomical transformations and Tkinter widgets
- Alg: various useful algorithms including OrderedDict (a dictionary that remembers the order in which items are added) and MultiDict (a dictionary whose values are lists).
- Astro: astronomical calculations including conversion between various coordinate systems and time functions. Note that this library is based on an extensive body of work by Pat Wallace and as such requires payment for commercial use.
- Comm: network communications based on tcl sockets (to mesh nicely with Tkinter applications).
- DS9: interface to SAO’s ds9 image viewer. Images can be loaded from numpy arrays, binary files or fits files.
- OS: additions to the standard “os” module (especially os.path). Includes getPrefsDir (find the standard preferences directory on Mac, Windows or unix), findFiles (recursively search for files whose names match specified patterns and don’t match others), and removeDupPaths (remove duplicates from a list of paths).
- Prefs: a complete Tkinter-based preferences implementation.
- ScriptRunner: execute user-written scripts that wait for something to happen without halting the main Tkinter event loop. Based on generators.
- SeqUtil: sequence utilities, such as isSequence (returns True if the argument is a sequence), asList (converts one item or a sequence of items to a list), etc.
- StringUtil: string utilities including conversion of sexagesimal (dd:mm:ss and hh:mm:ss) strings to and from numbers.
- Wdg: extensions of the standard Tkinter widgets and useful additional widgets. The widgets support hot help strings (automatically displayed in an RO.Wdg.StatusBar), a contextual menu and linking to html help.