Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/revolunet/dropboxfs
dropboxfs for pyfilesystem
https://github.com/revolunet/dropboxfs
Last synced: about 2 months ago
JSON representation
dropboxfs for pyfilesystem
- Host: GitHub
- URL: https://github.com/revolunet/dropboxfs
- Owner: revolunet
- Created: 2011-03-07T22:33:08.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2013-09-19T09:04:08.000Z (about 11 years ago)
- Last Synced: 2024-10-10T18:24:24.235Z (2 months ago)
- Language: Python
- Homepage: http://revolunet.com
- Size: 141 KB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
DropBoxFs for PyFileSystem
===Use your DropBox account as a FileSystem with [pyfilesystem][1]
Author : [[email protected]][2]
**example**
from fs.dropboxfs import DropBoxFS
dropBoxFsConfig = {
'path':'/'
,'consumer_key':'8px67m'
,'consumer_secret':'o61w3o9'
,'user_name':'[email protected]'
,'user_password':'aTrP5xAhxS7'
}
# open a connection
mydropbox = DropBoxFS(**dropBoxFsConfig)
# list a dir
mydropbox.listdir('/')
# read a file
print mydropbox.open('README.txt','r').read()
# write to a file
mydropbox.open('writeTest.txt', 'w').write('hello, world')**Links**
* our [FileBrowser with PyFS backend][3] demo
* the [PyFileSystem google group][4][1]: http://code.google.com/p/pyfilesystem/
[2]: mailto:[email protected]
[3]: http://filebrowser.demo.revolunet.com
[4]: http://groups.google.com/group/pyfilesystem-discussion/topics