A asynchronous WebDAV client that use asyncio
Based on webdavclient3
We periodically publish source code and wheels on PyPI.
pip install aiodav
For install the most updated version:
git clone https://github.com/jorgeajimenezl/aiodav.git
cd aiodav
pip install -e .
from aiodav import Client
import asyncio
async def main():
async with Client('https://webdav.server.com', login='juan', password='cabilla') as client:
space = await client.free()
print(f"Free space: {space} bytes")
async def progress(c, t):
print(f"{c} bytes / {t} bytes")
await client.download_file('/remote/file.zip',
'/local/file.zip',
progress=progress)
asyncio.run(main())