Skip to main content

Minimal WebDAV client in pure Python

Project description

uwebdavclient - (Micro) WebDAV client

About

Minimal WebDAV client in pure Python. Only GET, MKCOL, PROPFIND and PUT are supported. Consider webdavclient3 for more extensive support. The disk (container image) space gain by using this microscopic library is in the order of 15 MiB.

Installation

pip install uwebdavclient --user

Usage

from uwebdavclient.client import Client
options = {
    "webdav_hostname": "https://example.com",
    "webdav_login":    "login",
    "webdav_password": "password"
}
client = Client(options)
client.mkdir("test")
client.upload_sync("test/test.txt", "test.txt")
client.download_sync("test/test.txt", "test_copy.txt")

Contributing

All contributions are welcome. Bug reports, suggestions and feature requests can be reported by creating a new issue. Code and documentation contributions should be provided by creating a pull request (here is a good tutorial). Run make tidy-sources before committing and use imperative mood in commit messages.

License

Licensed under the GNU General Public License Version 3, refer to the file LICENSE for more information.

Project details


Download files

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

Source Distribution

uwebdavclient-0.0.2.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

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

uwebdavclient-0.0.2-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file uwebdavclient-0.0.2.tar.gz.

File metadata

  • Download URL: uwebdavclient-0.0.2.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.0.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for uwebdavclient-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4d3d36cd8131ebfd334ad3f3d5f6eb465771736316cc562748423f18ea38dca3
MD5 0a68b051d6ebf85001472f9301cf1e5f
BLAKE2b-256 f3633baa01093fae78f8b8673a6369f329fef571ea4ba2a16ca381804195586a

See more details on using hashes here.

File details

Details for the file uwebdavclient-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: uwebdavclient-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.0.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for uwebdavclient-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 728446e0b82ed915262c2f30d267faf4d236edaa7a64ad2df63383037cfef3bd
MD5 8158e478a0f841b794345776e9f4ac0f
BLAKE2b-256 d42ac873b82cd1480bbfbdd1df13772c6f27e4402ea510c937047dad75fbd091

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