Skip to main content

Tools to convert gsuite Documents to markdown.

Project description

GsuiteToMd is a library built on top of PyDrive that offers a simple way to convert Documents store in Google Drive in markdown.

How to install

You can install GsuiteToMd with regular pip command.

$ pip install GsuiteToMd

Basic example

python -m gstomd --folder_id "myfolderid"

This command will extract all Google Documents files located in root folder and its subfolders as markdown documents. The folder tree will be created in a local folder named “gstomd_extract”.

For example, for this google drive content :

Mydrive
├── folder A (id="idofthefolderA")
    ├── gdoc1
    ├── gdoc2
    ├── folder B
        ├── gdoc3
├── folder C
├── ...

The result will be

.
├── gstomd_extract
    ├── folderA
        ├── gdoc1
            ├── gdoc1.md
            ├── images
                ├── image1.png
                ├── image2.png
        ├── gdoc2
            ├── gdoc2.md
            ├── images
                ├── image1.png
    ├── folderB
        ├── gdoc3
            ├── gdoc3.md
            ├── images
                ├── image1.png

Project details


Download files

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

Source Distribution

GsuiteToMd-1.3.0.tar.gz (2.9 MB view hashes)

Uploaded Source

Built Distribution

GsuiteToMd-1.3.0-py2.py3-none-any.whl (20.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page