Skip to main content

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

Project description

Includes:

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

Source Distribution

RO-3.6.8.tar.gz (689.7 kB view details)

Uploaded Source

File details

Details for the file RO-3.6.8.tar.gz.

File metadata

  • Download URL: RO-3.6.8.tar.gz
  • Upload date:
  • Size: 689.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for RO-3.6.8.tar.gz
Algorithm Hash digest
SHA256 a873230d03e5cad299523195df9a6acc7e70dbdcf793de93d80ab206d467f1ba
MD5 ab6a19e64663bbe559390277a30171c0
BLAKE2b-256 c88deb16835cdfc1f0637b6ee271ce20d76d409931885e13450fd16de95498be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page