Does anyone know of a Python WebDAV library?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andrew James

    #1

    Does anyone know of a Python WebDAV library?

    All,
    I've been trying to find a generic WebDAV library (possibly with the
    extra versioning extensions) in Python for a project I'm developing with
    mod_python. Ideally, I'm looking for one which which wraps around the
    XML and lets you instantiate classes for each request, like:

    req = PropFindRequest (myRequestText)
    resp = PropFindRespons e(files)

    I've found two possibilities so far:

    http://comlounge.net/webdav/ - DAVServer

    and

    http://sandbox.xerox.com/webdav/ - Python WebDAV Server

    Neither of these projects provides the sort of interface that I'm
    looking for, and neither seems to be currently maintained. I'd rather
    not roll my own library if I can avoid it - can anyone point me in the
    direction of some existing work or (preferably) a current project?

    I will buy the owner of the winning response a drink should he/she ever
    come to London...

    Many thanks.
    Andrew

    --
    Andrew James <drew@gremlinho sting.com>

  • Guy Robinson

    #2
    Re: Does anyone know of a Python WebDAV library?

    Tou could strip out the twisted stuff, or just use twisted with this:



    HTH,

    Guy

    Andrew James wrote:[color=blue]
    > All,
    > I've been trying to find a generic WebDAV library (possibly with the
    > extra versioning extensions) in Python for a project I'm developing with
    > mod_python. Ideally, I'm looking for one which which wraps around the
    > XML and lets you instantiate classes for each request, like:
    >
    > req = PropFindRequest (myRequestText)
    > resp = PropFindRespons e(files)
    >
    > I've found two possibilities so far:
    >
    > http://comlounge.net/webdav/ - DAVServer
    >
    > and
    >
    > http://sandbox.xerox.com/webdav/ - Python WebDAV Server
    >
    > Neither of these projects provides the sort of interface that I'm
    > looking for, and neither seems to be currently maintained. I'd rather
    > not roll my own library if I can avoid it - can anyone point me in the
    > direction of some existing work or (preferably) a current project?
    >
    > I will buy the owner of the winning response a drink should he/she ever
    > come to London...
    >
    > Many thanks.
    > Andrew
    >[/color]

    Comment

    • nbjelicic@gmail.com

      #3
      Re: Does anyone know of a Python WebDAV library?

      If you are looking for some client code you can find it in zope tree,
      client.py I think, also look at
      http://www.infrae.com/download/pydavclient and webdav.org
      (http://www.lyra.org/greg/) hosts webdav client library

      Comment

      Working...