webdav4-0.9.8


توضیحات

WebDAV client library with an fsspec-based filesystem and a CLI
ویژگی مقدار
سیستم عامل -
نام فایل webdav4-0.9.8
نام webdav4
نسخه کتابخانه 0.9.8
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Saugat Pachhai <suagatchhetri@outlook.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/webdav4/
مجوز -
# webdav4 [![PyPi](https://img.shields.io/pypi/v/webdav4.svg)](https://pypi.org/project/webdav4) [![Conda](https://img.shields.io/conda/v/conda-forge/webdav4.svg?label=conda&logo=conda-forge)](https://anaconda.org/conda-forge/webdav4) [![Status](https://img.shields.io/pypi/status/webdav4.svg)](https://pypi.org/project/webdav4) [![Python Version](https://img.shields.io/pypi/pyversions/webdav4)](https://pypi.org/project/webdav4) ![ci](https://github.com/skshetry/webdav4/workflows/CI/badge.svg) Webdav API with an (optional) [fsspec](#fsspec) implementation and a [CLI](#cli). ## Installation ```console $ pip install webdav4 ``` ### Usage #### webdav4 Client ```python 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](docs/reference/client.md) reference for more information. #### fsspec [`fsspec`](https://filesystem-spec.readthedocs.io) 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](#webdav4-client) with a consistent file-system API. To use it, you need to install `fsspec` additionally which you can do as follows: ```console $ pip install webdav4[fsspec] ``` ```python 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](docs/reference/fsspec.md) reference for more information. #### CLI webdav4 also provides a CLI similar to `aws s3` to make it easier to work with webdav servers. ![cli-usage](docs/_static/usage.png) Please checkout [CLI Usage](docs/reference/cli.md) for more information. ### Contributing Contributions are welcome. Please take a look at [Contributing Guide](CONTRIBUTING.md) for more details.


نیازمندی

مقدار نام
- httpx<1,>=0.20
- python-dateutil>=2.8.1
xtr fsspec>=2021.7;
xtr httpx[http2]<1,>=0.20;
xtr cheroot;
xtr colorama;
xtr fsspec>=2021.7;
ython_versio furo==2024.8.6;
ython_versio furo==2025.12.19;
xtr httpx[http2]<1,>=0.20;
ython_versio mypy==1.14;
ython_versio mypy==1.19.1;
xtr myst-parser<6,>=3;
xtr pre-commit;
xtr pytest;
xtr pytest-cov;
xtr pytest-xdist;
xtr sphinx-copybutton==0.5.2;
xtr sphinx<10,>=7;
xtr types-colorama;
xtr types-python-dateutil;
xtr typing-extensions;
xtr wsgidav;
ython_versio furo==2024.8.6;
ython_versio furo==2025.12.19;
xtr myst-parser<6,>=3;
xtr sphinx-copybutton==0.5.2;
xtr sphinx<10,>=7;
xtr fsspec>=2021.7;
xtr httpx[http2]<1,>=0.20;
ython_versio mypy==1.14;
ython_versio mypy==1.19.1;
xtr pre-commit;
xtr types-colorama;
xtr types-python-dateutil;
xtr cheroot;
xtr colorama;
xtr pytest;
xtr pytest-cov;
xtr pytest-xdist;
xtr typing-extensions;
xtr wsgidav;


زبان مورد نیاز

مقدار نام
>=3.8 Python


نحوه نصب


نصب پکیج whl webdav4-0.9.8:

    pip install webdav4-0.9.8.whl


نصب پکیج tar.gz webdav4-0.9.8:

    pip install webdav4-0.9.8.tar.gz