Download Modules on Demand with Resolverforge

Resolverforge implements a 'require' function that you can place before imports. If the required module is not available then it will be downloaded. A Windows Forms message box is used to ask the user to confirm the download.

Resolverforge was implemented for the Resolver One spreadsheet program, but should work fine with any IronPython code where Windows Forms is available. (i.e. not inside ASP.NET!)
This is only a client-side implementation. Currently it fetches individual Python files from a respository on the Resolverhacks site (although the repository it uses is configurable). At some point there will be a companion website for uploading modules to.

Comments

Popular posts from this blog

Extending Abobe Flash Player and AIR with Python and Ruby

Should Python Projects Support IronPython and Jython?

Further Adventures of the Debugger