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.7.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

fs_dropboxfs-1.0.7-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fs_dropboxfs-1.0.7.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for fs_dropboxfs-1.0.7.tar.gz
Algorithm Hash digest
SHA256 9237cd4269b8572a857c73fb9d8f9c43ea08e799c2cebb7618eba01f9b4d5e1a
MD5 1fa5c62a1f832f15c6cedb00e95324c4
BLAKE2b-256 e49dd5d015f032280dca19b32f045269bc1cb32ea9b5e9d591b6d477db14fd2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fs_dropboxfs-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c52ef0dc09a3cebf337c4903ef568408f9652d563e7da5b9ed686655622fa7f8
MD5 b3378c3559cc5e89d773f33954676222
BLAKE2b-256 9d2c5c0042228ef07883e6f10e4aac7528dadf7991a5af6175333869428d2022

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