{ "info": { "author": "Vitalii Kulanov", "author_email": "vitaliy@kulanov.org.ua", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Communications :: File Sharing" ], "description": "[![PyPI](https://img.shields.io/pypi/v/dropme.svg)](https://pypi.python.org/pypi/dropme)\n[![Build Status](https://travis-ci.org/tivaliy/dropme.svg?branch=master)](https://travis-ci.org/tivaliy/dropme)\n[![codecov](https://codecov.io/gh/tivaliy/dropme/branch/master/graph/badge.svg)](https://codecov.io/gh/tivaliy/dropme)\n[![Documentation Status](https://readthedocs.org/projects/dropme/badge/?version=latest)](http://dropme.readthedocs.io/en/latest/?badge=latest)\n\n# dropme\nCLI tool to manage data in Dropbox workspace (based on official [dropbox-sdk-python](https://github.com/dropbox/dropbox-sdk-python))\n\n## Quick Start\n1. Clone `dropme` repository: `git clone https://github.com/tivaliy/dropme.git`.\n2. Configure `settings.yaml` file (in `dropme/settings.yaml`).\n\n ```\n token: \"YOUR_DROPBOX_ACCESS_TOKEN\"\n ```\n\n3. Create isolated Python environment `virtualenv venv` and activate it `source venv/bin/activate`.\n4. Install `dropme` with all necessary dependencies: `pip install -r requirements.txt .`.\n5. (Optional) Add `dropme` command bash completion:\n\n `dropme complete | sudo tee /etc/bash_completion.d/gc.bash_completion > /dev/null`\n\n Restart terminal and activate virtual environment once again.\n6. Run `dropme`:\n\n * as a standalone application\n\n ```\n $ dropme\n (dropme) whoami\n +--------------+------------------------+\n | Field | Value |\n +--------------+------------------------+\n | user | John Doe |\n | e_mail | j.doe@example.com |\n | country | UA |\n | account_type | basic |\n +--------------+------------------------+\n (dropme) ls -l\n +------+---------+---------------------+-----------------------------+\n | type | size | last_modified | name |\n +------+---------+---------------------+-----------------------------+\n | d | | | demo/ |\n | d | | | foo/ |\n | d | | | dummy/ |\n | - | 1.11 MB | 2017-10-29 11:12:54 | Start work with Dropbox.pdf |\n | - | 19.0 B | 2017-11-17 12:41:29 | bar.txt |\n +------+---------+---------------------+-----------------------------+\n ```\n\n * as a command with respective sub-command arguments\n\n ```\n $ dropme df\n +-----------+-----------------+\n | Field | Value |\n +-----------+-----------------+\n | allocated | 2.0 GB |\n | used | 326.19 MB |\n | available | 1.68 GB (84.1%) |\n +-----------+-----------------+\n ```\n\n## How to Use\n\n usage: dropme [--version] [-v | -q] [--log-file LOG_FILE] [-h] [--debug]\n [-t TOKEN]\n\n CLI tool for managing Dropbox environment.\n\n optional arguments:\n --version show program's version number and exit\n -v, --verbose Increase verbosity of output. Can be repeated.\n -q, --quiet Suppress output except warnings and errors.\n --log-file LOG_FILE Specify a file to log output. Disabled by default.\n -h, --help Show help message and exit.\n --debug Show tracebacks on errors.\n -t TOKEN, --token TOKEN\n Dropbox token.\n\n Commands:\n complete print bash completion command (cliff)\n cp Copies a file or folder to a different location in the user\u2019s Dropbox.\n df Shows information about space usage of the current user's account.\n find Searches for files and folders.\n get Downloads a file at a given local path.\n help print detailed help for another command (cliff)\n ls Lists directory content.\n mkdir Creates a folder at a given path.\n mv Moves a file or folder to a different location in the user\u2019s Dropbox.\n put Uploads a file to a specified directory.\n restore Restores file to a specified revision.\n revs Lists file revisions.\n rm Deletes a file or a folder at a given path.\n status Shows status of a specified file or folder.\n whoami Shows information about the current user's account.\n\n## Running the tests\nWe use the [tox](https://tox.readthedocs.org/) package to run tests. To install, use `pip install tox`.\nOnce installed, run `tox` from the root directory.\n\n## Links\n\n* Documentation: [http://dropme.readthedocs.io](http://dropme.readthedocs.io)\n* Source: [https://github.com/tivaliy/dropme](https://github.com/tivaliy/dropme)\n* Bugs: [https://github.com/tivaliy/dropme/issues](https://github.com/tivaliy/dropme/issues)\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tivaliy/dropme", "keywords": "CLI Dropbox", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "dropme", "package_url": "https://pypi.org/project/dropme/", "platform": "", "project_url": "https://pypi.org/project/dropme/", "project_urls": { "Homepage": "https://github.com/tivaliy/dropme" }, "release_url": "https://pypi.org/project/dropme/1.1.0/", "requires_dist": [ "PyYAML (>=3.1.0)", "cliff (>=2.9.0)", "dropbox (>=8.5.0)" ], "requires_python": "", "summary": "CLI tool for managing Dropbox environment.", "version": "1.1.0" }, "last_serial": 3442297, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "79de086d5c632b14aaa8af90fd80e9e2", "sha256": "1d16b08c4813a269e5a5f0e133148dfd92eacabb7c4cf4e4f35aa393a1b35270" }, "downloads": -1, "filename": "dropme-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "79de086d5c632b14aaa8af90fd80e9e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 25625, "upload_time": "2017-12-19T06:39:54", "url": "https://files.pythonhosted.org/packages/cf/d6/04933538781f24b329cea978f726767643ff795196a888bae5911eb0540c/dropme-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "68a7e4bbae5f80ad5878d0bf50f10f5a", "sha256": "80643803435b005b19d5dc070c774425e403b1a23ac006e72edfd69b8aec213c" }, "downloads": -1, "filename": "dropme-1.0.1.tar.gz", "has_sig": false, "md5_digest": "68a7e4bbae5f80ad5878d0bf50f10f5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16692, "upload_time": "2017-12-18T17:00:17", "url": "https://files.pythonhosted.org/packages/75/ad/d971f551adf8b22b9e8dbf9e9a8a6094761ddca008319312a28f3a6e57bd/dropme-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "5e12a33819e76506f034f5ef84fb4834", "sha256": "537102990a376ab6e3a1bbf6822fb84243e764873c3bf2f23401a68c834706e1" }, "downloads": -1, "filename": "dropme-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5e12a33819e76506f034f5ef84fb4834", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 27185, "upload_time": "2017-12-25T18:02:27", "url": "https://files.pythonhosted.org/packages/3a/ef/1de369ffc9eb605d1a38134ea3bd7253aa99801997b808a189d54fcfa9ed/dropme-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1ce0013c25fa309853790b494fcd2740", "sha256": "92ffddc2b5a4af1b82fb42a6df503a832ae1f47698f6d86d279574ea7f7b79a6" }, "downloads": -1, "filename": "dropme-1.1.0.tar.gz", "has_sig": false, "md5_digest": "1ce0013c25fa309853790b494fcd2740", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18268, "upload_time": "2017-12-25T18:03:04", "url": "https://files.pythonhosted.org/packages/a8/4d/966ce754f5ef8ff60523a879f3c0ac0d5f72affde35eb4d7001b710c4e42/dropme-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5e12a33819e76506f034f5ef84fb4834", "sha256": "537102990a376ab6e3a1bbf6822fb84243e764873c3bf2f23401a68c834706e1" }, "downloads": -1, "filename": "dropme-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5e12a33819e76506f034f5ef84fb4834", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 27185, "upload_time": "2017-12-25T18:02:27", "url": "https://files.pythonhosted.org/packages/3a/ef/1de369ffc9eb605d1a38134ea3bd7253aa99801997b808a189d54fcfa9ed/dropme-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1ce0013c25fa309853790b494fcd2740", "sha256": "92ffddc2b5a4af1b82fb42a6df503a832ae1f47698f6d86d279574ea7f7b79a6" }, "downloads": -1, "filename": "dropme-1.1.0.tar.gz", "has_sig": false, "md5_digest": "1ce0013c25fa309853790b494fcd2740", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18268, "upload_time": "2017-12-25T18:03:04", "url": "https://files.pythonhosted.org/packages/a8/4d/966ce754f5ef8ff60523a879f3c0ac0d5f72affde35eb4d7001b710c4e42/dropme-1.1.0.tar.gz" } ] }