Skip to main content

Pyfilesystem2 implementation for Dropbox

Project description

fs.dropboxfs

Implementation of pyfilesystem2 file system using Dropbox

image PyPI version

Usage

from fs import open_fs
from fs.dropboxfs import DropboxFS

dropboxFS = DropboxFS(
  accessToken=<your access token>,
  refreshToken=<your refresh token>,
  app_key=<your app key>,
  app_secret=<your app secret>)

dropboxFS2 = open_fs('dropbox:///somedirectory?access_token=your_access_token&refresh_token=your_refresh_token')

# dropboxFS and dropboxFS2 are now standard pyfilesystem2 file systems

Development

To run the tests, set the following environment variables:

Then generate the credentials json file by running

./test/generate_credentials.py

Then run the tests by executing

  poe test

in the root directory

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

fs_dropboxfs-1.0.2.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

fs_dropboxfs-1.0.2-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file fs_dropboxfs-1.0.2.tar.gz.

File metadata

  • Download URL: fs_dropboxfs-1.0.2.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.0 Darwin/23.1.0

File hashes

Hashes for fs_dropboxfs-1.0.2.tar.gz
Algorithm Hash digest
SHA256 1fddcff669d9c6461e57974ae8d322b923d1cad08a6ca13995b96fa37cddb735
MD5 8b8f7e52451a93841e52a18b8067dd69
BLAKE2b-256 8b50ecd46f4388a56f7dec0624ec2141db54966f8d663ec8cd9773ba258f9776

See more details on using hashes here.

File details

Details for the file fs_dropboxfs-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: fs_dropboxfs-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.0 Darwin/23.1.0

File hashes

Hashes for fs_dropboxfs-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d78cd372c490d202ca26e7eae162a935fe854bc308d974a64af8a2b4a9401be4
MD5 b953d7466d7df5774764f21f634ef0dc
BLAKE2b-256 5cc1f8cb4fd1ea0fb0e6936636cc5a3f3f24f265b336dc21717ccfa69705248d

See more details on using hashes here.

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