--- id: webdav4 version: "0.11.0" license: MIT license_treatment: permissive maintenance: active --- # webdav4 — WebDAV client library with an fsspec-based filesystem and a CLI License: permissive · Maintenance: active · Downloads: 532.8K/mo ## What it is and what it does webdav4 is a Python library for interacting with WebDAV servers. It provides a straightforward client API for common operations like checking file existence, listing directories, uploading, and downloading files. The library wraps these operations with httpx for HTTP communication and python-dateutil for timestamp handling. Beyond the core client, webdav4 offers two optional interfaces: an fsspec integration that presents WebDAV storage as a standard filesystem abstraction (useful for code that expects a generic file-system-like API), and a command-line tool for direct server interaction. The package is actively maintained, supports Python 3.8 through 3.14, and carries no known security vulnerabilities. Use it for: - Automate file uploads and downloads to a WebDAV-enabled server from Python scripts or applications - Integrate WebDAV storage with tools expecting an fsspec-compatible filesystem backend - Build server-side file management workflows that check existence, list, and manipulate remote documents - Use the CLI for ad-hoc WebDAV operations without writing Python code - Sync or mirror files between local storage and a WebDAV server in batch processes ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A WebDAV client library that provides a Python API, optional fsspec filesystem integration, and a CLI tool for interacting with WebDAV servers. Yes. webdav4 is actively maintained, carries no security vulnerabilities, has low install friction, and provides a clean API for WebDAV operations. The optional fsspec integration and CLI add flexibility. It is suitable for projects needing reliable WebDAV client functionality in Python. ## Install pip install webdav4 uv add webdav4 poetry add webdav4 ## Installing webdav4 Before you install: Low friction install with only two runtime dependencies (httpx and python-dateutil). Active maintenance with recent commits and a stable release history since 2021. License in practice: MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects. Quickstart: pip install webdav4 from webdav4.client import Client client = Client("https://webdav.com", auth=("username", "password")) client.exists("Documents/Readme.md") client.upload_file("Gorilla.jpg", "Photos/Gorilla.jpg") Verify before relying: - Whether WebDAV server compatibility covers all common implementations (e.g., Nextcloud, OwnCloud, Apache, Sharepoint) - Performance characteristics for large file transfers or operations on servers with many files - Whether authentication methods beyond basic auth (e.g., OAuth, certificate-based) are supported ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 532.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags webdav client library, webdav file operations, fsspec webdav backend, webdav command line tool, remote file access webdav, webdav upload download, webdav filesystem api, webdav, file-sync, fsspec-backend [View on SkillFed](https://skillfed.io/packages/webdav4) · [View on PyPI](https://pypi.org/project/webdav4/)