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.3

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.3
File Size Uploaded
dropbox-12.2.3.tar.gz 1.3 MB Details

Built distribution (wheel)

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

Total release size: 2.0 MB

Release files / dropbox-12.2.3.tar.gz

Download URL dropbox-12.2.3.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
e644ea6fd3125865a28d591c8a5408157a86fbcc517caabe76be262dd96d7157
BLAKE2b-256 checksum
How to use checksums
f4ec26d1a23f0c155f6783fe1278d3a1e6c8e8802cada778039006d8b7942459
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 Oct 7, 2026.

Transparency log

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

Download URL dropbox-12.2.3-py3-none-any.whl
Size 712.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0356df1f2f2021c6147fc1fbf89cf024e602388f77391c57d8068972aa1a1d0
BLAKE2b-256 checksum
How to use checksums
de01c8cb45346fd2df249d6f6a311ec25cd84c37c8f549f5f204d09586a1debf
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 Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

12.2.3 This release

2 release files

12.2.2

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