UDS 无限的驱动器存储开源项目

我要开发同款
匿名用户2019年05月15日
48阅读
开发技术Python
所属分类服务器软件、存储系统
授权协议AGPLv3

作品详情

UDS可以将文件存储到GoogleDocs而不用考虑配额的问题。

特性上传文件到GoogleDrive而且并不占用存储空间下载存储的文件到本地逻辑GoogleDocs不会占用你的GoogleDrive的存储空间使用Base64编码将二进制文件拆开存放到 GoogleDocs编码后的文件一般比原始文件大,Base64和二进制文件的体积比例大概为 4:3.单一Google文档可以存储大约100万个字符,差不多是710kb的Base64编码数据多线程上传,但没有显著的性能提升AuthenticationHeadto Google'sAPIpage andenabletheDriveAPIDownloadtheconfigurationfileas'client_secret.json'totheUDSdirectoryrun pythonuds.py forinitialsetupUDSCoreUpload>pythonuds.pypushUbuntu.Desktop.16.04.isoUbuntu.Desktop.16.04.isowillrequired543Docstostore.CreatedparentfolderwithID1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8SuccessfullyUploadedUbuntu.Desktop.16.04.iso:[██████████████████████████████]100%[Layout]pythonuds.pypushargumentargument:Path_to_file+file_nameList>pythonuds.pylistNameSizeEncodedID-----------------------------------------------------------------------Ubuntu.Desktop.16.04.iso810MB1.1GB1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8Ubuntu.Desktop.18.10.iso1.1GB1.3GB1RzzVfN9goHMTkM1Hf1FUWUVS_2R3GK7DAlsosupportssearchingwithaquery!>pythonuds.pylist"18"NameSizeEncodedID-----------------------------------------------------------------------Ubuntu.Desktop.18.10.iso1.1GB1.3GB1RzzVfN9goHMTkM1Hf1FUWUVS_2R3GK7D[Layout]pythonuds.pylistarguments:queryDownload>pythonuds.pypull1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8DownloadedUbuntu.Desktop.16.04.iso:[██████████████████████████████]100%[Layout]pythonuds.pypullargumentargument:id_of_fileDelete>pythonuds.pydelete1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8Deleted1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8[Layout]pythonuds.pydeleteargumentargument:id_of_fileAlphaExtensionsGrab>pythonuds.pygrabtest.7zUpdateSuccessful!Downloadedtest.7z:[██████████████████████████████]100%[Layout]pythonuds.pygrabargumentargument:name_of_fileErase>pythonuds.pyerasetest2.7zUpdateSuccessful!Deletedtest2.7z[Layout]pythonuds.pyeraseargumentargument:name_of_fileUpdate>pythonuds.pyupdateNameEncodedSize----------------------file_name1.1GB810MB"User.txt"NameEncodedSize----------------------file_name1.1GB810MB"data.txt"{"file0":"1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8""file2":"1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms9"}[Layout]pythonuds.pyupdatearguments:NoneBulkExtensionsBunch>pythonuds.pybunchtesttest.7z.1willrequire1337Docstostore.CreatedparentfolderwithID1fc6JGpX6vUWiwflL1jBxM1YpuMHFAm12SuccessfullyUploadedtest.7z.1:[██████████████████████████████]100%test.7z.2willrequire1337Docstostore.CreatedparentfolderwithID1fc6JGpX6vUWiwflL1jBxM1YpuQQFAm12SuccessfullyUploadedtest.7z.2:[██████████████████████████████]100%test.7z.3willrequire600Docstostore.CreatedparentfolderwithID1fc6JGpX6vTOiwflL1jBxM1YpuQQFAm12SuccessfullyUploadedtest.7z.3:[██████████████████████████████]100%[Layout]pythonuds.pybunchargument[1]argument[2]argument[1]:name_in_files,orwildcard"?"withoutquotesargument[2]:directory,defualtiscurrentdirectoryofUDSBatch>pythonuds.pybatchfile_nameUpdateSuccessful!Downloadedfile_name.7z.1:[██████████████████████████████]100%Downloadedfile_name.7z.2:[██████████████████████████████]100%Downloadedfile_name.7z.3:[██████████████████████████████]100%[Layout]pythonuds.pybatchargumentarguments:name_in_files,orwildcard"?"withoutquotesWipe>pythonuds.pywipefileUpdateSuccessful!Deletedfile.7z.1Deletedfile.7z.2Deletedfile.7z.3[Layout]pythonuds.pywipeargumentarguments:name_in_files,orwildcard"?"withoutquotes

兼容Python3.

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论