Code Monkey home page Code Monkey logo

fuse_for_kuaipan's Introduction

Fuse For KuaiPan

基于快盘的API实现的可以在linux下面使用的Fuse客户端,运行程序后,会生成一个linux下的挂载点,以普通文件夹的方式操作快盘。

目前实现了以下功能:

  1. 文件的浏览
  2. 文件异步上传, 下载
  3. 文件的管理, 建立目录,删除目录,创建文件,删除文件
  4. 显示快盘的总容量和使用容量,支持 df 命令
  5. 虚拟打印机, 上传office格式的文件到 /convert/ 目录下会自动对上传的文档进行转换成网页格式并自动保存到指定的目录
  6. 支持多 consumer_key/consumer_secret 池, 可以突破每天五千次的API调用次数

使用要求

  1. 有快盘的账号
  2. 在快盘创建了至少一个应用, 需要用到里面的 consumer_keyconsumer_secret, 可以到 http://www.kuaipan.cn/developers/create.htm 进行创建。
  3. 在创建好应用之后, 指定了自己的账号作为测试账号。

安装

pip install kuaipandriver

配置

创建文件 config.json, 格式如下:

{
"mntpoint":"挂载点的路径",
"username": "登录快盘的账号",
"password": "登录密码",
"keylist": [
        ["consumer_key", "consumer_secret"],
        ...
    ]
}

启动

mount.kuaipan -c config.json

ToDoList

  1. nautlius 支持

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.