dropbox

Official Dropbox API Client

MIT License 139 个版本
Dropbox <dev-platform@dropbox.com>
安装
pip install dropbox
poetry add dropbox
pipenv install dropbox
conda install dropbox
描述

.. image:: https://cfl.dropboxstatic.com/static/images/sdk/python_banner.png :target: https://github.com/dropbox/dropbox-sdk-python

.. image:: https://img.shields.io/pypi/pyversions/dropbox.svg :target: https://pypi.python.org/pypi/dropbox

.. image:: https://img.shields.io/pypi/v/dropbox.svg :target: https://pypi.python.org/pypi/dropbox

.. image:: https://codecov.io/gh/dropbox/dropbox-sdk-python/branch/main/graph/badge.svg :target: https://codecov.io/gh/dropbox/dropbox-sdk-python

The offical Dropbox SDK for Python.

Documentation can be found on Read The Docs_.

Installation

Create an app via the Developer Console_.

Install via pip <https://pip.pypa.io/>_:

.. code-block:: console

$ pip install dropbox

Install from source:

.. code-block:: console

$ git clone git://github.com/dropbox/dropbox-sdk-python.git
$ cd dropbox-sdk-python
$ python setup.py 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
    • Commandline OAuth Basic <https://github.com/dropbox/dropbox-sdk-python/blob/main/example/oauth/commandline-oauth.py>_ - Shows a simple example of commandline oauth (no redirect).
    • Commandline OAuth Scopes <https://github.com/dropbox/dropbox-sdk-python/blob/main/example/oauth/commandline-oauth-scopes.py>_ - Shows a simple example of commandline oauth using scopes.
    • Commandline OAuth PKCE <https://github.com/dropbox/dropbox-sdk-python/blob/main/example/oauth/commandline-oauth-pkce.py>_ - Shows a simple example of commandline oauth using PKCE.
  • Other Examples
    • Updown <https://github.com/dropbox/dropbox-sdk-python/blob/main/example/updown.py>_ - Sample application that uploads the contents of your Downloads folder to Dropbox.
    • Backup and Restore <https://github.com/dropbox/dropbox-sdk-python/tree/main/example/back-up-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.

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.

.. _logo: {logo_link} .. _repo: https://github.com/dropbox/dropbox-sdk-python .. _Read The Docs: http://dropbox-sdk-python.readthedocs.org .. _Examples: https://github.com/dropbox/dropbox-sdk-python/tree/main/example .. _LICENSE: https://github.com/dropbox/dropbox-sdk-python/blob/main/LICENSE .. _CONTRIBUTING.md: https://github.com/dropbox/dropbox-sdk-python/blob/main/CONTRIBUTING.md .. _Developer Console: https://dropbox.com/developers/apps .. _OAuth Guide: https://www.dropbox.com/lp/developers/reference/oauth-guide .. _Dropbox Support: https://www.dropbox.com/developers/contact

版本列表
12.0.2 2024-06-03
12.0.1 2024-06-03
12.0.0 2024-05-14
11.36.2 2023-06-12
11.36.0 2022-11-09
11.35.0 2022-10-11
11.34.0 2022-09-05
11.33.0 2022-07-13
11.32.0 2022-06-15
11.31.0 2022-05-18
11.30.0 2022-04-25
11.29.0 2022-03-30
11.28.0 2022-03-03
11.27.0 2022-02-02
11.26.0 2022-01-25
11.25.0 2021-11-24
11.24.0 2021-11-17
11.23.0 2021-11-03
11.22.0 2021-10-21
11.21.0 2021-09-29
11.20.0 2021-09-22
11.19.0 2021-09-08
11.18.0 2021-08-26
11.17.0 2021-08-18
11.16.0 2021-08-11
11.15.0 2021-07-29
11.14.0 2021-07-21
11.13.3 2021-07-14
11.13.2 2021-07-08
11.13.1 2021-07-02
11.13.0 2021-07-01
11.12.0 2021-06-23
11.11.0 2021-06-16
11.10.0 2021-05-26
11.9.0 2021-05-12
11.8.0 2021-05-07
11.7.0 2021-04-14
11.6.0 2021-04-08
11.5.0 2021-03-25
11.4.1 2021-03-09
11.4.0 2021-03-05
11.3.0 2021-02-19
11.2.0 2021-02-10
11.1.0 2021-01-26
11.0.0 2020-12-04
10.11.0 2020-12-03
10.10.0 2020-11-13
10.9.0 2020-11-10
10.8.0 2020-10-30
10.7.0 2020-10-21
10.6.0 2020-10-12
10.5.0 2020-10-05
10.4.1 2020-08-28
10.3.1 2020-08-10
10.3.0 2020-07-15
10.2.0 2020-05-27
10.1.2 2020-05-07
10.1.1 2020-04-21
10.1.0 2020-04-16
10.0.0 2020-04-16
9.5.0 2020-03-20
9.4.0 2019-06-13
9.3.0 2018-12-12
9.2.0 2018-11-21
9.1.0 2018-10-10
9.0.0 2018-07-11
8.9.0 2018-05-18
8.8.1 2018-04-18
8.8.0 2018-04-17
8.7.1 2018-02-09
8.7.0 2018-01-31
8.6.0 2018-01-18
8.5.1 2017-12-21
8.5.0 2017-11-13
8.4.1 2017-11-01
8.4.0 2017-10-11
8.3.1 2017-10-10
8.2.0 2017-09-19
8.1.0 2017-09-07
8.0.0 2017-06-23
7.3.1 2017-05-17
7.3.0 2017-05-11
7.2.1 2017-02-28
7.2.0 2017-02-24
7.1.1 2016-10-27
7.1.0 2016-10-27
6.9.0 2016-09-29
6.8.0 2016-09-07
6.7.0 2016-08-11
6.6.2 2016-08-11
6.6.1 2016-08-10
6.6.0 2016-07-27
6.5.0 2016-06-20
6.4.0 2016-06-01
6.3.0 2016-05-25
6.2 2016-04-27
6.1 2016-03-21
6.0 2016-02-24
5.2.2 2016-02-18
5.2.1 2016-01-30
5.2 2016-01-29
5.1 2016-01-29
5.0.1 2016-01-29
5.0 2016-01-28
4.0 2015-12-10
3.42 2015-11-19
3.41 2015-11-12
3.40 2015-11-12
3.39 2015-11-11
3.38 2015-10-28
3.37 2015-10-06
3.36 2015-09-30
3.34 2015-09-26
3.32 2015-09-22
3.31 2015-09-22
3.30 2015-09-22
3.29 2015-09-22
3.28 2015-09-18
3.27 2015-09-09
3.26 2015-09-09
3.25 2015-09-09
3.24 2015-09-08
3.23 2015-08-31
3.22 2015-08-28
3.21 2015-08-26
3.14 2015-08-26
3.13 2015-08-25
3.12 2015-08-24
3.2 2015-08-26
2.2.0 2014-09-19
2.1.0 2014-06-03
2.0.0 2013-12-19
1.6 2013-07-08
1.5.1 2012-11-06
1.4 2012-03-28
1.3 2012-01-23
1.2 2011-10-29
1.1 2011-09-29