Generic and extendable WebDAV server based on WSGI
Project description
WsgiDAV
Open in Visual Studio Code (experimental)
A generic and extendable WebDAV server written in Python and based on WSGI.
Main features:
-
WsgiDAV is a stand-alone WebDAV server with SSL support, that can be installed and run as Python command line script on Linux, OSX, and Windows:
$ pip install wsgidav cheroot $ wsgidav --host=0.0.0.0 --port=80 --root=/tmp --auth=anonymous Running without configuration file. 10:54:16.597 - INFO : WsgiDAV/4.0.0-a1 Python/3.9.1 macOS-12.0.1-x86_64-i386-64bit 10:54:16.598 - INFO : Registered DAV providers by route: 10:54:16.598 - INFO : - '/:dir_browser': FilesystemProvider for path '/Users/martin/prj/git/wsgidav/wsgidav/dir_browser/htdocs' (Read-Only) (anonymous) 10:54:16.599 - INFO : - '/': FilesystemProvider for path '/tmp' (Read-Write) (anonymous) 10:54:16.599 - WARNING : Basic authentication is enabled: It is highly recommended to enable SSL. 10:54:16.599 - WARNING : Share '/' will allow anonymous write access. 10:54:16.813 - INFO : Running WsgiDAV/4.0.0-a1 Cheroot/8.5.2 Python 3.9.1 10:54:16.813 - INFO : Serving on http://0.0.0.0:80 ...
Run
wsgidav --help
for a list of available options. -
The python-pam library is needed as extra requirement if pam-login authentication is used on Linux or OSX:
$ pip install wsgidav[pam] $ wsgidav --host=0.0.0.0 --port=8080 --root=/tmp --auth=pam-login
-
Note: Windows users may prefer the MSI Installer (see Assets section), or use winget:
> winget install wsgidav
-
WebDAV is a superset of HTTP, so WsgiDAV is also a performant, multi-threaded web server with SSL support.
-
WsgiDAV is also a Python library that implements the WSGI protocol and can be run behind any WSGI compliant web server.
-
WsgiDAV is implemented as a configurable stack of WSGI middleware applications.
Its open architecture allows to extend the functionality and integrate WebDAV services into your project.
Typical use cases are:- Expose data structures as virtual, editable file systems.
- Allow online editing of MS Office documents.
Status
See the (change log) for details.
Note: Release 4.0 introduces some refactorings and breaking changes.
See the (change log) for details.
More info
- Read The Docs for details.
- Discussion Group
- Stackoverflow
Credits
Contributors:
- WsgiDAV is a refactored version
of PyFileServer 0.2,
Copyright (c) 2005 Ho Chun Wei.
Chun gave his approval to change the license from LGPL to MIT-License for this project. - https://github.com/mar10/wsgidav/contributors
- Markus Majer for providing the logo (a mixture of the international maritime signal flag for 'W (Whiskey)' and a dove.)
Any kind of feedback is very welcome!
Have fun :-)
Martin
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 wsgidav-4.3.3.tar.gz
.
File metadata
- Download URL: wsgidav-4.3.3.tar.gz
- Upload date:
- Size: 168.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f0ad71bea72def3018b6ba52da3bcb83f61e0873c27225344582805d6e52b9e |
|
MD5 | a2110b518de6c3d5ba49b67cf2e93f2d |
|
BLAKE2b-256 | a1f49c89e3e41dc7762cbb005d1baf23381718c7b13607236eacda23b855a288 |
File details
Details for the file WsgiDAV-4.3.3-py3-none-any.whl
.
File metadata
- Download URL: WsgiDAV-4.3.3-py3-none-any.whl
- Upload date:
- Size: 165.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d96b0f05ad7f280572e99d1c605962a853d715f8e934298555d0c47ef275e88 |
|
MD5 | 9f469552487fe2470ff4a0c965ce1597 |
|
BLAKE2b-256 | bb8e04fb92513f4deab0f9bf4bdeeebc74f12d4de75ff00ad213c69983fc6563 |