Wednesday, January 07, 2009

Show Me the Code

As promised, a small collection of links showing people doing useful, interesting or just plain odd things with IronPython.
This first post definitely falls into the odd category. Steve Gilham continues his experiments using the Swing Java UI toolkit from IronPython. This time he creates Python code that runs unmodified on the JVM (with Jython) or the CLR (with IronPython).

He also attempts the same thing with Ruby, using JRuby and IronRuby. It's hard to tell whether there are fundamental problems with his approach on IronRuby or whether it just needs to mature.
Apparently Infer.NET is: "a .NET framework for machine learning. It provides state-of-the-art message-passing algorithms and statistical routines for performing Bayesian inference. It has applications in a wide variety of domains, including information retrieval, bioinformatics, epidemiology, vision, and many others."

Larry O'Brien shows some very simple example code using Infer.NET from IronPython to create an InferenceEngine and predict the probabilities of results when tossing coins.
I needed to find some files without restoring to the desktop search UI – this IronPython script implements a very simple search that uses System.Data.OleDb* to query the Windows Desktop Search catalog.
This simple recipe can be pasted and used from the interactive interpreter. The blog entry includes references if you want to dig deeper.
Inspired by Dive into Python, David Seruyange explores using the Python standard library module sgmllib from IronPython (for processing HTML - pushing data into a database).
IronPython is quickly becoming my scripting language of choice. I really like it. It’s easy to work with and I am getting work done with it. And, in spite of my best efforts, I am even starting to learn Python (a major 2009 goal).
JP Hamilton is using IronPython for build scripts and creating tools. This blog entry shows a script that checks out files from Team Foundation Server source code control. He has created a utility module "tfs.py" that can be used from the console.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.