Re: A question about uripath.py

js wrote:
> I found uripath.py at w3.org.
> (http://dev.w3.org/cvsweb/2000/10/swap/uripath.py)
> This seems what I'm looking for.
> So i like to know more about this.
> 
> What status is this?
> Any plan to incorporate this into Python's stdlib or package?

As far as I know, Dan Connolly and TimBL are actively maintaining uripath.py. 
I don't know how well-tested it is.

There's also the one I worked on, which is very well-tested:

  http://cvs.4suite.org/viewcvs/4Suite/Ft/Lib/Uri.py

It's not standalone, but is not tightly bound to 4Suite, either ... the RFC 
3986 related functions just use a custom Exception class.

As for its status, 4Suite development comes in flurries of activity, with long 
periods of no activity in between. However, if there are any problems that 
need to be fixed, we'll usually fix them quickly in CVS for eventual release.


As for Python's stdlib, about once a year, there is interest on the python-dev 
list for updating or extending urllib, urllib2, and urlparse. This year, 
someone was working on it for the Google Summer of Code, but I don't think 
anything concrete or widely acceptable has emerged from that effort. Please 
check the mailing list archives before bringing up the topic there again;
there has been some disagreement over how best to proceed, especially when 
dealing with 'file' URIs.


So, for now, you must use either uripath.py, which I believe is under the W3C 
license(?) since it's part of the Tabulator project; or extract what you need 
from 4Suite's Uri.py, which is under an Apache license (but that's 
negotiable).

Received on Monday, 17 September 2007 03:02:15 UTC