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
By defult when you add task to queue the service is detected and use anonymous login if necessary
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.4.tar.gz
(13.8 kB
view details)
Built Distribution
aiodav-0.1.4-py3-none-any.whl
(13.9 kB
view details)
File details
Details for the file aiodav-0.1.4.tar.gz
.
File metadata
- Download URL: aiodav-0.1.4.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 282b47dc69f948366762253a24667f7973d6a2d72931cdeb4153bed0c335cf41 |
|
MD5 | 5911b3d38f82663097b6749a5e6041fb |
|
BLAKE2b-256 | 6f98884582242de2c99fdd88b3ed5940ca6256b9429691b02c23ea7099d44e0a |
Provenance
File details
Details for the file aiodav-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: aiodav-0.1.4-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 561500ba0211ea6075075a16d50c25364e2464216baf3e9ec7fd1ee166006609 |
|
MD5 | 1c1132a438da4c1f3ac2a2984328c787 |
|
BLAKE2b-256 | e3ec497f81eeb1ea3e4d3415e83a38ccfe2086d6aafa8e749feff9502959edf6 |