{ "info": { "author": "Chirag Shetty", "author_email": "nurdtechie98@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "

\n \n \"Briefly-logo\"\n

\n\n

Drive Cli

\n\n
\n\n[![PyPI version](https://badge.fury.io/py/drive-cli.svg)](https://badge.fury.io/py/drive-cli)\n[![Python version](https://img.shields.io/badge/python-3.4+-blue.svg)](https://www.python.org/download/releases/3.4.0/)\n[![Build Status](https://travis-ci.org/nurdtechie98/drive-cli.svg?branch=dev)](https://travis-ci.org/nurdtechie98/drive-cli)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n

Get the ability to access Google Drive without leaving your terminal.

\n\n
\n\n-----------------------------------------\n### Inspiration\n\n* Google Drive has become a vital part of our day to day life. As much as non-programmers use it, so do programmers in several situations, where we need not use git/github. \n\n* Drive-CLI is a command-line utility for google drive which helps you access, sync, download, upload, etc. directly to your drive without leaving the command-line. The best part being the commands are similar to git CLI so that you can easily remember them :massage: \n\n------------------------------------------\n### Features\n\n- `view-files`: list your files; filter them by name, type.\n- `clone`: download file/folder from drive using sharing link or file ID and get it linked.\n- `add-remote`: upload existing local file to drive and get it linked.\n- `cat`: view files contents of text format without actually downloading them.\n- `rm`: remove particular file or folder.\n- `ls`: list all the files present in the drive of equivalent current directory.\n- `status`: list changes made to local files since last push or pull.\n- `pull`: get latest changes from drive to local files.\n- `push`: push the local changes to drive.\n\n------------------------------------------\n### Demo\n

\n \n

\n\n\n------------------------------------------\n### Installation\n* For Usage\n```sh\n #install using pip \n $ pip install drive-cli\n```\n* For Development\n * clone the repo\n ```sh\n $ git clone https://github.com/nurdtechie98/drive-cli.git\n ```\n * get your `client_secret.json` from [Oauth](https://console.cloud.google.com/apis/credentials/oauthclient). Make sure to enable [Drive Api](https://console.cloud.google.com/apis/library/drive.googleapis.com?q=Drive) for the project.\n * rename the client secret to `oauth.json` and place it in the [drive_cli](./drive_cli) directory.\n * install the package:\n ```sh\n # move into package directory\n $ cd drive-cli\n # install package in edit mode\n $ pip install -e . #note the dot\n ```\n\n------------------------------------------\n### Usage\n\n#### Clone\nDownload a file or folder present in drive using its file id or its sharing link. In case it is a folder it gets tracked.\n\n```sh\n# using file id note: since it is google doc it will be asked for a choice to select from\n$ drive clone 1syTNkfXoc3pzpJSL0Z5LDioTFc46_LjzHjDDUvk90ks\nChoose type to export to\n (ENTER to select, s to stop):\n\n => pdf\n txt\n doc\n zip\n html\n rtf\n odt\nPreparing: watson script for download\ndownloading file [####################################] 100%\ncompleted download of watson script\n\n# using file sharing link\n$ drive clone https://docs.google.com/document/d/1syTNkfXoc3pzpJSL0Z5LDioTFc46_LjzHjDDUvk90ks\nChoose type to export to\n (ENTER to select, s to stop):\n\n => pdf\n txt\n doc\n zip\n html\n rtf\n odt\nPreparing: watson script for download\ndownloading file [####################################] 100%\ncompleted download of watson script\n\n```\n\nfor further in depth documetation checkout our [wiki](https://github.com/nurdtechie98/drive-cli/wiki/How-to-use-%3F).\n\n------------------------------------------\n### Uninstalling\n\n```sh\n $ pip uninstall drive-cli\n```\n------------------------------------------\n### Contributing\n\n * We're are open to `enhancements` & `bug-fixes` :smile:. Take a look [here](./Contributing.md) to get started\n * Feel free to add issues and submit patches\n\n------------------------------------------\n### Author\nChirag Shetty - [nurdtechie98](https://github.com/nurdtechie98)\n\nSee also the list of [contributors](https://github.com/nurdtechie98/drive-cli/graphs/contributors) who participated in this project.\n\n------------------------------------------\n### License\nThis project is licensed under the MIT - see the [LICENSE](./LICENSE) file for details.\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nurdtechie98/drive-cli", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "drive-cli", "package_url": "https://pypi.org/project/drive-cli/", "platform": "", "project_url": "https://pypi.org/project/drive-cli/", "project_urls": { "Homepage": "https://github.com/nurdtechie98/drive-cli" }, "release_url": "https://pypi.org/project/drive-cli/2.0.0/", "requires_dist": [ "requests (==2.21.0)", "click (==7.0)", "colorama (==0.4.1)", "pick (==0.6.4)", "google-api-python-client (==1.7.8)", "oauth2client (==4.1.3)", "prettytable (==0.7.2)", "httplib2 (==0.12.1)", "pyfiglet (==0.8.post1)", "windows-curses ; platform_system == \"Windows\"" ], "requires_python": "", "summary": "CLI client for Google Drive", "version": "2.0.0" }, "last_serial": 5109933, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "ddb5ca46cd63744ce50c9ead9c314971", "sha256": "bb1e0c70ec95f2d255466d24d24f7720c44d45e91317c7ab76d4312f94391d2d" }, "downloads": -1, "filename": "drive_cli-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ddb5ca46cd63744ce50c9ead9c314971", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14254, "upload_time": "2018-12-28T09:32:52", "url": "https://files.pythonhosted.org/packages/ed/9f/654ba2c7ebb5eeeb3bbae192abde8f6fe2c9dfac08a4fcfa64a64e960fe5/drive_cli-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a0da95143c12979c22bf40f12f402a6d", "sha256": "6300a91ac432e667ada558bbd8abf1e261cd982718d7e6e4a1685506ca8154bd" }, "downloads": -1, "filename": "drive_cli-1.0.0.tar.gz", "has_sig": false, "md5_digest": "a0da95143c12979c22bf40f12f402a6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14136, "upload_time": "2018-12-28T09:32:55", "url": "https://files.pythonhosted.org/packages/cf/ee/b039809c0234716805c31913dc64b3c8bc71c78ffce9aa84d51b6ebc6e28/drive_cli-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "e2d6aef4ec3bdf008898738ad20f10d0", "sha256": "659a47d3ddb8f4422d9fbb2efaf2501d775eaf554c40a8a50241089c00d4cc9d" }, "downloads": -1, "filename": "drive_cli-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "e2d6aef4ec3bdf008898738ad20f10d0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14422, "upload_time": "2018-12-28T10:13:34", "url": "https://files.pythonhosted.org/packages/2d/45/185fac79e50136ffb5ed451a7f018a1ae1d1fc8e7300f11e90f59156dcac/drive_cli-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62fdef396ed1cd9aece62c7dc41b0c2a", "sha256": "001aab9046eb54de9f568d33789d02450d6a14d0f95efc21d29b367ca9c6572a" }, "downloads": -1, "filename": "drive_cli-1.0.1.tar.gz", "has_sig": false, "md5_digest": "62fdef396ed1cd9aece62c7dc41b0c2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14421, "upload_time": "2018-12-28T10:13:37", "url": "https://files.pythonhosted.org/packages/fa/ff/04457228e53c58c779b50535dd41603ca75792b31fa0b591dd40f517928c/drive_cli-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "bd3a8587024b8bd6c85211a5e6905762", "sha256": "406edf6fcb7e09df5d98bd9d8828d63dfb9d17bb2b35f4e83e1360d4ffa6f452" }, "downloads": -1, "filename": "drive_cli-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "bd3a8587024b8bd6c85211a5e6905762", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14926, "upload_time": "2018-12-28T19:42:51", "url": "https://files.pythonhosted.org/packages/1a/2e/7115520d582d6a2a35c6c5486797c43bd7b854c7d909c2bbc5bbdd5d12a1/drive_cli-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7b2dfd427e256fd81555ed014605ce74", "sha256": "5084a979a5e0c22187ff129769acd82081114357052a6a12e4124dd55096e6c5" }, "downloads": -1, "filename": "drive_cli-1.0.2.tar.gz", "has_sig": false, "md5_digest": "7b2dfd427e256fd81555ed014605ce74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14902, "upload_time": "2018-12-28T19:42:53", "url": "https://files.pythonhosted.org/packages/d1/3c/665ea67f77e66960af9cb9a81addc7f7f0e7f7b172c02030bf37a052c494/drive_cli-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "54647131e42f4213cde0468662f58e5b", "sha256": "0e5243d6a6a4afa07ef892e5c038fc1122a1baa0b1afb635c8661d337b4bbf56" }, "downloads": -1, "filename": "drive_cli-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "54647131e42f4213cde0468662f58e5b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15847, "upload_time": "2018-12-29T07:19:06", "url": "https://files.pythonhosted.org/packages/95/d2/1a5180d8a65b1a6e48c071aae54a372b9cc5513726fb692db90c57e80d9d/drive_cli-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "098c38ec5203c8612e7dadaf6a305a00", "sha256": "13e2c25a33d9f3f4be8d59406a84d8ca979477ed29453b95ace2d09388b004bb" }, "downloads": -1, "filename": "drive_cli-1.0.3.tar.gz", "has_sig": false, "md5_digest": "098c38ec5203c8612e7dadaf6a305a00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16538, "upload_time": "2018-12-29T07:19:08", "url": "https://files.pythonhosted.org/packages/b4/60/3ca6d52250547cd8f7c1c035485b5fb56304cebb727f60227c4e8528cccc/drive_cli-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "eadc52eaedaab7e7192462e081129e36", "sha256": "784addfd4d2a892308e1936c6e2409f7ac78cb92d3a5cbafd2a0e28c43025d66" }, "downloads": -1, "filename": "drive_cli-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "eadc52eaedaab7e7192462e081129e36", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15905, "upload_time": "2018-12-29T13:10:48", "url": "https://files.pythonhosted.org/packages/ce/50/a4736db7fb9574340c148a7bdc1e6f8fce87e95eb2b626086f391e655ed7/drive_cli-1.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5caa527e8c33c0c8fef6bc8e54fc652b", "sha256": "073f6cb3fae02ea5b3e82e0fafc7cd4465ab961ab44a2f38befb558e44f08664" }, "downloads": -1, "filename": "drive_cli-1.0.4.tar.gz", "has_sig": false, "md5_digest": "5caa527e8c33c0c8fef6bc8e54fc652b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16633, "upload_time": "2018-12-29T13:10:50", "url": "https://files.pythonhosted.org/packages/cb/99/6e109ab4237902a7cffaa629d549890c21ac3c6248fd92b95f962fede7d0/drive_cli-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "1212e7301f90c6cc97033e916929d67f", "sha256": "3cecfb173fdfb73a4166ab39fbfc639b907534df236056ce86742e36e00c4cf4" }, "downloads": -1, "filename": "drive_cli-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "1212e7301f90c6cc97033e916929d67f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16074, "upload_time": "2018-12-30T13:34:58", "url": "https://files.pythonhosted.org/packages/dd/d8/4bf3b851b7d3b17540c187b2ed8973c0821b90fb3f692235eeb1eaed678a/drive_cli-1.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "20eae54209ce04af95b5e59ab183bb4a", "sha256": "6c88e0fca9b74686a3d1ddf3674bea3d47c724edbe542d5de36597b3b397f21e" }, "downloads": -1, "filename": "drive_cli-1.0.5.tar.gz", "has_sig": false, "md5_digest": "20eae54209ce04af95b5e59ab183bb4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16880, "upload_time": "2018-12-30T13:35:00", "url": "https://files.pythonhosted.org/packages/2f/b6/a9e3005142dfa42cee32130550b4ad33e10f5ef0e640190688011536429b/drive_cli-1.0.5.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "1c1b9cb3be916972baf5d9fc63552ec4", "sha256": "38b509f399b6ca8f001b5144556d72459e6ed30bd7240c6e29c3245a84133182" }, "downloads": -1, "filename": "drive_cli-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "1c1b9cb3be916972baf5d9fc63552ec4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16294, "upload_time": "2019-01-01T09:24:12", "url": "https://files.pythonhosted.org/packages/39/c0/ce9118e1b60ac40276244603aa96efd8ee46bfda6c4ee0b6aa97dbab6326/drive_cli-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "122a122b5daf070e61a16aa0e3d5e4d9", "sha256": "0c470cce9e826b7a50aec69f02302adc3763e65ce5f53ba791ae146cc3d52efb" }, "downloads": -1, "filename": "drive_cli-1.1.0.tar.gz", "has_sig": false, "md5_digest": "122a122b5daf070e61a16aa0e3d5e4d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17128, "upload_time": "2019-01-01T09:24:16", "url": "https://files.pythonhosted.org/packages/6e/6c/08a0dc1616fef606cdee25b2941230edcadd3e380387c142e98653a96cd2/drive_cli-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "dd5f5d8f6a30c1da9a2fe6538f0fb8ec", "sha256": "26b170eb621107fa58da08ada13e63377d1a79ae0faae961c5923ce170c1de32" }, "downloads": -1, "filename": "drive_cli-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "dd5f5d8f6a30c1da9a2fe6538f0fb8ec", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16396, "upload_time": "2019-01-31T06:51:44", "url": "https://files.pythonhosted.org/packages/5a/7a/054359de4d5c2f2ebaab6ab2dea265c4ce3fb2e5f1286d2e042460dad164/drive_cli-1.1.1-py3-none-any.whl" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "f5c0d8a0a8ad153abf1bdc851300ac12", "sha256": "833908491dc1a559da1f480fa8110a78d54b4d6fe47e41b1715704b865a0ee07" }, "downloads": -1, "filename": "drive_cli-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f5c0d8a0a8ad153abf1bdc851300ac12", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17550, "upload_time": "2019-04-07T13:19:13", "url": "https://files.pythonhosted.org/packages/6b/01/6f8ecd0c6486d858949930c3080ff8700be2db6c805b4717a04a89dc1673/drive_cli-2.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "26ece29d6ec77817185d3a9b54188cf8", "sha256": "e8c84ec7a29ac9a741ce2dc23347d619798d5ff20c7750a49c96755ed5ae23f0" }, "downloads": -1, "filename": "drive_cli-2.0.0.tar.gz", "has_sig": false, "md5_digest": "26ece29d6ec77817185d3a9b54188cf8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16627, "upload_time": "2019-04-07T13:19:15", "url": "https://files.pythonhosted.org/packages/47/8e/404c972693eb01334e7bfc832ddfbdabe61f436687e286620c81c3433482/drive_cli-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f5c0d8a0a8ad153abf1bdc851300ac12", "sha256": "833908491dc1a559da1f480fa8110a78d54b4d6fe47e41b1715704b865a0ee07" }, "downloads": -1, "filename": "drive_cli-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f5c0d8a0a8ad153abf1bdc851300ac12", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17550, "upload_time": "2019-04-07T13:19:13", "url": "https://files.pythonhosted.org/packages/6b/01/6f8ecd0c6486d858949930c3080ff8700be2db6c805b4717a04a89dc1673/drive_cli-2.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "26ece29d6ec77817185d3a9b54188cf8", "sha256": "e8c84ec7a29ac9a741ce2dc23347d619798d5ff20c7750a49c96755ed5ae23f0" }, "downloads": -1, "filename": "drive_cli-2.0.0.tar.gz", "has_sig": false, "md5_digest": "26ece29d6ec77817185d3a9b54188cf8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16627, "upload_time": "2019-04-07T13:19:15", "url": "https://files.pythonhosted.org/packages/47/8e/404c972693eb01334e7bfc832ddfbdabe61f436687e286620c81c3433482/drive_cli-2.0.0.tar.gz" } ] }