Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Download Google documents to files

Project Description


API and command line program to save Google documents to local files in several formats: * HTML (.html) * LaTeX (.tex) * Open document format (.odt) * Plain text (.txt) * Portable document format (.pdf) * Rich text format (.rtf) * Word documents (.docx)

The software has several special features for handling LaTeX files: * The program ignores all images. This allows the user to place images inside the Google document for convenience and to use to embed images in compile PDF files. * The program will convert all Google document comments to PDF comments. * The program ignores all page breaks.

The first time the program is called, the program will request access to the user’s Google account. This will create a client.json file in the users home directory (~/.gdoc_down/client.json).


pip install gdoc_down

Command line usage

usage: gdoc_down (sub-commands ...) [options ...] {arguments ...}

Download Google documents to local files in various formats

positional arguments:
  gdoc_file             path to Google document

optional arguments:
  -h, --help            show this help message and exit
  --debug               toggle debug output
  --quiet               suppress all output
  --format FORMAT, -f FORMAT
                        output format (docx, html, odft, pdf, rtf, tex, txt)
  --out_path OUT_PATH, -o OUT_PATH
                        path where Google document should be downloaded
  --extension EXTENSION, -e EXTENSION
                        output extension


Please see the documentation at Read the Docs.


nose can be used to run the tests:

nosetests tests

Please note that several additional packages are required for testing (see tests/requirements.txt).


The example model is released under the MIT license.

Development team

gdoc_down was developed by Jonathan Karr at the Icahn School of Medicine at Mount Sinai in New York, USA.

Questions and comments

Please contact the Jonathan Karr with any questions or comments.

Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
gdoc_down-0.0.6-py2.py3-none-any.whl (7.1 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Nov 2, 2016
gdoc_down-0.0.6.tar.gz (6.8 kB) Copy SHA256 Checksum SHA256 Source Nov 2, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting