Skip to main content

A Python Async WebDAV Client

Project description

Python Async WebDAV Client

Quality Gate Status Maintainability Rating 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.9.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

aiodav-0.1.9-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiodav-0.1.9.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for aiodav-0.1.9.tar.gz
Algorithm Hash digest
SHA256 d5c738e77c1fc8164878d99481434c15542b0076ae4e3a0ab39c5a0818b79ff4
MD5 9d372804af5aeb419299e1278c9975c3
BLAKE2b-256 e9165e7f4f4f4324cdaffc305e999c502ae82fd535fd2fc90dac5d1344d2c8d6

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: aiodav-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for aiodav-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 74fda6f826160c8ca9fa55765e7977d736a6542c15b48a8ac3c90e2b9272ce87
MD5 24004e90a5af900292c9e4e483217d12
BLAKE2b-256 6db437d444f790d0002ecb3f219c900ca17cd5f9d25e13cfc30fb476e8e18931

See more details on using hashes here.

Provenance

Supported by

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