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
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
sutowebdav-0.2.1.tar.gz
(15.4 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0181ec0734f910adaf781b43763572a741f14ecdc0e41e48edd16063d9f5f193 |
|
MD5 | bab7f962fb1195556d86f8da8d55a7df |
|
BLAKE2b-256 | 0a4748303e5eaa6f66771820aeeb47e06488e825a645b9ae3dd2fb9965fbd113 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d62925bcd59521fca512274a30cef7e3b83b6a0c04273851b895f108f453adfb |
|
MD5 | 7b6828047d7a89d950c375ada03682ae |
|
BLAKE2b-256 | 3b7c41237925751bfc299e99b2c06aa6f13d0ae86d9eb39cdbf7342b1b15e657 |