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
Metadata
Release files for fs.dropboxfs 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fs_dropboxfs-1.0.8.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fs_dropboxfs-1.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.7 kB
Release files / fs_dropboxfs-1.0.8.tar.gz
| Download URL | fs_dropboxfs-1.0.8.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f96fb0115bedd8b5fb138ec91e08dc090c2f83271c6bb77da65b004b37b03776
|
|
BLAKE2b-256 checksum How to use checksums |
f4d30171dfdb5f29be00078bb0e9ee2428d1cc99b9ecf6f38ef5a5fc92c41439
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.19
|
Release files / fs_dropboxfs-1.0.8-py3-none-any.whl
| Download URL | fs_dropboxfs-1.0.8-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f72b75f748af265fa2e95eb3be6a807efd92940a257259b6a7c0410c95d598c
|
|
BLAKE2b-256 checksum How to use checksums |
eb28ab7f53863154229133ef73cb10da26253c5204d7d9892043e0f40bc3fbcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.19
|