Skip to main content

WebDav Implementation

This drb-driver-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.driver.
The implementation name is webdav.
The factory class is encoded into drb.driver.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-driver-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.drivers.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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drb_driver_webdav-1.3.1.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drb_driver_webdav-1.3.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file drb_driver_webdav-1.3.1.tar.gz.

File metadata

  • Download URL: drb_driver_webdav-1.3.1.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/8.5.0 pkginfo/1.12.1.2 requests/2.27.1 requests-toolbelt/1.0.0 tqdm/4.68.3 CPython/3.8.20

File hashes

Hashes for drb_driver_webdav-1.3.1.tar.gz
Algorithm Hash digest
SHA256 e06de628fc87a2b37cc18b3a9ce428b312ddb3b394a533ead4532086315818c2
MD5 051c6aa37aa2e8f7ec4e9573bfcc100a
BLAKE2b-256 b43be44bb54e214d336baccfd62b1dd25aeed1d4a98ae730547b07768fff576b

See more details on using hashes here.

File details

Details for the file drb_driver_webdav-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: drb_driver_webdav-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/8.5.0 pkginfo/1.12.1.2 requests/2.27.1 requests-toolbelt/1.0.0 tqdm/4.68.3 CPython/3.8.20

File hashes

Hashes for drb_driver_webdav-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b57f6bdd9000503c3ad76f7b9e8f83a3bfc06187899f8753b4e16973d82f4ef8
MD5 9e6ccc7f04dd715abdc25e2d095504cc
BLAKE2b-256 cfeb17296c8b88f0263695a0dd7ac486b1fd1b09f4e216e89b79c62fc3bef549

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page