Skip to main content

WebDav Implementation

This drb-impl-webdav module implements the webdav protocol access with DRB data model.

WebDav Factory and WebDav Node

The module implements the factory model defined in DRB in its node resolver. Based on the python entry point mechanism, this module can be dynamically imported into applications.

The entry point group reference is drb.impl.
The implementation name is webdav.
The factory class is encoded into drb_impl_webdav.drb_impl_webdav.
The webdav signature id is ee1b4fc6-8da0-11ec-b909-0242ac120002

The Webdav can be instantiated from an uri, the hostname and a set of optional options. The ParsedPath class provided in drb core module can help to manage these inputs.

Using this module

The project is present in https://www.pypi.org service. it can be freely loaded into projects with the following command line:

pip install drb-impl-webdav

Access Data

DrbWebdavNode manages the webdav protocol to access remote data. The construction parameter is the host url and a set of optional argument.

from drb_impl_webdav import DrbWebdavNode

# Anonymous connection
node = DrbWebdavNode(webdav_hostname="hostname")

# Basic Auth connection
node = DrbWebdavNode(webdav_hostname="hostname",
                     webdav_login='user',
                     webdav_password='password'
                     )

# Certificate connection
node = DrbWebdavNode(webdav_hostname="hostname",
                     webdav_login='user',
                     webdav_password='password',
                     webdav_cert_path='/etc/ssl/certs/certificate.crt',
                     webdav_key_path='/etc/ssl/private/certificate.key'
                     )

Webdav protocol allows navigation inside the webdav server. To do so this implementation is able to provide children of the same DrbWebdavNode type.

Authentication

Required key is host name or IP address of the WevDAV-server with param name webdav_hostname. For authentication in WebDAV server use webdav_login, webdav_password. For an anonymous login do not specify auth properties. When a proxy server you need to specify settings to connect through it with proxy_hostname, proxy_login and proxy_password. If you want to use the certificate path to certificate and private key use webdav_cert_path and webdav_key_path.

Limitations

None

Documentation

The documentation of this implementation can be found here https://drb-python.gitlab.io/impl/webdav

Metadata

Release files for drb-impl-webdav 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drb-impl-webdav 1.0.0
File Size Uploaded
drb-impl-webdav-1.0.0.tar.gz 21.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drb-impl-webdav 1.0.0
File Interpreter ABI Platform
drb_impl_webdav-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.7 kB

Release files / drb-impl-webdav-1.0.0.tar.gz

Download URL drb-impl-webdav-1.0.0.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b74572803f334b34350f5df04bf0397ca47fce355a559bbef9d71412ae9d15b4
BLAKE2b-256 checksum
How to use checksums
7d351566c22e3c4775b84f8707a89b99ff9d1b24db16feeeb118886586a96f41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.11.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

Release files / drb_impl_webdav-1.0.0-py3-none-any.whl

Download URL drb_impl_webdav-1.0.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e3a77dc056768ab2185edd23eb1e64560b98ce6ed4b209d20a8b0d1d564b4e4
BLAKE2b-256 checksum
How to use checksums
a3d8ced914677882a46f8e88477f99b0c93cc4127d2da4eb8f15525e63a0bb09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.11.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page