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
Release files for GsuiteToMd 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| GsuiteToMd-1.3.0.tar.gz | 2.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| GsuiteToMd-1.3.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 3.0 MB
Release files / GsuiteToMd-1.3.0.tar.gz
| Download URL | GsuiteToMd-1.3.0.tar.gz |
|---|---|
| Size | 2.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ee9c1e6c3dc51d3ced5bbd30229fb937631d22b0453b39ecefd1f85f6e90eff
|
|
BLAKE2b-256 checksum How to use checksums |
19f40716d957e8ae22cdb3d7deec7561724550bbdd0a22be36e3c1f1e9065bf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9
|
Release files / GsuiteToMd-1.3.0-py2.py3-none-any.whl
| Download URL | GsuiteToMd-1.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 20.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
91e09cb531c01abf19118d04b0027ea2aabf3f1eeba0c98b671b9ca21a2d071b
|
|
BLAKE2b-256 checksum How to use checksums |
f32e969feb125748b0aa74384fd50cf14621f5aa326ccada701d4c4e91899b26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9
|