Export Dropbox Paper documents to markdown
Project description
Dropbox Paper Export
Tool to export Dropbox Paper documents to Markdown files with embedded images downloaded locally.
Features
- Exports all
.paperdocuments from a Dropbox folder (including subfolders) to Markdown format - Downloads and saves images locally, updating markdown links to reference local files
- Supports both personal and team Dropbox accounts
- Shows progress with a progress bar during export
- Preserves folder structure from Dropbox
How It Works
- Connects to Dropbox using the API
- Recursively scans for
.paperfiles in the specified directory - Exports each document to Markdown format using Dropbox's export API
- Scans the exported markdown for image links
- Downloads each image and saves it to a local
assets/folder - Updates the markdown to reference the local image paths
Requirements
- Python 3.12+
- Dropbox API access token with appropriate permissions
Usage
- Create a Dropbox App at https://www.dropbox.com/developers/apps
- Generate an access token with the following permissions:
account_info.readfiles.metadata.readfiles.content.readsharing.read
- Install:
pip install dropbox-paper-export
- Run
dropbox-paper-export --access-token ACCESS_TOKEN
Sample output:
Dropbox Paper to Markdown + Images Exporter ---
* Detected Team Account. Namespace ID: 1862260163
* Switching API context to Team Root...
1. Scanning Dropbox for .paper files... (This takes a moment)
2. Found 138 Paper documents. Starting export...
Exporting: 28%|██ | 39/138 [01:43<02:35, 1.57s/doc]
-> Downloading 15 images for 'Meeting summary'...
Development
# Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install dependencies
uv sync
# Running locally
uv run main.py --access-token YOUR_TOKEN
# Linting
uv run ruff check .
uv run ruff format .
# Building release
uv build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dropbox_paper_export-0.1.0.tar.gz.
File metadata
- Download URL: dropbox_paper_export-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37e7a1796dd1b555b260ef5e1f7086ef9e8d3b9ef12c121628a7ade4dd0b2548
|
|
| MD5 |
6a2e995c92e456e4b35fca9ded747a73
|
|
| BLAKE2b-256 |
749090792aedd1a6c8c0af722f8f91192ab4cc0927f634477ec398f796335f17
|
Provenance
The following attestation bundles were made for dropbox_paper_export-0.1.0.tar.gz:
Publisher:
publish.yml on ceresnam/dropbox-paper-export
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dropbox_paper_export-0.1.0.tar.gz -
Subject digest:
37e7a1796dd1b555b260ef5e1f7086ef9e8d3b9ef12c121628a7ade4dd0b2548 - Sigstore transparency entry: 760321951
- Sigstore integration time:
-
Permalink:
ceresnam/dropbox-paper-export@6fa6de0c382dfa8c5b3467a263c2c9306c2a1cef -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/ceresnam
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6fa6de0c382dfa8c5b3467a263c2c9306c2a1cef -
Trigger Event:
release
-
Statement type:
File details
Details for the file dropbox_paper_export-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dropbox_paper_export-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dc984a585bb9db927121532f6c96cdc20460e957122f40970a8d34cf27f4513
|
|
| MD5 |
db71d377bf2314744ee0cab283a0a6fb
|
|
| BLAKE2b-256 |
b096a3790a267f27d9cc7a23e0cecc77780d3bddd88915507db4301efbe968be
|
Provenance
The following attestation bundles were made for dropbox_paper_export-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on ceresnam/dropbox-paper-export
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dropbox_paper_export-0.1.0-py3-none-any.whl -
Subject digest:
3dc984a585bb9db927121532f6c96cdc20460e957122f40970a8d34cf27f4513 - Sigstore transparency entry: 760321952
- Sigstore integration time:
-
Permalink:
ceresnam/dropbox-paper-export@6fa6de0c382dfa8c5b3467a263c2c9306c2a1cef -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/ceresnam
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6fa6de0c382dfa8c5b3467a263c2c9306c2a1cef -
Trigger Event:
release
-
Statement type: