remote module importing (urlimport)



Hi,

as title implies, I wrote a simple module that allows importing modules or even packages via http, conceptually similar to zipimport (of which I learned about during the process of writing urlimport, and found it very useful).

The module is fresh new as it was written today, and tested only on a few packages (moinmoin wiki and twisted).

The motives: well, I kinda like the idea of having python modules available in an instant everywhere python and internet is, no pre-usage download required, especially when you need modules from different versions of python. Besides, I hope this will be a valid faculty project that I have to do. :)

This module is heavily based on specification and examples from PEP 302.

It can be found at: http://urlimport.codeshift.net/

Comments are welcome :)

Long live python.

regards,
Jure

.



Relevant Pages

  • remote module importing (urlimport)
    ... as title implies, I wrote a simple module that allows importing modules or even packages via http, conceptually similar to zipimport. ... The module is fresh new as it was written today, and tested only on a few packages. ... well, I kinda like the idea of having python modules available in an instant everywhere python and internet is, no pre-usage download required, especially when you need modules from different versions of python. ...
    (comp.lang.python)
  • Re: Cheese Shop -> BSOL?
    ... people complained about how nearly every Python ... not being able to scan long lists of packages comfortably, ... look at distinctively named packages, we can see that they often ... of the technology, is sensibly avoided in this case. ...
    (comp.lang.python)
  • Re: mac grapher for linux
    ... means a lot of extra packages). ... Let me put in a plug for ROOT. ... Or if you prefer Python over C++, you can instead (after installing the ...
    (Debian-User)
  • Re: mac grapher for linux
    ... means a lot of extra packages). ... Let me put in a plug for ROOT. ... Or if you prefer Python over C++, you can instead (after installing the ...
    (Debian-User)
  • Re: xmlrpclib hangs execution
    ... the Python command line 'hangs' until I kill the server. ... 'str': 'Connection accepted. ... At this point, Python 'hangs' until I kill the server, and then these last packages are send: ...
    (comp.lang.python)