webdav4
Webdav API with an (optional) fsspec implementation and a CLI.
Installation
$ pip install webdav4
Usage
webdav4 Client
from webdav4.client import Client
client = Client("https://webdav.com", auth=("username", "password"))
client.exists("Documents/Readme.md")
client.ls("Photos", detail=False)
client.upload_file("Gorilla.jpg", "Photos/Gorilla.jpg")
Check out Client API reference for more information.
fsspec
fsspec tries to provide a
consistent APIs to different storage backends, by defining standard
interfaces, so that other code using them could operate without depending
on the implementations of the backends. This package, in the same way,
wraps the above webdav client with a consistent file-system API.
To use it, you need to install fsspec additionally which you can do as
follows:
$ pip install webdav4[fsspec]
from webdav4.fsspec import WebdavFileSystem
fs = WebdavFileSystem("https://webdav.com", auth=("username", "password"))
fs.exists("Documents/Readme.md")
fs.ls("Photos", detail=False)
Check out WebdavFileSystem API reference for more information.
CLI
webdav4 also provides a CLI similar to aws s3 to make it easier to work with webdav servers.
Please checkout CLI Usage for more information.
Contributing
Contributions are welcome. Please take a look at Contributing Guide for more details.
Metadata
Release files for webdav4 0.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| webdav4-0.11.0.tar.gz | 228.9 kB | Without provenance | Details for webdav4-0.11.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| webdav4-0.11.0-py3-none-any.whl | Python 3 | none | any | Details for webdav4-0.11.0-py3-none-any.whl |
Total release size: 265.5 kB
Release files / webdav4-0.11.0.tar.gz
| Download URL | webdav4-0.11.0.tar.gz |
|---|---|
| Size | 228.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7062c6640e0520bfbd49862bdd335db839e519bf2ca02cd4f89957069ed600ea
|
|
BLAKE2b-256 checksum How to use checksums |
bb2d3d20527d81b25ef039ac92c15f4b9c8760b099e4e0fbf2b1d5d24ef78c3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / webdav4-0.11.0-py3-none-any.whl
| Download URL | webdav4-0.11.0-py3-none-any.whl |
|---|---|
| Size | 36.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a8690a919bf65b90b5f8159e29b4465bd82d926ea8f334a9c70ba6cd88f52f1
|
|
BLAKE2b-256 checksum How to use checksums |
a572274a2a641fd7b14a5ad3191cfec31dc65db857da107340863bbfda9b1682
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for webdav4 0.11.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.