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 details)
Built Distribution
aiodav-0.1.12-py3-none-any.whl
(14.3 kB
view details)
File details
Details for the file aiodav-0.1.12.tar.gz
.
File metadata
- Download URL: aiodav-0.1.12.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad6eb3b95f473afc329c4f9081a3510f0bf84171f5d9c6773a09b6e515f464e8 |
|
MD5 | 8500c7db2459549f1a50dca0be10be29 |
|
BLAKE2b-256 | de8a663fa9bea27c0085f58294652dbca806ce03e650d1af433c58e9ae851b92 |
File details
Details for the file aiodav-0.1.12-py3-none-any.whl
.
File metadata
- Download URL: aiodav-0.1.12-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5afdd65918c01f716e6cc6a673f5118e85adeb7127a0eb1c70bcb748f0b025a |
|
MD5 | e2c693f17cd668c083c1dac4c0f109a4 |
|
BLAKE2b-256 | ac20e20015cdc7912ffbf10ee43bd8eddec821bed02a4558514d37b668912b4b |