Skip to main content

Clent for Yandex.Disk

Project description


Client for Yandex.Disk based on WebDav.


pip install YaDiskClient

Source code


Using API

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

disk.df() # show used and available space # list of files/folder with attributes
disk.mkdir(path) # create directory

disk.rm(path) # remove file or directory
disk.cp(src, dst) # copy from src to dst, dst) # move from src to dst

disk.upload(src, dst) # upload local file src to remote file dst, dst) # download remote file src to local file dst

disk.publish_doc(path) # return public url
disk.hide_doc(path) # remove public url form Yandex Disk


For run tests:
  1. Set Yandex username and password in file tests/
  2. python -m unittest discover -s tests -t tests

Project details

Download files

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

Files for YaDiskClient, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size YaDiskClient-0.5.0.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page