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.0.tar.gz
(15.4 kB
view details)
Built Distribution
File details
Details for the file sutowebdav-0.2.0.tar.gz
.
File metadata
- Download URL: sutowebdav-0.2.0.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 | a2425035649d1553d2443254fbbe4c8715e2c9c0341fa465dcdaf235693d1de5 |
|
MD5 | 9780da2ffa8d99d800f7ae00421eb94e |
|
BLAKE2b-256 | 3961e556a3ad7e36f3b20fede77624ff49659c7a8769d578b0b9055e86a62d88 |
File details
Details for the file sutowebdav-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: sutowebdav-0.2.0-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 | 441351c6d42c72e27bbef67764826e6ca2011b67cda92be0f93903779ad96c94 |
|
MD5 | 89de365f22d0a09eb0e4fbf1cc7d34c9 |
|
BLAKE2b-256 | 933dd79247c9567e5eff54ba76f5006cd7fd2314962fb579f5d63f53925e029d |