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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fs_dropboxfs-1.0.8.tar.gz
Algorithm Hash digest
SHA256 f96fb0115bedd8b5fb138ec91e08dc090c2f83271c6bb77da65b004b37b03776
MD5 d0521bbe7da6c6ec5378c05277cb3673
BLAKE2b-256 f4d30171dfdb5f29be00078bb0e9ee2428d1cc99b9ecf6f38ef5a5fc92c41439

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fs_dropboxfs-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5f72b75f748af265fa2e95eb3be6a807efd92940a257259b6a7c0410c95d598c
MD5 d0bc84b3f6b54efe3fd6681b282a9043
BLAKE2b-256 eb28ab7f53863154229133ef73cb10da26253c5204d7d9892043e0f40bc3fbcd

See more details on using hashes here.

Supported by

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