Skip to main content
https://badge.fury.io/py/dropblame.svg

A Python command line tool which will convert the revision history of a Dropbox file into a git repository, so you can run git blame or git diff. Suggested by @cgranade.

Installation

pip install dropblame

Usage

drop blame /path/to/Dropbox/file

Syncs Dropbox revisions to a git repo and runs git blame. Any additional arguments will be passed to git blame.

drop cd /path/to/Dropbox/file

Syncs Dropbox revisions to a git repo and then opens a shell there, if you want to run diff or other operations. The commit messages contain Dropbox revision ids.

Notes

The first time you run drop you will be asked for configuration details to connect to Dropbox, which will be stored in ~/.dropblame/config.yml.

Note that this tool can only go back as far as the Dropbox API will allow, which is currently 100 revisions.

I’ve only tested this on Linux so far.

Release files for dropblame 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dropblame 0.0.1
File Size Uploaded
dropblame-0.0.1.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dropblame 0.0.1
File Interpreter ABI Platform
dropblame-0.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 10.0 kB

Release files / dropblame-0.0.1.tar.gz

Download URL dropblame-0.0.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a4ea03ffdec4a4d2822e6f595f5b91604ca10921bfbb75db203c60a5e3b3883b
BLAKE2b-256 checksum
How to use checksums
6d3a35d8c315955e2f619ef89a96cd6e7e4694b3b3f230e6924dde968cd9422a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / dropblame-0.0.1-py2.py3-none-any.whl

Download URL dropblame-0.0.1-py2.py3-none-any.whl
Size 5.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
86dae150c006d9484d5c9badc0a4baae1f78e89a8397398721b6810becde544c
BLAKE2b-256 checksum
How to use checksums
4fa5504bbe6f812ca8670bf7213bca89a7303f34194aa13a3166a12ba1867328
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page