DRB Web-based Distributed Authoring and Versioning driver
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file drb-driver-webdav-1.3.0.tar.gz
.
File metadata
- Download URL: drb-driver-webdav-1.3.0.tar.gz
- Upload date:
- Size: 29.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/6.8.0 pkginfo/1.9.6 requests/2.27.1 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7aec7613f174ca1dd1b37c7298f89809f6f55b1ed057dc395705017f0f9a044 |
|
MD5 | 134f8de4b143de383ce3d3857d9aa617 |
|
BLAKE2b-256 | 2b97b307da1e89aa1b9b92af653bd38643160ff95bd537342186237f5a41aaef |
File details
Details for the file drb_driver_webdav-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: drb_driver_webdav-1.3.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/6.8.0 pkginfo/1.9.6 requests/2.27.1 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 310a9a55d630a4a1e2c9239f81661534a4e49cb22bba886d51cc78e6df9c9d53 |
|
MD5 | 5513f51edb48452ea5d06b9e427f8015 |
|
BLAKE2b-256 | 20e61453a8cd5932d746d8f2d477357d961bc792fee55377843e548fe167ed00 |