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.2.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file GsuiteToMd-1.2.tar.gz
.
File metadata
- Download URL: GsuiteToMd-1.2.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1432c3699aa5150ed599e4d80ef4da502a05eb6407bb1baa88e71a59eaac8bb1
|
|
MD5 |
3b72a7886006887a3505144e9631f98a
|
|
BLAKE2b-256 |
a0df94dbbbc4b1ac6c042cb4d56e49b9f91d5132ed15be593e26e30971fb24f7
|
File details
Details for the file GsuiteToMd-1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: GsuiteToMd-1.2-py2.py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
cdd063f508978a6bb6c3333f534e3b1670d29bde56fbd9b59ddb4018904ca6de
|
|
MD5 |
c6c8384839d93e939931ca4c42af05a8
|
|
BLAKE2b-256 |
b321467fe89c2e4e1f28260b51d3982070ee8dacc627b282795406839a4c7387
|