{
"info": {
"author": "lexich",
"author_email": "lexich121@gmail.com",
"bugtrack_url": null,
"classifiers": [],
"description": "yandex-disk-webdav\n==================\n\nSimple wrapper to work with yandex disk using webdav Basic Auth.\nCompatible python 2.6, 2.7, 3\n\nInstall\n=======\n\n `pip `_ install\n `yandexwebdav `_\n\nOr\n\n `easy\\_install `_\n `yandexwebdav `_\n\nOr manual way\n\n python setup.py install\n \nSource code\n\n `github `_ \n\nUsing API\n=========\n\n conf = Config({ \"user\":\"<-- username -->\", \"password\":\"<-- password\n -->\" })\n\n conf.list(u\"/\") # list files and folder in root folder at remote\n server\n\n conf.sync(u\"local folder\", u\"remote folder for upload files from\n local folder\")\n\n conf.mkdir(u\"path to remote folder, which you need to create\")\n\n conf.download(u\"path to remote file which your need to download\")\n #function return file in bytearray\n\n conf.downloadTo(u\"path to remote file which your need to download\",\n u\"local path to save file\"):\n\n conf.delete(u\"Delete remote file\")\n\n conf.upload(u\"path to local file\", u\"remote path for uploading\n file\")\n\nUsing interactive tool\n======================\n\n $ ydw.py -h\n\n Usage: ydw.py [options]\n\n Options:\n\n -h, --help show this help message and exit\n\n --list list of files and directories at remote server\n\n --sync synchronize folder\n\n --mkdir create remote folder\n\n --download Download file to localstorage\n\n --delete Delete file from remote server\n\n --upload Upload file from localpath to remote server\n\n -l LOCAL, --local=LOCAL local path\n\n -r REMOTE, --remote=REMOTE remote path\n\nExample\n-------\n\nAfter first execution is appearead interactive configurator. You need to\ninput your yandex name {username}@{ya.ru\\|yandex.ru} password, host\n{webdaw.yandex.ru} and limit of threads, which used in parralel folder's\nsync. Config saves in ~/.yandexwebdavconf\n\nList remote dir\n~~~~~~~~~~~~~~~\n\n $ ydw.py --list -r //\n\n 05-12-13 00:43 - list /\n\n 05-12-13 00:43 - list(0): /\n\n Folder: /test/\n\n File: /test.png\n\n File: /test.mp4\n\nSync local and remote folders\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n $ ydw.py --sync -l /d/share/test -r //test\n\n 05-12-13 00:49 - sync /test\n\n 05-12-13 00:49 - sync: d:/share/test /test\n\n 05-12-13 00:49 - list(0): /test\n\n 05-12-13 00:49 - mkdir(0): /test\n\n 05-12-13 00:49 - upload(0): d:/share/test.txt /test/test.txt\n\nCreate dir\n~~~~~~~~~~\n\n $ ydw.py --mkdir -r //test1\n\n 05-12-13 00:49 - mkdir /test1\n\n 05-12-13 00:49 - mkdir(0): /test1\n\nDownload file\n~~~~~~~~~~~~~\n\n $ ydw.py --download -l /d/share/test/test1.txt -r //test/test.txt\n\n 05-12-13 00:51 - download d:/share/test/test1.txt //test/test.txt\n\n 05-12-13 00:51 - downloadTo(0): //test/test.txt\n d:/share/test/test1.txt\n\nDelete file\n~~~~~~~~~~~\n\n $ ydw.py --delete -r //test/test.txt\n\n 05-12-13 00:52 - delete //test/test.txt\n\n 05-12-13 00:52 - delete(0): //test/test.txt\n\nUpload file\n~~~~~~~~~~~\n\n $ ydw.py --upload -l /d/share/test/test.txt -r //test/test.txt\n\n 05-12-13 00:53 - upload d:/share/test/test.txt //test/test.txt\n\n 05-12-13 00:53 - upload(0): d:/share/test/test.txt //test/test.txt",
"description_content_type": null,
"docs_url": "https://pythonhosted.org/yandexwebdav/",
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/lexich/yandex-disk-webdav",
"keywords": null,
"license": "MIT",
"maintainer": null,
"maintainer_email": null,
"name": "yandexwebdav",
"package_url": "https://pypi.org/project/yandexwebdav/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/yandexwebdav/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/lexich/yandex-disk-webdav"
},
"release_url": "https://pypi.org/project/yandexwebdav/0.2.11/",
"requires_dist": null,
"requires_python": null,
"summary": "Simple wrapper to work with yandex disk using webdav Basic Auth",
"version": "0.2.11"
},
"last_serial": 967490,
"releases": {
"0.2.10": [
{
"comment_text": "",
"digests": {
"md5": "346bc15e55aecccec87bf3865541d777",
"sha256": "5601a2964ea0de5178c22d9036b45195f46948479997ae0faa43536fda46279f"
},
"downloads": -1,
"filename": "yandexwebdav-0.2.10.tar.gz",
"has_sig": false,
"md5_digest": "346bc15e55aecccec87bf3865541d777",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7163,
"upload_time": "2013-07-30T13:13:33",
"url": "https://files.pythonhosted.org/packages/aa/9a/c98ca47c389fb5390b86aa5c3217cff3f540969f81841e06b4b22612748f/yandexwebdav-0.2.10.tar.gz"
}
],
"0.2.11": [
{
"comment_text": "",
"digests": {
"md5": "18223432c09f9d26c7f47413737fec9f",
"sha256": "712166290fc412f01c7e665896072ec2e540285d747013209d62a71c55a27739"
},
"downloads": -1,
"filename": "yandexwebdav-0.2.11.tar.gz",
"has_sig": false,
"md5_digest": "18223432c09f9d26c7f47413737fec9f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7114,
"upload_time": "2014-01-13T12:55:13",
"url": "https://files.pythonhosted.org/packages/8b/61/5eda55dc50d4b96d7a1d818289af3f3380a1ce69bbea487712955e28688f/yandexwebdav-0.2.11.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "18223432c09f9d26c7f47413737fec9f",
"sha256": "712166290fc412f01c7e665896072ec2e540285d747013209d62a71c55a27739"
},
"downloads": -1,
"filename": "yandexwebdav-0.2.11.tar.gz",
"has_sig": false,
"md5_digest": "18223432c09f9d26c7f47413737fec9f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7114,
"upload_time": "2014-01-13T12:55:13",
"url": "https://files.pythonhosted.org/packages/8b/61/5eda55dc50d4b96d7a1d818289af3f3380a1ce69bbea487712955e28688f/yandexwebdav-0.2.11.tar.gz"
}
]
}