fs.dropboxfs


Namefs.dropboxfs JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/rkhwaja/fs.dropboxfs
SummaryPyfilesystem2 implementation for Dropbox
upload_time2023-11-20 22:11:58
maintainer
docs_urlNone
authorRehan Khwaja
requires_python>=3.8
licenseMIT
keywords filesystem pyfilesystem2 dropbox
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": "https://github.com/rkhwaja/fs.dropboxfs",
    "name": "fs.dropboxfs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "filesystem,Pyfilesystem2,dropbox",
    "author": "Rehan Khwaja",
    "author_email": "rehan@khwaja.name",
    "download_url": "https://files.pythonhosted.org/packages/8b/50/ecd46f4388a56f7dec0624ec2141db54966f8d663ec8cd9773ba258f9776/fs_dropboxfs-1.0.2.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": "MIT",
    "summary": "Pyfilesystem2 implementation for Dropbox",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/rkhwaja/fs.dropboxfs"
    },
    "split_keywords": [
        "filesystem",
        "pyfilesystem2",
        "dropbox"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5cc1f8cb4fd1ea0fb0e6936636cc5a3f3f24f265b336dc21717ccfa69705248d",
                "md5": "b953d7466d7df5774764f21f634ef0dc",
                "sha256": "d78cd372c490d202ca26e7eae162a935fe854bc308d974a64af8a2b4a9401be4"
            },
            "downloads": -1,
            "filename": "fs_dropboxfs-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b953d7466d7df5774764f21f634ef0dc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 6892,
            "upload_time": "2023-11-20T22:11:57",
            "upload_time_iso_8601": "2023-11-20T22:11:57.196604Z",
            "url": "https://files.pythonhosted.org/packages/5c/c1/f8cb4fd1ea0fb0e6936636cc5a3f3f24f265b336dc21717ccfa69705248d/fs_dropboxfs-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b50ecd46f4388a56f7dec0624ec2141db54966f8d663ec8cd9773ba258f9776",
                "md5": "8b8f7e52451a93841e52a18b8067dd69",
                "sha256": "1fddcff669d9c6461e57974ae8d322b923d1cad08a6ca13995b96fa37cddb735"
            },
            "downloads": -1,
            "filename": "fs_dropboxfs-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "8b8f7e52451a93841e52a18b8067dd69",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 6258,
            "upload_time": "2023-11-20T22:11:58",
            "upload_time_iso_8601": "2023-11-20T22:11:58.297651Z",
            "url": "https://files.pythonhosted.org/packages/8b/50/ecd46f4388a56f7dec0624ec2141db54966f8d663ec8cd9773ba258f9776/fs_dropboxfs-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-20 22:11:58",
    "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: 0.15048s