fs.dropboxfs


Namefs.dropboxfs JSON
Version 1.0.8 PyPI version JSON
download
home_pageNone
SummaryPyfilesystem2 implementation for Dropbox
upload_time2025-10-11 13:49:12
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
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

![image](https://github.com/rkhwaja/fs.dropboxfs/workflows/ci/badge.svg) [![PyPI version](https://badge.fury.io/py/fs.dropboxfs.svg)](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/f4/d3/0171dfdb5f29be00078bb0e9ee2428d1cc99b9ecf6f38ef5a5fc92c41439/fs_dropboxfs-1.0.8.tar.gz",
    "platform": null,
    "description": "# fs.dropboxfs\n\nImplementation of [pyfilesystem2](https://docs.pyfilesystem.org/) file system using Dropbox\n\n![image](https://github.com/rkhwaja/fs.dropboxfs/workflows/ci/badge.svg) [![PyPI version](https://badge.fury.io/py/fs.dropboxfs.svg)](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.8",
    "project_urls": {
        "Homepage": "https://github.com/rkhwaja/fs.dropboxfs"
    },
    "split_keywords": [
        "pyfilesystem2",
        " dropbox",
        " filesystem"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "eb28ab7f53863154229133ef73cb10da26253c5204d7d9892043e0f40bc3fbcd",
                "md5": "d0bc84b3f6b54efe3fd6681b282a9043",
                "sha256": "5f72b75f748af265fa2e95eb3be6a807efd92940a257259b6a7c0410c95d598c"
            },
            "downloads": -1,
            "filename": "fs_dropboxfs-1.0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d0bc84b3f6b54efe3fd6681b282a9043",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 7084,
            "upload_time": "2025-10-11T13:49:11",
            "upload_time_iso_8601": "2025-10-11T13:49:11.326405Z",
            "url": "https://files.pythonhosted.org/packages/eb/28/ab7f53863154229133ef73cb10da26253c5204d7d9892043e0f40bc3fbcd/fs_dropboxfs-1.0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f4d30171dfdb5f29be00078bb0e9ee2428d1cc99b9ecf6f38ef5a5fc92c41439",
                "md5": "d0521bbe7da6c6ec5378c05277cb3673",
                "sha256": "f96fb0115bedd8b5fb138ec91e08dc090c2f83271c6bb77da65b004b37b03776"
            },
            "downloads": -1,
            "filename": "fs_dropboxfs-1.0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "d0521bbe7da6c6ec5378c05277cb3673",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 8631,
            "upload_time": "2025-10-11T13:49:12",
            "upload_time_iso_8601": "2025-10-11T13:49:12.838324Z",
            "url": "https://files.pythonhosted.org/packages/f4/d3/0171dfdb5f29be00078bb0e9ee2428d1cc99b9ecf6f38ef5a5fc92c41439/fs_dropboxfs-1.0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-11 13:49:12",
    "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"
}
        
Elapsed time: 1.06681s