DataMatrix 0.5

2008 September 19
by Einar

At last, since it’s been like ages, I decided to put out a new version of DataMatrix. For those who haven’t seen my previous post, DataMatrix is a Pythonic implementation of R’s data.frame. It enables you to manipulate a text file by columns or rows, to your liking, using a dictionary-like syntax.

In this new version there have been a few improvements and correction to a couple bugs (for example saveMatrix did not really save) and the start (only a stub at the moment) of an append function to add more columns (I’ll also think about a function to add rows).

DataMatrix is licensed under the GNU GPL, version 2 only. You can download the installer (Windows) or the source distribution (Linux and other *nixes). The only requirement is Python 2.5 or later installed on your system.

The README currently is a stub, but you can browse the pydoc generated documentation, which details how to instantiate and use DataMatrix objects (or you can turn to my older post).

Also, since git is the new “cool feature of the day”, DataMatrix is is hosted on github’s repository, and you can grab the source with

git clone git://github.com/cswegger/datamatrix.git

Comments and suggestions are welcome. I’ll be putting a static page on DataMatrix tomorrow, if time permits.

5 Responses leave one →
  1. 2008 October 22

    Thank you, I’ll follow it on github.

    Can you add some doctest string (see doctest module) to the code? I found them very useful to understand how to use it.
    If you add me as a ‘collaborator’ (my username is dalloliogm), I’ll add you some suggestions (when I’ll have time)

  2. 2008 October 22

    I went ahead and added you. Regarding doctest, tests were next on the queue but I didn’t have time to work on it. I’ll see what I can do in the next week.
    BTW, if you do any modifications to the code, don’t forget to add your name as per copyright information.

  3. 2008 October 27

    Hi,
    I left you some suggestions on github… just to try git :).

    I think you should add doctests to your module, I find them very useful when you have to understand how to use a module.

    Moreover, check the code for when you use a filehandler like StringIO instead of a file.

    congratulations for the job :)

  4. 2008 October 27

    ah sorry, I forgot I already told you about doctest :).
    For the copyrigth, don’t mind, since mine are very minor suggestions :)

  5. 2008 October 28

    I added your name anyway. 8P For the rest, I think I figured out some of the quirks, I’ll see about fixing them soon.

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS