Python client for MogileFS

Justin Azoff JAzoff at uamail.albany.edu
Wed Sep 5 16:11:11 UTC 2007


Jonathan Share wrote:
> Hi,
> 
> In the archives I found the link to this
> 
> http://www.albany.edu/~ja6447/mogilefs.py
> 
> Just a couple of points of feedback for anyone searching.
> 
> 1) Would it be possible to have the dependency of pycurl listed at the
> top of the file (no big deal really)

Using pycurl might even be overkill... may be worthwhile to benchmark
pycurl vs. urllib and see if it is even faster.

> 2) When importing in Python 2.5 I get the following error
> 
> mogilefs.py:83: DeprecationWarning: The sre module is deprecated, please
> import re.

Fixed :-)

> Off to go and see if it actually works now, you'll hear from me if there
> are any problems ;-)
> 
> Jon

It should work!  Let me know if it doesn't :)
It could definitely use some cleanups, and I believe there are a ton of
methods that need to be added to the Admin class.

-- 
-- Justin Azoff
-- Network Performance Analyst


More information about the mogilefs mailing list