Skip to content

Suto-Commune/sutowebdav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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())

About

A simple asynchronous WebDAV client in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages