Skip to main content

WebDAV support for pyfilesystem2

Project description

fs.webdavfs

fs.webdavfs is a WebDAV driver for PyFileSystem2.

Supported Python versions

  • Python 2.7

  • Python 3.5

  • Python 3.6

Usage

Use the fs.open_fs method with the webdav:// protocol:

>>> import fs
>>> handle = fs.open_fs('webdav://admin:admin@zopyx.com:22082/exist/webdav/db')

or use the public constructor of the WebDAVFS class:

>>> from webdavfs.webdavfs import WebDAVFS
>>> url = 'http://zopyx.com:22082'
>>> root = '/exist/webdav/db'
>>> handle = WebDAVFS(url, login='admin', password='admin', root)
>>> handle.makedir('foo')
>>> print(handle.listdir('.'))
....

Repository

Issue tracker

Tests

Author and contributors

License

This module is published under the MIT license.

This module was sponsored and financed by Andreas Jung/ZOPYX

Contact

Andreas Jung/ZOPYX
Hundskapfklinge 33
D-72074 Tübingen
www.zopyx.com

Release notes

0.3.5 (2018/08/06)

  • fixed return type of getinfo() dates due to strong checks in fs > 2.0.27

0.3.4 (2018/04/16)

  • merged PR #14 (openbin not raising ResourceNotFound on missing parent) [ajung, althonos]

0.3.3 (2017/12/29)

  • fixed issue with hardcoded http method in opener.py [ajung]

0.3.2 (2017/11/13)

  • details/modified + details/created are correctly converted according to the PyFilesystem2 docs to datetime [ajung]

0.3.1 (2017/10/19)

  • fixed LICENSE file (MIT)

0.3.0 (2017/10/16)

0.2.0 (2017/05/04)

  • new testing infrastructure on Travis using Docker images for testing against Python 2.7-3.6

0.1.0 (2017/04/10)

  • initial release

Project details


Download files

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

Source Distribution

fs.webdavfs-0.3.5.2.zip (14.2 kB view details)

Uploaded Source

File details

Details for the file fs.webdavfs-0.3.5.2.zip.

File metadata

  • Download URL: fs.webdavfs-0.3.5.2.zip
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for fs.webdavfs-0.3.5.2.zip
Algorithm Hash digest
SHA256 172101e83549a212d3f2fe07ed6172997c608df84f4b4a858c885e5e45953e5e
MD5 c2f65c43a22af5e17f4abb943bcfbf4e
BLAKE2b-256 f11c666ec3c276794dd507b4428e08a2a1acaa7fcbc779c07e1f7d822906e021

See more details on using hashes here.

Supported by

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