{ "info": { "author": "HARDWARIO s.r.o.", "author_email": "ask@hardwario.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "# gupload - Google Drive CLI Uploader\n\n[![Travis](https://img.shields.io/travis/hardwario/gupload/master.svg)](https://travis-ci.org/hardwario/gupload)\n[![Release](https://img.shields.io/github/release/hardwario/gupload.svg)](https://github.com/hardwario/gupload/releases)\n[![License](https://img.shields.io/github/license/hardwario/gupload.svg)](https://github.com/hardwario/gupload/blob/master/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/gupload.svg)](https://pypi.org/project/gupload/)\n\n\nOur motivation to create the **gupload** tool was the deployment of the GitLab CI artifacts to our Google Drive disk. The tool is not limited to this use-case though. It is a simple Python 3 command-line utility ingesting file names and their respective path arguments. Those are uploaded to Google Drive via Google service account (recommended approach by Google) and an optionally specified folder (through its ID).\n\nThe secret file is accessed via the environmental variable `GOOGLE_APPLICATION_CREDENTIALS` and it should be set prior the program execution:\n\n $ export GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json\n\n## Requirements\n\n* Python 3 + PIP\n* Enabled Google Drive API (you can do it in the Google Cloud Console)\n* Google service account (you can do it in the Google Cloud Console)\n* Credential JSON file to the service account\n* Configured environmental variable `GOOGLE_APPLICATION_CREDENTIALS` to the service account credentials\n\n## Installation\n\nInstall/upgrade the tool from PyPI using:\n\n $ pip3 install --upgrade gupload\n\n## Usage\n\n $ gupload --help\n Usage: gupload [OPTIONS] [FILES]...\n\n Options:\n --to ID Target folder identifier. [required]\n -f, --file ... Input file(s) to be uploaded.\n -n, --nono No action: print names of files to be upload, but\n don't upload.\n --version Show the version and exit.\n --help Show this message and exit.\n\n\n## Example:\n\n### Upload and rename\n\n $ gupload --folder 1OQ3lq2O1zqZ01vUgzvg1iyXXtBJRl6pW --file a.out ../a.out --file changelog.txt ../changelog.txt\n\nOutput:\n\n Uploading file: a.out\n Uploading file: changelog.txt\n\n\n### Upload all zip files\n\n $ gupload --folder 1OQ3lq2O1zqZ01vUgzvg1iyXXtBJRl6pW *.zip\n\nOutput:\n\n Uploading file: a.zip\n Uploading file: b.zip\n\n### Combination\n\n $ gupload --folder 1OQ3lq2O1zqZ01vUgzvg1iyXXtBJRl6pW --file changelog.txt ../changelog.txt *.zip\n\nOutput:\n\n Uploading file: changelog.txt\n Uploading file: a.zip\n Uploading file: b.zip\n\n## Contributing\n\nPlease read [**CONTRIBUTING.md**](https://github.com/hardwario/gupload/blob/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nWe use [**SemVer**](https://semver.org/) for versioning. For the versions available, see the [**tags on this repository**](https://github.com/hardwario/gupload/tags).\n\n## Authors\n\n* [**Pavel H\u00fcbner**](https://github.com/hubpav) - Initial work\n* [**Karel Blavka**](https://github.com/blavka) - Extension\n\n## License\n\nThis project is licensed under the [**MIT License**](https://opensource.org/licenses/MIT/) - see the [**LICENSE**](https://github.com/hardwario/gupload/blob/master/LICENSE) file for details.\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/hardwario/gupload", "keywords": "gdrive python cli uploader ci", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "gupload", "package_url": "https://pypi.org/project/gupload/", "platform": "any", "project_url": "https://pypi.org/project/gupload/", "project_urls": { "Homepage": "https://github.com/hardwario/gupload" }, "release_url": "https://pypi.org/project/gupload/1.1.0/", "requires_dist": [ "click (==7.0)", "google-api-python-client (==1.7.10)" ], "requires_python": "", "summary": "Google Drive CLI Uploader", "version": "1.1.0" }, "last_serial": 5615245, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "e8d1a1d1abca042c8110ead3c9b5e0ef", "sha256": "1680886888c07510070df122027c25b0fc058af8dc44c9e763cb6aad58810e24" }, "downloads": -1, "filename": "gupload-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "e8d1a1d1abca042c8110ead3c9b5e0ef", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4224, "upload_time": "2019-07-30T21:01:45", "url": "https://files.pythonhosted.org/packages/d2/c7/95feba458e2046afd754f95115d1b78768a2b3ad240bc5b6106de481a7d2/gupload-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "60072439cf75362944c39a49f0a8d4a0", "sha256": "229d183cab7d28474fe6181b17609bb8574a9ca818cb0b51872b6ee6e795df00" }, "downloads": -1, "filename": "gupload-1.0.1.tar.gz", "has_sig": false, "md5_digest": "60072439cf75362944c39a49f0a8d4a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5291, "upload_time": "2019-07-30T21:01:47", "url": "https://files.pythonhosted.org/packages/12/04/2ce9fdbfe179d5428b6cef1ac0e40fab48e3b82d12518022548b03bd0be4/gupload-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "8bef94b5f71126438edfc224b2863371", "sha256": "e1d75142ace121a63c2c40f1c485b73decc1bfc81f0ba2fdd210c726d9cb4e69" }, "downloads": -1, "filename": "gupload-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8bef94b5f71126438edfc224b2863371", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4650, "upload_time": "2019-07-31T19:34:27", "url": "https://files.pythonhosted.org/packages/b5/ea/cd751e2eb1c8957bb6e5fb9c2e0329be5904fc9b432617bb2e83681834dd/gupload-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8f09f23647522a2f92a53232ed337d78", "sha256": "8144735e0ec0f76245d502e3f400f6c372c1c4a4dcc3c37d768eadea8da36c6b" }, "downloads": -1, "filename": "gupload-1.1.0.tar.gz", "has_sig": false, "md5_digest": "8f09f23647522a2f92a53232ed337d78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5768, "upload_time": "2019-07-31T19:34:28", "url": "https://files.pythonhosted.org/packages/12/20/b93e97ccff86142ab9b9da52875c8b180cfc37af695d24a9070173da1add/gupload-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8bef94b5f71126438edfc224b2863371", "sha256": "e1d75142ace121a63c2c40f1c485b73decc1bfc81f0ba2fdd210c726d9cb4e69" }, "downloads": -1, "filename": "gupload-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8bef94b5f71126438edfc224b2863371", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4650, "upload_time": "2019-07-31T19:34:27", "url": "https://files.pythonhosted.org/packages/b5/ea/cd751e2eb1c8957bb6e5fb9c2e0329be5904fc9b432617bb2e83681834dd/gupload-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8f09f23647522a2f92a53232ed337d78", "sha256": "8144735e0ec0f76245d502e3f400f6c372c1c4a4dcc3c37d768eadea8da36c6b" }, "downloads": -1, "filename": "gupload-1.1.0.tar.gz", "has_sig": false, "md5_digest": "8f09f23647522a2f92a53232ed337d78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5768, "upload_time": "2019-07-31T19:34:28", "url": "https://files.pythonhosted.org/packages/12/20/b93e97ccff86142ab9b9da52875c8b180cfc37af695d24a9070173da1add/gupload-1.1.0.tar.gz" } ] }