Minimal WebDAV client in pure Python. Only GET
, MKCOL
, PROPFIND
and PUT
are supported. Consider
webdavclient3 for more
extensive support. The disk (container image) space gain by using
this microscopic library is in the order of 15 MiB.
pip install uwebdavclient --user
from uwebdavclient.client import Client
options = {
"hostname": "https://example.com",
"login": "login",
"password": "password"
}
client = Client(options)
client.mkdir("test")
client.upload_sync("test/test.txt", "test.txt")
client.download_sync("test/test.txt", "test_copy.txt")
All contributions are welcome. Bug reports, suggestions and feature
requests can be reported by creating a new
issue. Code and documentation
contributions should be provided by creating a pull
request (here is a good
tutorial).
Run make tidy-sources
before committing and use imperative mood in
commit messages.
Licensed under the GNU General Public License Version 3, refer to the file LICENSE for more information.