About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 5 years ago
  • Total downloads: 184
  • Price: Free |
  • Operating system: Linux
  • Publisher: Russell Owen
See full specifications

linux default iconRO Publisher's description

RO is a package of python utilities with an emphasis on cross-platform support (MacOS X, Windows and unix), Astronomy, Tkinter GUI extensions and Tkinter-compatible networking.

RO is a package of python utilities with an emphasis on cross-platform support (MacOS X, Windows and unix), Astronomy, Tkinter GUI extensions and Tkinter-compatible networking.

Find the modules you wish to use in the list here, then read the doc strings in the module and the examples at the end of most modules for more information.

* AddCallback: mixin class for adding callback functionality to any object.
* Alg: algorithms:
o GenericCallback, a shim between a caller who supplies too little information and the actual function you want to call. Also known as function currying
o IDGen: simple integer generator with programmable start and wrap values.
o ListPlus: extend lists with some useful dict methods.
o MatchList: Find matches for a string in a list of strings,optionally allowing abbreviations and ignoring case.
o MultiDict: a dictionary whose elements are a list of one or more items. multidict[key] = value adds value to the list of items for the specified key (or starts a new list if key was not present).
o OrderedDict: a dictionary that preserves the order of information as entered. (Note: this is not a sorted dict and the RO package does not yet include one.)
* Astro: Astronomy package, including conversion between various coordinate systems and time functions. Note that this library is based Pat Wallace's slalib and as such requires payment to for commercial use.
o Cnv: Astronical routines using spherical coordinates. Includes a spherical version of coordConv, a general coordinate conversion function.
o Sph: Astronical routines using cartesian coordinates. Includes a cartesian version of coordConv, a general coordinate conversion function.
o Tm: time routines
o llv: low-level routines. These are mostly Python versions of slalib routines.
* CnvUtil: type conversion utilities, including as asBool (unlike bool, accepts common string representations of True or False) and asIntOrNone and asFloatOrNone (unlike float, these return None for None or "NaN") and variants that allow specifying strings representing unknown values.
* Comm: network communications for Tkinter applications. All of these classes use events and callbacks to avoid blocking the main event loop.
o HTTPGet: retrieve files via http. An associated widget RO.Wdg.HTTPGetWdg offers a graphical display of file transfer.
o TCPConnection: a wrapper around TkSocket that allows repeated disconnection and reconnection and support for authentication.
o TkSocket: a basic tcl/tk socket. Written data is automatically queued up and fed out as the connection allows.
o TkSerial: a tcl/tk-based RS-232 connection.
o BrowseURL: display a URL in the user's browser. Useful for displaying on-line help. This is a thin wrapper around webbrowser module that does not use the Tcl/Tk event loop.
* DS9: allows one to easily load images into the ds9 image viewer. Images can be loaded from numpy arrays, binary files or fits files. Warnings:
o RO.DS9 has a few extra requirements.
o RO.DS9.DS9Win.showArray does not work on Windows with ds9 3.0.3; this appears to be a bug in ds9 or xpa.
* Constants: a few constants for using the RO package, including severity levels and the base URL for on-line help (with a routine _setHelpURLBase to set it).
* InputCont: containers for input widgets. Allows easy get and put for a set of input widgets and formatting of complex command strings.
* KeyDispatcher: parse input data for keyword/value pairs and set registered KeyVariables accordingly. Useful for certain kinds of networked control applications.
* KeyVariable: containers for keyword/value data. Useful for certain kinds of networked control applications, especially in conjunction with KeyDispatcher.
* LangUtil: language utilities. funcName returns the name of a callable (function or callable class).
* MathUtil: simple math functions, including:
o checkRange: assert that a number is in an allowed range
o wrapCtr and wrapPos: wrap an angle (in deg) into the desired range
o xyFromRTheta and rThetaFromXY: convert between x,y and r-theta coordinates (angle in deg)
o rot2d rotating x,y coordinates by a specified angle (in deg)
o nint:round to the nearest integer
o sign
o trig functions in degrees
* OS: file-related functions, including:
o findFiles: recursively search for files whose names match specified patterns and don't match others. Easier to use than os.walk.
o getHomeDir, getPrefsDirs, getAppSupportDirs, etc: get the path to various standard directories on Mac, Windows or unix
o getResourceDir: obtain the directory for a particular resource of your application; useful for distributing bundled applications.
o PlatformName: one of "mac", "win" or "unix".
o removeDupPaths: remove duplicates from a list of paths
o splitPath: a variant of os.split that splits all components at once.
* ParseMsg: parse keyword-value data. Intended for use by KeyDispatcher.
* PhysConst: some basic units conversion constants and physical constants, especially those related to Astronomy.
* Prefs: a complete implementation of user-settable preferences (using Tkinter), including automatic updating of fonts and colors and programmable updating of other attributes. Includes preferences for fonts, colors, sounds (pygame is required to play them), files and directories.
* procFiles: easy batch processing of files. Differs from "fileinput" in that your user-defined function handles each input file in one call. This makes it very easy to do things such as include a header and footer for each file, write a separate output file for each input file or vary the output data depending on the file name. Ideal for drag-and-drop "droplets".
* PVT: class for representing position, velocity, time data.
* 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.
* TkUtil: utility functions for working with Tkinter, including:
o getButtonNumbers: returns the button number for the left, middle and right button (taking into account the difference between Mac and unix vs Windows).
o addColors: add colors with scaling or scale a single color.
o colorOK: check the validity of a color.
o EvtNoProp: function wrapper that prevents even propagation.
o getWindowingSystem: get the windowing system; one of: WSysAqua, WSysX11 or WSysWin.
o TclFunc: register a python function as a tcl callback.
* Wdg: extensions of the standard Tkinter widgets and useful additional widgets. Almost all widgets support hot help strings (automatically displayed in a StatusBar, see below), linking to html htlp, a contextual menu, indication of severity level and indication of whether the data is current/defult. RO.Wdg widgets include:
o Bindings: various useful event bindings, including the ability to make Text and Entry widgets read-only while allowing the user to still copy data and bring up contextual menus. Also improves the standard bindings for Mac users.
o CmdWdg: widget for entering commands, with full command history. Often used with LogWdg (see below).
o Entry: entry widgets for integers, floats and sexagesimal (dd:mm:ss and hh:mm:ss) values. Includes range checking and (for sexagesimal values) the ability to omit fields.
o Gridder: simplifies gridding widgets that have a label, one or more data widgets and an optional units display. You supply the data display widgets and the gridder generates the label and units widget, auto-increments the row number and so on. The StatusConfigGridder does a similar job for displays that have the current values to the left and user-set new values to the right.
o HTTPGet: download files via http with a display of all current, past and queued transfers. The user may abort a transfer. Basically this is like a typical web browser's file transfer manager, though without the ability to resume an interrupted transfer.
o IsCurrentMixin: mixin class to add support for indicating whether data in a widget is "current" or the default value (depending on how you use it). Most RO.Wdg widgets offer isCurrent support using this mixin.
o Label: widgets for displaying strings, numbers and sexagesimal (dd:mm:ss and hh:mm:ss) values. Also may be set automatically by KeyVariables, and offers integrated support for Prefs.
o LogWdg: widget for displaying logged data. Messages of different severity may be color-coded and shown or hidden. Includes provision for filtering out uninteresting entries, highlighting interesting entries and for searching.
o OptionPanelControl: supports showing and hiding panels of optional controls. The idea is somewhat similar to that of a tabbed pane, but multiple optional panels can be shown at one time.
o RadiobuttonSet: a wrapper around Tkinter.Radiobutton with help, default and isCurrent handling.
o ScriptTk: a wrapper around Tkinter.Tk that creates the usual root window but also creates a separate script window, so you can mess with things while your application is running. Formerly ROStdTk.
o ScrolledWdg: scrollable panel of widgets.
o SeverityMixin: mixin class to add support for indicating the severity level of the data. Most RO.Wdg widgets offer severity support using this class.
o Sound: play sound files using the pygame library.
o StatusBar: automatically displays "hot help" strings for RO.Wdg widgets in the same TopLevel. Also displays other messages color-coded by severity. Finally, can automatically display status for a command (a KeyVariable.KeyCommand sent to a KeyDispatcher).
o Toplevel: allows you to easily create multi-windowing applications that remember window position and which windows were open or closed.


System Requirements:

В· Python
Program Release Status: Minor Update
Program Install Support: Install and Uninstall

Is RO your software?

Manage your software

Most Popular

linux default icon GDB 7.4
GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it... Read more
linux default icon Coral 0.9.1
Coral is a tool and a development platform to create and transform models and modeling languages.
linux default icon Forum Paid Plus Script 6.1
Forum Paid Pay Per Post Exchange is targeted at forum owners who wish to...
linux default icon sdo 0.6.5
Converts oracle SDO_GEOMETRY objects to WKT and GeoJSON.
linux default icon Get Paid Plus Script 6.1
Get Paid Plus Script

Related Category

» Other (877)
» Tools & Editors (359)
» Web Development (146)