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.3.tar.gz (688.6 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for RO-3.6.3.tar.gz
Algorithm Hash digest
SHA256 8e38537490c4213377e952ab7aaee8ce1beff62569bfd35fbbf24e2956bc7a87
MD5 c0840707c6404d4fe0913150a5d487a1
BLAKE2b-256 6cf41f92cfda7d339cbc76a0c344995fbab3574e58f7c5ca28e28337ac69f48a

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