Skip to main content

Generic and extendable WebDAV server based on WSGI

Project description

logo WsgiDAV

Build Status Latest Version License Documentation Status Code style: black Released with: Yabs StackOverflow: WsgiDAV

Experimental: Open in Visual Studio Code

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.

  • python-pam is needed if using pam-login on Linux or OSX:

    $ pip install python-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).

  • 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

Latest Version See the (change log) for details.

Note: Release 4.0 introduces some refactorings and breaking changes.
See the (change log) for details.

More info

Credits

Contributors:

Any kind of feedback is very welcome!
Have fun :-)
Martin

Download files

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

Source Distribution

WsgiDAV-4.0.0a2.tar.gz (140.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

WsgiDAV-4.0.0a2-py3-none-any.whl (171.3 kB view details)

Uploaded Python 3

File details

Details for the file WsgiDAV-4.0.0a2.tar.gz.

File metadata

  • Download URL: WsgiDAV-4.0.0a2.tar.gz
  • Upload date:
  • Size: 140.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for WsgiDAV-4.0.0a2.tar.gz
Algorithm Hash digest
SHA256 c135f41d4a5f85253caf12f1ccae589a7060690f3ecac7bda33ce14ba730848a
MD5 de5b2be1534a9d1c6a47c7ca63c14c52
BLAKE2b-256 e0564359d67e9d27dda001b70b8cd313975b46f4f1a6eaae2cf0db40a4a7b85c

See more details on using hashes here.

File details

Details for the file WsgiDAV-4.0.0a2-py3-none-any.whl.

File metadata

  • Download URL: WsgiDAV-4.0.0a2-py3-none-any.whl
  • Upload date:
  • Size: 171.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for WsgiDAV-4.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 b9dc5e839fbb23b99467e44004e406fd4027af694598820d6ab505829dd1cf7c
MD5 e8d82ccba8db95781a15d84f6f21dee0
BLAKE2b-256 9f78eee3b2b5588a127c19598a0c2721c9a1f0f6ccb4ccf3d8a4c30c4b240bd1

See more details on using hashes here.

Supported by

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