Metadata-Version: 2.4
Name: WsgiDAV
Version: 4.3.4
Summary: Generic and extendable WebDAV server based on WSGI
Home-page: https://github.com/mar10/wsgidav
Author: Martin Wendt
Author-email: wsgidav@wwwendt.de
Maintainer: Martin Wendt
Maintainer-email: wsgidav@wwwendt.de
License: MIT
Project-URL: Bug Tracker, https://github.com/mar10/wsgidav/issues
Project-URL: Source Code, https://github.com/mar10/wsgidav
Project-URL: Documentation, https://wsgidav.readthedocs.io
Project-URL: Download, https://github.com/mar10/wsgidav/releases/latest
Project-URL: Discussions, https://github.com/mar10/wsgidav/discussions
Keywords: web,wsgi,webdav,application,server
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: defusedxml
Requires-Dist: Jinja2
Requires-Dist: json5
Requires-Dist: PyYAML
Requires-Dist: passlib
Requires-Dist: bcrypt<5,>=4.0
Provides-Extra: pam
Requires-Dist: python-pam; extra == "pam"
Dynamic: license-file

# ![logo](https://raw.githubusercontent.com/mar10/wsgidav/master/docs/source/logo.png) WsgiDAV

[![Tests](https://github.com/mar10/wsgidav/actions/workflows/tests.yml/badge.svg)](https://github.com/mar10/wsgidav/actions/workflows/tests.yml)
[![Latest Version](https://img.shields.io/pypi/v/wsgidav.svg)](https://pypi.python.org/pypi/WsgiDAV/)
[![License](https://img.shields.io/pypi/l/wsgidav.svg)](https://github.com/mar10/wsgidav/blob/master/LICENSE)
[![Documentation Status](https://readthedocs.org/projects/wsgidav/badge/?version=latest)](http://wsgidav.readthedocs.io/)
[![codecov](https://codecov.io/gh/mar10/wsgidav/graph/badge.svg?token=0hNADSIxDz)](https://codecov.io/gh/mar10/wsgidav)
[![Released with: Yabs](https://img.shields.io/badge/released%20with-yabs-yellowgreen)](https://github.com/mar10/yabs)
[![Downloads](https://img.shields.io/pypi/dm/wsgidav.svg)](https://pypi.python.org/pypi/WsgiDAV/)

<!-- [![StackOverflow: WsgiDAV](https://img.shields.io/badge/StackOverflow-WsgiDAV-blue.svg)](https://stackoverflow.com/questions/tagged/WsgiDAV) -->
<!-- [![Edit online in vscode.dev](https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20Visual%20Studio%20Code&labelColor=2c2c32&color=007acc&logoColor=007acc) ](https://vscode.dev/github/mar10/wsgidav) -->

A generic and extendable [WebDAV](http://www.ietf.org/rfc/rfc4918.txt) server
written in Python and based on [WSGI](http://www.python.org/dev/peps/pep-3333/).

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:<br>

  ```log
  $ 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.<br>

- The [python-pam](https://github.com/FirefighterBlu3/python-pam) library is
  needed as extra requirement if pam-login authentication is used on Linux
  or OSX:

  ```bash
  $ pip install wsgidav[pam]
  $ wsgidav --host=0.0.0.0 --port=8080 --root=/tmp --auth=pam-login
  ```

- Windows users may prefer the
  [MSI Installer](https://github.com/mar10/wsgidav/releases/latest)
  (see <kbd>Assets</kbd> section), or use _winget_:

  ```ps1
  > winget install wsgidav
  ```

- Use with [Docker](https://hub.docker.com/r/mar10/wsgidav/): <br>
  An experimental Docker image that exposes a local directory using WebDAV
  is available here:

  ```bash
  $ docker pull mar10/wsgidav
  $ docker run --rm -it -p <PORT>:8080 -v <ROOT_FOLDER>:/var/wsgidav-root mar10/wsgidav
  ```

  for example::

  ```bash
  $ docker run --rm -it -p 8080:8080 -v /tmp:/var/wsgidav-root mar10/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.<br>

- WsgiDAV is implemented as a configurable stack of WSGI middleware
  applications.<br>
  Its open architecture allows to extend the functionality and integrate
  WebDAV services into your project.<br>
  Typical use cases are:
  - Expose data structures as virtual, editable file systems.
  - Allow online editing of MS Office documents.

## Status

[![Latest Version](https://img.shields.io/pypi/v/wsgidav.svg)](https://pypi.python.org/pypi/WsgiDAV/)
See the ([change log](https://github.com/mar10/wsgidav/blob/master/CHANGELOG.md)) for details.

**Note:** Release 4.0 introduces some refactorings and breaking changes.<br>
See the ([change log](https://github.com/mar10/wsgidav/blob/master/CHANGELOG.md)) for details.

## More info

- [Read The Docs](http://wsgidav.rtfd.org) for details.
- [Discussion Group](https://github.com/mar10/wsgidav/discussions)
- [Stackoverflow](http://stackoverflow.com/questions/tagged/wsgidav)

## Credits

Contributors:

- WsgiDAV is a [refactored version](https://github.com/mar10/wsgidav/blob/master/docs/source/changelog04.md)
  of [PyFileServer 0.2](https://github.com/cwho/pyfileserver),
  Copyright (c) 2005 Ho Chun Wei.<br>
  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!<br>
Have fun :-)<br>
Martin
