Metadata-Version: 2.1
Name: gdown
Version: 3.7.3
Summary: Google Drive direct download of big files.
Home-page: http://github.com/wkentaro/gdown
Author: Kentaro Wada
Author-email: www.kentaro.wada@gmail.com
License: MIT
Description: # gdown
        
        [![PyPi Version](https://img.shields.io/pypi/v/gdown.svg)](https://pypi.python.org/pypi/gdown)
        [![Python Versions](https://img.shields.io/pypi/pyversions/gdown.svg)](https://pypi.org/project/gdown)
        [![Travis Status](https://travis-ci.org/wkentaro/gdown.svg?branch=master)](https://travis-ci.org/wkentaro/gdown)
        
        Download a large file from Google Drive.  
        If you use curl/wget, it fails with a large file because of
        the security warning from Google Drive.
        
        
        ## Installation
        
        ```bash
        pip install gdown
        ```
        
        
        ## Usage
        
        ### From Command Line
        
        ```bash
        $ # gdown [-h] [-V] [-O OUTPUT] [-q] [--id] url_or_id
        
        $ # a large file (~400MB)
        $ gdown https://drive.google.com/uc?id=0B_NiLAzvehC9R2stRmQyM3ZiVjQ
        $ # gdown --id 0B_NiLAzvehC9R2stRmQyM3ZiVjQ
        $ md5sum pose_estimation_2d_chainermodel.pkl
        587933c2c0adf335ebed0486c183541f
        
        $ # a small file
        $ gdown https://drive.google.com/uc?id=0B9P1L--7Wd2vU3VUVlFnbTgtS2c
        $ cat spam.txt
        spam
        
        $ # as an alternative to curl/wget
        $ gdown https://httpbin.org/ip -O ip.json
        $ cat ip.json
        {
          "origin": "126.169.213.247"
        }
        
        $ # write stdout and pipe to extract
        $ gdown https://drive.google.com/uc?id=0B9P1L--7Wd2vNm9zMTJWOGxobkU -O - --quiet | tar zxvf -
        $ ls 20150428_collected_images/
        
        $ # it can handle urls created from [Share] -> [Copy Url] on Google Drive
        $ gdown 'https://drive.google.com/a/jsk.imi.i.u-tokyo.ac.jp/uc?id=0B_NiLAzvehC9R2stRmQyM3ZiVjQ'
        ```
        
        ### From Python
        
        ```python
        import gdown
        
        url = 'https://drive.google.com/uc?id=0B9P1L--7Wd2vU3VUVlFnbTgtS2c'
        output = 'spam.txt'
        gdown.download(url, output, quiet=False)
        ```
        
        
        ## License
        
        See [LICENSE](https://github.com/wkentaro/gdown/blob/master/LICENSE).
Keywords: Data Download
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Description-Content-Type: text/markdown
