{ "info": { "author": "Mike Kazantsev", "author_email": "mk.fraggod@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Plugins", "Framework :: Twisted", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 2 :: Only", "Topic :: Internet", "Topic :: System :: Archiving", "Topic :: System :: Filesystems" ], "description": "txOneDrive\n----------\n\n**Deprecation Notice:** this module uses obsolete API and wasn't\nmaintained for a while, use official\n`onedrive-sdk-python `__\nmodule or something built on it instead.\n\nTwisted-based python async interface for `OneDrive API (version\n5.0) `__\n(formerly known as SkyDrive).\n\nAPI is mostly the same as in\n`python-onedrive `__ module\n(txOneDriveAPI class maps to OneDriveAPIWrapper, txOneDrive to\nOneDriveAPI) - methods are re-used directly from classes there, so more\ninfo on these can be found in that project.\n\nKey difference from synchronous python-onedrive module is that all\nmethods return twisted Deferred objects as scheduled to run by event\nloop, allowing to run multiple operations (like large file uploads)\nconcurrently within one python process.\n\nService was called SkyDrive prior to 2014-02-19, when it got renamed to\nOneDrive. This package similarly renamed from txskydrive to txonedrive.\n\nUsage Example\n-------------\n\nFollowing script will print listing of the root OneDrive folder, upload\n\"test.txt\" file there, try to find it in updated folder listing and then\nremove it.\n\n::\n\n from twisted.internet import defer, reactor\n from txonedrive.api_v5 import txOneDrivePersistent\n\n @defer.inlineCallbacks\n def do_stuff():\n api = txOneDrivePersistent.from_conf()\n\n # Print root directory (\"me/skydrive\") listing\n print list(e['name'] for e in (yield api.listdir()))\n\n # Upload \"test.txt\" file from local current directory\n file_info = yield api.put('test.txt')\n\n # Find just-uploaded \"test.txt\" file by name\n file_id = yield api.resolve_path('test.txt')\n\n # Check that id matches uploaded file\n assert file_info['id'] == file_id\n\n # Remove the file\n yield api.delete(file_id)\n\n do_stuff().addCallback(lambda ignored: reactor.stop())\n reactor.run()\n\nNote that txOneDriveAPIPersistent convenience class uses Microsoft\nLiveConnect authentication data from \"~/.lcrc\" file, which must be\ncreated as described in more detail `in python-onedrive\ndocs `__.\n\nInstallation\n------------\n\nIn case you've missed Deprecation Notice at the start of this file:\n\n- **DO NOT USE** this project for anything new, use official\n `onedrive-sdk-python `__\n instead.\n\nIt's a regular package for Python 2.7 (not 3.X).\n\nUsing `pip `__ is the best way:\n\n::\n\n % pip install txonedrive\n\nIf you don't have it, use:\n\n::\n\n % easy_install pip\n % pip install txonedrive\n\nAlternatively (`see\nalso `__):\n\n::\n\n % curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python\n % pip install txonedrive\n\nOr, if you absolutely must:\n\n::\n\n % easy_install txonedrive\n\nBut, you really shouldn't do that.\n\nCurrent-git version can be installed like this:\n\n::\n\n % pip install 'git+https://github.com/mk-fg/txonedrive.git#egg=txonedrive'\n\nNote that to install stuff in system-wide PATH and site-packages,\nelevated privileges are often required. Use \"install --user\",\n`~/.pydistutils.cfg `__\nor `virtualenv `__ to do\nunprivileged installs into custom paths.\n\nRequirements\n~~~~~~~~~~~~\n\n- `Python 2.7 (not 3.X) `__\n\n- `Twisted `__ (core, web, at least 12.2.0)\n\n- `python-onedrive `__", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mk-fg/txonedrive", "keywords": "onedrive,skydrive,twisted,async,api,oauth2,rest,microsoft,cloud,live,liveconnect,json,storage,storage provider,file hosting", "license": "WTFPL", "maintainer": null, "maintainer_email": null, "name": "txOneDrive", "package_url": "https://pypi.org/project/txOneDrive/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/txOneDrive/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mk-fg/txonedrive" }, "release_url": "https://pypi.org/project/txOneDrive/15.10.0/", "requires_dist": null, "requires_python": null, "summary": "Obsolete twisted-based python async interface for old MS OneDrive API", "version": "15.10.0" }, "last_serial": 1784939, "releases": { "14.04.0": [ { "comment_text": "", "digests": { "md5": "a5e5763e2fcce046caf4f3666cfa9e91", "sha256": "73e130a735ea3084ddb0a73b3b4e17142994870314ee29e989cf1e597b28a0ac" }, "downloads": -1, "filename": "txOneDrive-14.04.0.tar.gz", "has_sig": true, "md5_digest": "a5e5763e2fcce046caf4f3666cfa9e91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9769, "upload_time": "2014-04-09T14:17:28", "url": "https://files.pythonhosted.org/packages/99/32/8d83cbecadade9d15b19690943d5314c74c302bfdecb1b91c515a9d5dd0a/txOneDrive-14.04.0.tar.gz" } ], "14.05.0": [ { "comment_text": "", "digests": { "md5": "621186a772036249da5c839dd1e76a76", "sha256": "0c1a2590817bdd75a6ecd7bbdffd86ec85f3802718c038ffd76d67c60e5da84a" }, "downloads": -1, "filename": "txOneDrive-14.05.0.tar.gz", "has_sig": true, "md5_digest": "621186a772036249da5c839dd1e76a76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9677, "upload_time": "2014-05-13T06:51:56", "url": "https://files.pythonhosted.org/packages/6a/55/35f24662bab7edd3e2ba1ed99db54b2a29a2305b2e09f012e1f7028a1b8a/txOneDrive-14.05.0.tar.gz" } ], "15.10.0": [ { "comment_text": "", "digests": { "md5": "6daf2a0e654a02cb9bb085cac622449e", "sha256": "373d3ef86539c69b13bd0a51f35137fa05479ce12d4afbe67aba38d93c4d7cd9" }, "downloads": -1, "filename": "txOneDrive-15.10.0.tar.gz", "has_sig": true, "md5_digest": "6daf2a0e654a02cb9bb085cac622449e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9949, "upload_time": "2015-10-25T05:48:38", "url": "https://files.pythonhosted.org/packages/69/39/28dd277b95d8513aecec1bbcca9fa03eba9ec9e6351cd1c5f5503ddf0371/txOneDrive-15.10.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6daf2a0e654a02cb9bb085cac622449e", "sha256": "373d3ef86539c69b13bd0a51f35137fa05479ce12d4afbe67aba38d93c4d7cd9" }, "downloads": -1, "filename": "txOneDrive-15.10.0.tar.gz", "has_sig": true, "md5_digest": "6daf2a0e654a02cb9bb085cac622449e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9949, "upload_time": "2015-10-25T05:48:38", "url": "https://files.pythonhosted.org/packages/69/39/28dd277b95d8513aecec1bbcca9fa03eba9ec9e6351cd1c5f5503ddf0371/txOneDrive-15.10.0.tar.gz" } ] }