Skip to main content

A straight-forward WebDAV client, ported from easywebdav to use aiohttp.

Project description

This project started as a port of the requests-based EasyWebDAV ( ) to asyncio on Python 3.5. It has since been extended with additional features.


  • Basic authentication
  • Creating directories, removing directories and files
  • Uploading and downloading files
  • Directory listing
  • Support for client side SSL certificates
  • Fragmented download (multiple chunks in simultaneous streams)
  • MD5 checksum validation when used with OwnCloud/Nextcloud webdav
  • Progress tracking/reporting via callback system


Install using distribute:

pip install aioeasywebdav

Quick Start

import aioeasywebdav
loop = asyncio.get_event_loop()

# Start off by creating a client object. Username and
# password may be omitted if no authentication is needed.
webdav = aioeasywebdav.connect('', username='myuser', password='mypass')

# Do some stuff:

async def fn():
    await'/remote/path/to/file', '/local/target/file')
    await webdav.upload('/local/path/to/file', '/remote/target/file')

Client object API

The API is pretty much self-explanatory:

mkdir(path, safe=False)
rmdir(path, safe=False)
upload(local_path_or_fileobj, remote_path)
download(remote_path, local_path)

Using clientside SSL certificate

webdav = aioeasywebdav.connect('',
# Do some stuff:

Please note that all options and restriction regarding the “cert” parameter from Requests API apply here as the parameter is only passed through!

Developing aioEasyWebDAV

Working with a virtual environment is highly recommended:

virtualenv --no-site-packages aioeasywebdav_dev
source aioeasywebdav_dev/bin/activate

Installing the library in development-mode:

EASYWEBDAV_DEV=1 python develop

The first part of the command causes to install development dependencies, in addition to the normal dependencies.

Running the tests:

nosetests --with-yanc --nologcapture --nocapture tests

Running the tests with WebDAV server logs:

WEBDAV_LOGS=1 nosetests --with-yanc --nologcapture --nocapture -v tests

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aioeasywebdav, version 2.4.0
Filename, size File type Python version Upload date Hashes
Filename, size aioeasywebdav-2.4.0-py3-none-any.whl (10.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size aioeasywebdav-2.4.0.tar.gz (15.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page