A Python Async WebDAV Client
Project description
Python Async WebDAV Client
A asynchronous WebDAV client that use asyncio
Based on webdavclient3
Installation
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 .
Getting started
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())
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiodav-0.1.12.tar.gz
(13.9 kB
view hashes)
Built Distribution
aiodav-0.1.12-py3-none-any.whl
(14.3 kB
view hashes)