Skip to main content

fs.webdavfs

fs.webdavfs is a WebDAV driver for PyFileSystem2.

Supported Python versions

  • Python 2.7

  • Python 3.5

  • Python 3.6

  • Python 3.7

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('.'))
....

For WebDAV over HTTPS you can use either webdav:// with port 443

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

or webdavs://:

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

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.4.3 (2023/06/21)

  • Merge pull request #34 from davelopez/avoid_entire_file_in_memory Avoid loading entire file in memory

  • Get file size from remote info

0.4.2 (2021/03/10)

  • added caching support [joequant]

0.4.1 (2021/03/09)

  • fixes merge conflict

0.4.0 (2021/03/09)

  • fixes situation where there is no display name [joequant]

  • use webdavclient3 [joequant]

  • fix non-standard ports for webdav [joequant]

0.3.8 (2020/06/25)

  • fixed port handling for webdavs:// in opener [ajung]

0.3.7 (2019/04/29)

  • fixed testsuite [ajung]

0.3.6 (2019/04/29)

  • support for webdavs:// opener protocol [ajung]

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

Release files for fs.webdavfs 0.4.3

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

Source distribution (sdist)

Source distribution for fs.webdavfs 0.4.3
File Size Uploaded
fs.webdavfs-0.4.3.tar.gz 8.3 kB Details

Release files / fs.webdavfs-0.4.3.tar.gz

Download URL fs.webdavfs-0.4.3.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1655140aa4b5c0e3c364c0fd17c954f8f0db314e6cb029769a1e1040f42c6148
BLAKE2b-256 checksum
How to use checksums
358114f4ac485a78743bfae038b2080f769be5fdb388a39495eb886bb9b5d93f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.17

Release history Release notifications | RSS feed

0.4.3.1

1 release file

This release

0.4.3 This release

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.8

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.5.3

1 release file

0.3.5.2

1 release file

0.3.5

1 release file

0.3.4.3

1 release file

0.3.4.2

1 release file

0.3.4.1

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2.2

1 release file

0.3.2.1

1 release file

0.3.2

1 release file

0.3.1.1

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1

1 release file

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