Skip to main content

A simple asynchronous WebDAV client in Python.

Project description

SutoWebDav

A simple asynchronous WebDAV client in Python.

Installation

Install using pip:

pip install sutowebdav

Quick Start

import asyncio
from sutowebdav.client import DavClient
async def main():
    with DavClient('https://webdav.your-domain.com', username='myuser', password='mypass') as webdav:
        # Do some stuff:
        await webdav.mkdir('some_dir')
        await webdav.rmdir('another_dir')
        await webdav.download('remote/path/to/file', 'local/target/file')
        await webdav.upload('local/path/to/file', 'remote/target/file')
asyncio.run(main())

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

sutowebdav-0.2.1.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

sutowebdav-0.2.1-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file sutowebdav-0.2.1.tar.gz.

File metadata

  • Download URL: sutowebdav-0.2.1.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.10.4-arch2-1

File hashes

Hashes for sutowebdav-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0181ec0734f910adaf781b43763572a741f14ecdc0e41e48edd16063d9f5f193
MD5 bab7f962fb1195556d86f8da8d55a7df
BLAKE2b-256 0a4748303e5eaa6f66771820aeeb47e06488e825a645b9ae3dd2fb9965fbd113

See more details on using hashes here.

File details

Details for the file sutowebdav-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: sutowebdav-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.10.4-arch2-1

File hashes

Hashes for sutowebdav-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d62925bcd59521fca512274a30cef7e3b83b6a0c04273851b895f108f453adfb
MD5 7b6828047d7a89d950c375ada03682ae
BLAKE2b-256 3b7c41237925751bfc299e99b2c06aa6f13d0ae86d9eb39cdbf7342b1b15e657

See more details on using hashes here.

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