ASGIWebDAV-1.3.2
توضیحات
An asynchronous WebDAV server implementation, support multi-provider.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ASGIWebDAV-1.3.2 |
| نام | ASGIWebDAV |
| نسخه کتابخانه | 1.3.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Rex Zhang |
| ایمیل نویسنده | rex.zhang@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/ASGIWebDAV/ |
| مجوز | MIT |
# ASGI WebDAV Server

[](https://pypi.org/project/ASGIWebDAV)

[](https://codecov.io/gh/rexzhang/asgi-webdav)
[](https://github.com/psf/black)
[](https://lgtm.com/projects/g/rexzhang/asgi-webdav)
[](https://hub.docker.com/r/ray1ex/asgi-webdav)
[](https://github.com/rexzhang/asgi-webdav/releases)
An asynchronous WebDAV server implementation, Support multi-provider, multi-account and permission control.
## Features
- [ASGI](https://asgi.readthedocs.io) standard
- WebDAV standard: [RFC4918](https://www.ietf.org/rfc/rfc4918.txt)
- Support multi-provider: FileSystemProvider, MemoryProvider
- Support multi-account and permission control
- Support optional home directory
- Support store password in raw/hashlib/LDAP(experimental) mode
- Full asyncio file IO
- Passed all [litmus(0.13)](http://www.webdav.org/neon/litmus) test, except 2 warning
- Browse the file directory in the browser
- Support HTTP Basic/Digest authentication
- Support response in Gzip/Brotli
- Compatible with macOS finder and Window10 Explorer
## Python Version
v3.10+
## Quickstart
[中文手册](https://rexzhang.github.io/asgi-webdav/zh/)
```shell
docker pull ray1ex/asgi-webdav
docker run -dit --restart unless-stopped \
-p 8000:8000 \
-e UID=1000 -e GID=1000 \
-v /your/data:/data \
--name asgi-webdav ray1ex/asgi-webdav
```
## Default Account
| | value | description |
|------------|------------|---------------------------------|
| username | `username` | - |
| password | `password` | - |
| permission | `["+"]` | Allow access to all directories |
## View in Browser

## Documentation
[Github Page](https://rexzhang.github.io/asgi-webdav/)
## TODO
- Digest auth support
- SQL database provider
- Test big(1GB+) file in MemoryProvider
- display server info in page `/_/admin` or `/_/`
- OpenLDAP
- Fail2ban(docker)
- NFSProvider
- logout at the web page
- Fix MemoryProvider with macOS finder(create new file)
- rewrite MemoryProvider with mmap
- generate template URL for share(read only)
## Related Projects
- https://github.com/bootrino/reactoxide
نیازمندی
| مقدار | نام |
|---|---|
| ==22.1.0 | aiofiles |
| ==0.5.0 | ASGIMiddlewareStaticFile |
| ==0.12.0 | xmltodict |
| - | pydantic |
| - | arrow |
| - | chardet |
| - | Brotli |
| - | click |
| ==1.5.0 | bonsai |
| - | uvicorn |
| - | uvloop |
| - | httptools |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl ASGIWebDAV-1.3.2:
pip install ASGIWebDAV-1.3.2.whl
نصب پکیج tar.gz ASGIWebDAV-1.3.2:
pip install ASGIWebDAV-1.3.2.tar.gz