Home Company Services Products Quality Downloads Careers Contacts
 
 
 

Downloads and Other Links

RADLogic uses the Python Language extensively in the development of internal design support tools and also in the development of software applications that support products we have designed. In this section we have placed useful modules that we provide for others who have similar needs.

disc_tools

This is a Python package for creating verifiable CD/DVD images. These tools are used as a frontend for or to provide input to mkisofs.

Main goals:

  • make ISO images that are verifiable at the individual file level
  • provide support for splitting data across multiple disc images
  • preserve file ownerships and permissions as much as possible

This package is released under the GPL license.

spice_cat

Generate single concatenated spice with expanded inlude/lib statements.

This script is released under the GPL license.

topsort

Topological (dependency) sorting and cycle-finding functions.

The topsort function is based on code posted on Usenet by Tim Peters.

Modifications:

  • added doctests
  • changed some parts to use current Python idioms
  • added a topsort_levels version that ports items in each dependency level into a sub-list
  • added find_cycles to aid in cycle debugging

This module is released under the LGPL license.

rad_util

A collection of utility functions such as int2bin, bin2int, transpose, gray_encode, gcf, lcm, permutations, reduce_fraction, etc.

This module is released under the MIT/X11 license.

lookup_table

Define a multidimensional lookup table class and functions for doing piece-wise-linear table lookups.

This module is released under the LGPL license.

seven_segs

Generate seven segment display element settings for displaying characters.

This module is released under the LGPL license.

run_doctest

Run doctests contained in a given module from the command-line.

This script is released under the MIT/X11 license.

profile_it and profile_stats

Run the python profiler over a given module or script from the command-line, without the need to modify the code.

These scripts are released under the MIT/X11 license.

generate_nsis_file_list

Generate NSIS file statements for all files under a given directory. This is helpful for generating install scripts that provide proper uninstall functionality.

NSIS is the Nullsoft Scriptable Installer System. It is an open source program for generating installers/uninstallers for Windows.

This script is released under the MIT/X11 license.

radwikiedit

Edit MoinMoin wiki pages from the command line or from Emacs. This accesses the wiki via the webform and uses cookies for authentication.

Requires:

These scripts are released under the GPL license:

enum_meta

This Python module provides a metclass-based approach to providing enumerated types in Python. Enumerated types are defined by define a subclass of the Enum class, with the class attributes defined the enumerated values. Dictionary style methods are also provided for things such as accessing and iterating over the enumeration values. Enumerated type classes can be further subclassed and/or merged. Once enumerated type classes have been defined, they cannot easily be modified.

Example of use:

>>> class Season(Enum):
...    summer = 'Summer'
...    autumn = 'Autumn'
...    winter = 'Winter'
...    spring = 'Spring'

>>> this_season = Season.spring
>>> Season.values()
['Summer', 'Autumn', 'Winter', 'Spring']

This requires Python 2.2 or greater.

This module is released under a BSD style license.

two_way_dict

This Python module provides a dictionary-style object with reverse-lookup capabilities. The integrity of the two-way mapping is maintained (must be a one-to-one) mapping. Extra methods are provided for reverse look-up such as key, get_key, has_value and reversed_items.

This requires Python 2.2 or greater.

This module is released under a BSD style license.

Python23_support

This is a Python module that aids in backporting applications written for Python 2.3 to 2.2.

The purpose of backporting Python programs to Python 2.2 is to allow greater compatibility with existing Python installations. For example, Python 2.2 compatibility means that Python applications will be compatible with widely used Linux distibutions such as Red Hat 9/8.0/7.3 and Fedora Core 1 straight out of the box.

This module is released under a BSD style license.

The following package formats are available:

Useful Links

cell RADLogic logo