Clent for Yandex.Disk
Project description
YaDiskClient
Client for Yandex.Disk based on WebDav.
Install
pip install YaDiskClient
or
or
python setup.py install
Source code
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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file YaDiskClient-0.1.tar.gz.
File metadata
- Download URL: YaDiskClient-0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66622bed3e8a3fe936ee6dc619776b291f7f1e8510f41a8f6e4ab5ff41ebac77
|
|
| MD5 |
5d70773977d79de9f29b63bec08c618d
|
|
| BLAKE2b-256 |
7d645951d08469957b32bea97f24d56989a3a1d0663c0717aa8ac566cb8d9da5
|