Skip to main content

Important: Use v12.0.2 or newer of this SDK for compatibility with the Dropbox API servers. Older versions stopped working in January 2026. Please refer to this blog post for more information: https://dropbox.tech/developers/api-server-certificate-changes

https://cfl.dropboxstatic.com/static/images/sdk/python_banner.png https://img.shields.io/pypi/pyversions/dropbox.svg https://img.shields.io/pypi/v/dropbox.svg https://codecov.io/gh/dropbox/dropbox-sdk-python/branch/main/graph/badge.svg

The official Dropbox SDK for Python.

Documentation can be found on Read The Docs.

Requirements

This SDK requires Python 3.11 or newer. Earlier versions of Python, including Python 2.7 and Python 3.4 through 3.10, are not supported, as they have reached end of life and are no longer maintained upstream.

Installation

Create an app via the Developer Console.

Install via pip:

$ pip install dropbox

Install from source:

$ git clone git://github.com/dropbox/dropbox-sdk-python.git
$ cd dropbox-sdk-python
$ pip install .

After installation, follow one of our Examples or read the documentation on Read The Docs.

You can also view our OAuth Guide.

Examples

We provide Examples to help get you started with a lot of the basic functionality in the SDK.

  • OAuth
  • Other Examples
    • Updown - Sample application that uploads the contents of your Downloads folder to Dropbox.

    • Reliable file transfer - Downloads and uploads files with retry, progress, and content validation helpers.

    • Backup and Restore - Sample application that shows how you can backup a file and restore previous versions if the file was modified/corrupted in any way.

Reliable File Transfers

Use dropbox.file_transfer when copying Dropbox files to or from local storage and you want retry, progress, validation, byte/file targets, stream/file sources, and optional parallel ranged transfers around the generated files_* methods.

import dropbox
from dropbox import files
from dropbox.file_transfer import (
    DownloadOptions,
    File,
    FileUpload,
    Uploader,
    UploadOptions,
    Downloader,
)

dbx = dropbox.Dropbox("YOUR_ACCESS_TOKEN")

Downloader(dbx).download(
    "/large-file.bin",
    File("large-file.bin"),
    DownloadOptions(parallel_downloads=4),
)

Uploader(dbx).upload(
    FileUpload("large-file.bin"),
    files.CommitInfo("/large-file.bin", mode=files.WriteMode.overwrite),
    UploadOptions(parallel_uploads=4),
)

Getting Help

If you find a bug, please see CONTRIBUTING.md for information on how to report it.

If you need help that is not specific to this SDK, please reach out to Dropbox Support.

License

This SDK is distributed under the MIT license, please see LICENSE for more information.

Metadata

Release files for dropbox 12.2.2

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

Source distribution (sdist)

Source distribution for dropbox 12.2.2
File Size Uploaded
dropbox-12.2.2.tar.gz 1.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for dropbox 12.2.2
File Interpreter ABI Platform
dropbox-12.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 2.0 MB

Release files / dropbox-12.2.2.tar.gz

Download URL dropbox-12.2.2.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
9abc636a57788165c1e1f263971163230ccc26fd448df643c1005e0dc1abd1a3
BLAKE2b-256 checksum
How to use checksums
b5a972e16c0d38b9cc9afc5e2d9cd46b2c9af47a2682c9c1a23fa8366d4e67dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release files / dropbox-12.2.2-py3-none-any.whl

Download URL dropbox-12.2.2-py3-none-any.whl
Size 700.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
044d963cdee83a5149e103c792b1a0284f681bb1b6984259cda01244cc3c1a6e
BLAKE2b-256 checksum
How to use checksums
7925b42df8dee682a87f6d388652a319908886b79be3de95c00ae8db22ddab5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

12.2.2 This release

2 release files

12.2.1

2 release files

12.2.0

2 release files

12.1.0

2 release files

12.0.0

3 release files

11.9.0

3 release files

11.7.0

3 release files

11.5.0

3 release files

11.3.0

2 release files

11.2.0

3 release files

11.1.0

3 release files

10.9.0

3 release files

10.8.0

3 release files

10.7.0

3 release files

10.6.0

3 release files

10.4.1

3 release files

10.3.1

3 release files

10.3.0

3 release files

10.2.0

3 release files

10.1.1

3 release files

10.1.0

3 release files

10.0.0

3 release files

9.5.0

3 release files

9.4.0

3 release files

9.3.0

3 release files

9.2.0

3 release files

9.1.0

3 release files

9.0.0

3 release files

8.9.0

3 release files

8.8.1

3 release files

8.8.0

3 release files

8.7.1

3 release files

8.7.0

3 release files

8.6.0

3 release files

8.5.1

3 release files

8.5.0

3 release files

8.4.1

3 release files

8.4.0

3 release files

8.3.1

3 release files

8.2.0

3 release files

8.1.0

3 release files

8.0.0

3 release files

7.3.1

3 release files

7.3.0

3 release files

7.2.1

3 release files

7.2.0

3 release files

7.1.1

3 release files

7.1.0

3 release files

6.9.0

3 release files

6.8.0

3 release files

6.7.0

3 release files

6.6.2

3 release files

6.6.1

3 release files

6.6.0

3 release files

6.5.0

3 release files

6.4.0

3 release files

6.3.0

3 release files

6.2

3 release files

6.1

3 release files

6.0

3 release files

5.2.2

3 release files

5.2.1

3 release files

5.2

3 release files

5.1

3 release files

5.0.1

3 release files

5.0

3 release files

4.0

3 release files

3.42

3 release files

3.41

3 release files

3.40

3 release files

3.39

3 release files

3.38

3 release files

3.37

3 release files

3.36

3 release files

3.34

3 release files

3.32

3 release files

3.31

3 release files

3.30

3 release files

3.29

3 release files

3.28

3 release files

3.27

3 release files

3.26

3 release files

3.25

3 release files

3.24

3 release files

3.23

3 release files

3.22

3 release files

3.21

3 release files

3.14

3 release files

3.13

3 release files

3.12

2 release files

3.2

3 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.6

2 release files

1.5.1

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1

1 release file

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