SkillAgentSearch skills...

Dropboxfs

dropboxfs for pyfilesystem

Install / Use

/learn @revolunet/Dropboxfs
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

DropBoxFs for PyFileSystem

Use your DropBox account as a FileSystem with pyfilesystem

Author : julien@revolunet.com

example

from fs.dropboxfs import DropBoxFS
    
dropBoxFsConfig = {
    'path':'/'
    ,'consumer_key':'8px67m'
    ,'consumer_secret':'o61w3o9'
    ,'user_name':'julien@revolunet.com'
    ,'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

Related Skills

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated6y ago
Forks1

Languages

Python

Security Score

55/100

Audited on Oct 25, 2019

No findings