Skip to main content

A Python Async WebDAV Client

Project description

Python Async WebDAV Client

PyPI Downloads PyPI - Python Version

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

MIT License

Project details


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.14.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiodav-0.1.14-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file aiodav-0.1.14.tar.gz.

File metadata

  • Download URL: aiodav-0.1.14.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for aiodav-0.1.14.tar.gz
Algorithm Hash digest
SHA256 d61e66db7d87f21ea5f8086df05b6539b3a16ee23b69e5cc0e2ce27839e2eaf5
MD5 5abd862fdb23a8ec6be4a978d4ee51f2
BLAKE2b-256 7bfbd168657433944a21b440bfde23cd4ec95495a6cc1cc8bfce9603aa798485

See more details on using hashes here.

File details

Details for the file aiodav-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: aiodav-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for aiodav-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 eed39064d13aba194a42d8b25d66d0c76dfe02ba3fa1814683451510d4d6f52d
MD5 71e474c309501f5f5b28a40ed548e1a9
BLAKE2b-256 398876f7103543bdaed2ffc16dbbf2a06a9e7d91ae17d82bc6603e6d074367df

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page