Skip to main content

Clent for Yandex.Disk

Project description

YaDiskClient

Client for Yandex.Disk based on WebDav.

Install

pip install YaDiskClient

or

easy_install YaDiskClient

or

python setup.py install

Source code

github

Using API

from YaDiskClient import YaDisk
disk = YaDisk(login, password)

disk.df() # show used and available space
disk.ls(path) # list of files/folder with attributes
disk.mkdir(path) # create directory
disk.rm(path) # delete file or directory
disk.cp(src, dst) # copy from src to dst
disk.mv(src, dst) # move from src to dst
disk.upload(src, dst) # upload local file src to remote file dst
disk.download(src, dst) # download remote file src to local file dst

Tests

For run tests set Yandex username and password in file TestYaDisk.py.

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

YaDiskClient-0.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Supported by

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