Dropbox releases Datastore SDK 2.0-b2 for Python

Dropbox has shipped an update to its Python Datastore SDK, moving to version 2.0-b2. The new beta arrives less than two weeks after the initial SDK announcement and addresses a handful of bugs while expanding the API surface and documentation.

The headline addition is make_cursor_map(), a new method contributed by the needs of a sample GUI application included with the SDK. That example, built with the Tkinter library, uses a background thread that calls await() in a loop and must pass state back to the UI thread. make_cursor_map() supports that communication pattern directly.

The release also fixes await()'s return value to align with its existing documentation, and adds a second new example tool: a command-line script that prints the full contents of a datastore.

Superset of the core SDK

The Python Datastore SDK is designed as a superset of Dropbox's core Python SDK. Once it leaves beta, it will replace the core package and become installable via PyPI with pip install dropbox. The updated SDK is available through the Dropbox Datastore SDK download page.

Dropbox is soliciting feedback on the API Development forum for this beta release. The Sync API and Datastore API have since been deprecated and will not see further development beyond this SDK's beta lifecycle.