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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fs_dropboxfs-1.0.6.tar.gz
Algorithm Hash digest
SHA256 788db4d68b34442ed0bf4d2f1c85578e9b61b5d3d2fe128a0956f6ecfb2d61aa
MD5 e44f6f1c26628f8157a5db1ffea957c5
BLAKE2b-256 1d0fa1117e3b74531760e9a4f3b8e19920ae78487bcd49865c7b43903306b01d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fs_dropboxfs-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 547d15dd91c0b542a2edc511467162501055d3e2baedc8711da0bbc2b1c8faa0
MD5 a8dd69a6ab7a0ed8e1425c39e3b05bc7
BLAKE2b-256 3a1053b332016b16c3d98531630f8c0eb0516a2786a24e6088646fb23253bd3e

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