Skip to main content

Collection of utilities including general algorithms, astronomical transformations and Tkinter widgets

Project description


  • 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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for RO, version 3.6.9
Filename, size File type Python version Upload date Hashes
Filename, size RO-3.6.9.tar.gz (690.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page