Name | fs.dropboxfs JSON |
Version |
1.0.7
JSON |
| download |
home_page | None |
Summary | Pyfilesystem2 implementation for Dropbox |
upload_time | 2024-11-21 07:40:04 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | None |
keywords |
pyfilesystem2
dropbox
filesystem
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# fs.dropboxfs
Implementation of [pyfilesystem2](https://docs.pyfilesystem.org/) file system using Dropbox
 [](https://badge.fury.io/py/fs.dropboxfs)
# Usage
``` python
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](https://www.dropbox.com/developers/apps))
- DROPBOX_APP_SECRET - your app secret (see [Dropbox Developer Console](https://www.dropbox.com/developers/apps))
- DROPBOX_CREDENTIALS_PATH - path to a json file which will contain the credentials
Then generate the credentials json file by running
``` python
./test/generate_credentials.py
```
Then run the tests by executing
```bash
poe test
```
in the root directory
Raw data
{
"_id": null,
"home_page": null,
"name": "fs.dropboxfs",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "Rehan Khwaja <rehan@khwaja.name>",
"keywords": "Pyfilesystem2, dropbox, filesystem",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/e4/9d/d5d015f032280dca19b32f045269bc1cb32ea9b5e9d591b6d477db14fd2e/fs_dropboxfs-1.0.7.tar.gz",
"platform": null,
"description": "# fs.dropboxfs\n\nImplementation of [pyfilesystem2](https://docs.pyfilesystem.org/) file system using Dropbox\n\n [](https://badge.fury.io/py/fs.dropboxfs)\n\n# Usage\n\n``` python\nfrom fs import open_fs\nfrom fs.dropboxfs import DropboxFS\n\ndropboxFS = DropboxFS(\n accessToken=<your access token>,\n refreshToken=<your refresh token>,\n app_key=<your app key>,\n app_secret=<your app secret>)\n\ndropboxFS2 = open_fs('dropbox:///somedirectory?access_token=your_access_token&refresh_token=your_refresh_token')\n\n# dropboxFS and dropboxFS2 are now standard pyfilesystem2 file systems\n```\n\n# Development\n\nTo run the tests, set the following environment variables:\n\n- DROPBOX_APP_KEY - your app key (see [Dropbox Developer Console](https://www.dropbox.com/developers/apps))\n- DROPBOX_APP_SECRET - your app secret (see [Dropbox Developer Console](https://www.dropbox.com/developers/apps))\n- DROPBOX_CREDENTIALS_PATH - path to a json file which will contain the credentials\n\nThen generate the credentials json file by running\n\n``` python\n./test/generate_credentials.py\n```\n\nThen run the tests by executing\n\n```bash\n poe test\n```\n\nin the root directory\n",
"bugtrack_url": null,
"license": null,
"summary": "Pyfilesystem2 implementation for Dropbox",
"version": "1.0.7",
"project_urls": {
"Homepage": "https://github.com/rkhwaja/fs.dropboxfs"
},
"split_keywords": [
"pyfilesystem2",
" dropbox",
" filesystem"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "9d2c5c0042228ef07883e6f10e4aac7528dadf7991a5af6175333869428d2022",
"md5": "b3378c3559cc5e89d773f33954676222",
"sha256": "c52ef0dc09a3cebf337c4903ef568408f9652d563e7da5b9ed686655622fa7f8"
},
"downloads": -1,
"filename": "fs_dropboxfs-1.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b3378c3559cc5e89d773f33954676222",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 7075,
"upload_time": "2024-11-21T07:40:03",
"upload_time_iso_8601": "2024-11-21T07:40:03.551329Z",
"url": "https://files.pythonhosted.org/packages/9d/2c/5c0042228ef07883e6f10e4aac7528dadf7991a5af6175333869428d2022/fs_dropboxfs-1.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "e49dd5d015f032280dca19b32f045269bc1cb32ea9b5e9d591b6d477db14fd2e",
"md5": "1fa5c62a1f832f15c6cedb00e95324c4",
"sha256": "9237cd4269b8572a857c73fb9d8f9c43ea08e799c2cebb7618eba01f9b4d5e1a"
},
"downloads": -1,
"filename": "fs_dropboxfs-1.0.7.tar.gz",
"has_sig": false,
"md5_digest": "1fa5c62a1f832f15c6cedb00e95324c4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 8271,
"upload_time": "2024-11-21T07:40:04",
"upload_time_iso_8601": "2024-11-21T07:40:04.620439Z",
"url": "https://files.pythonhosted.org/packages/e4/9d/d5d015f032280dca19b32f045269bc1cb32ea9b5e9d591b6d477db14fd2e/fs_dropboxfs-1.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-21 07:40:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rkhwaja",
"github_project": "fs.dropboxfs",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "fs.dropboxfs"
}