Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

git-annex special remote for Dropbox

Project description

A git-annex special remote for Dropbox

Installation

pip install git-annex-remote-dbx

Configuration

To create a special remote using Dropbox as a backend, you can type the following command (warning: this is an example, no encryption is used which is bad):

git annex initremote myremote type=external externaltype=dbx encryption=none prefix=git-annex upload_chunk_size=10MiB

To access your Dropbox, this special remote needs an access token. When creating the special remote, a browser tab will be opened for you to connect to your Dropbox and to grant access to this application.

This special remote accepts several parameters:

  • prefix: this is the directory where all your files will be stored (default: git-annex)
  • upload_chunk_size: to limit his memory usage, this special remote does not load all the file in memory before uploading it but instead splits the file in chunk and sends these chunks in turn to Dropbox. This parameter lets you specify the size to be used. Increasing this value will improve the upload speed at the expense of the memory usage and the progress report frequency (default: 1 MiB)

Notes

This special remote passes all the tests of git annex testremote successfully.

Project details


Download files

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

Files for git-annex-remote-dbx, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size git_annex_remote_dbx-1.0.3-py3-none-any.whl (5.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size git-annex-remote-dbx-1.0.3.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page