fs.dropboxfs
Implementation of pyfilesystem2 file system using Dropbox
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:
- DROPBOX_APP_KEY - your app key (see Dropbox Developer Console)
- DROPBOX_APP_SECRET - your app secret (see Dropbox Developer Console)
- DROPBOX_CREDENTIALS_PATH - path to a json file which will contain the credentials
Then generate the credentials json file by running
./test/generate_credentials.py
Then run the tests by executing
poe test
in the root directory
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f96fb0115bedd8b5fb138ec91e08dc090c2f83271c6bb77da65b004b37b03776
|
|
| MD5 |
d0521bbe7da6c6ec5378c05277cb3673
|
|
| BLAKE2b-256 |
f4d30171dfdb5f29be00078bb0e9ee2428d1cc99b9ecf6f38ef5a5fc92c41439
|
File details
Details for the file fs_dropboxfs-1.0.8-py3-none-any.whl.
File metadata
- Download URL: fs_dropboxfs-1.0.8-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.8.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f72b75f748af265fa2e95eb3be6a807efd92940a257259b6a7c0410c95d598c
|
|
| MD5 |
d0bc84b3f6b54efe3fd6681b282a9043
|
|
| BLAKE2b-256 |
eb28ab7f53863154229133ef73cb10da26253c5204d7d9892043e0f40bc3fbcd
|