Skip to main content

Dropbox implementation for fsspec module

Project description

Description

This package is one of the implementation available in the fsspec module.

It can be used alone, or dask and intake by indicating the protocol in the path file:

dropbox://file_path

Small nicety : file_path in dropbox needs to start at the root "/folder1/folder2/etc." which means your path when using the protocol identifier should look like this :

dropbox:///folder1/folder2/etc

Yes, with three /// ! What happen if not, for some reasons the dropbox api will remove everything before the first / in the path keep only what is after.

It can also be used directly from the fsspec module to download and upload files in the github account.

The upload part is using the dropbox API.

The download part is using the dropbox API to create a temporary link and then used the already existing webhdfs implementation. Caching (see fsspec module) is available in that case.

Documentation of the fsspec module : https://github.com/intake/filesystem_spec/blob/master/docs/source/features.rst

Install

pip install dropboxdrivefs

How to obtain your access token?

https://blogs.dropbox.com/developers/2014/05/generate-an-access-token-for-your-own-account/

Thanks

Thanks to martindurant and TomAugspurger for the help to developping this implementation see info about the development: https://github.com/intake/filesystem_spec/pull/207

Project details


Download files

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

Source Distribution

dropboxdrivefs-1.4.1.tar.gz (7.4 kB view details)

Uploaded Source

File details

Details for the file dropboxdrivefs-1.4.1.tar.gz.

File metadata

  • Download URL: dropboxdrivefs-1.4.1.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for dropboxdrivefs-1.4.1.tar.gz
Algorithm Hash digest
SHA256 6f3c6061d045813553ce91ed0e2b682f1d70bec74011943c92b3181faacefd34
MD5 41a00af36264e7306303495a3ac47534
BLAKE2b-256 97156d8f4c3033ad2bc364b8bb613c52c96653f2268f32ecff4f3ab5f1d7c19b

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page