All Projects → Aruelius → Cloud189

Aruelius / Cloud189

Licence: gpl-3.0
天翼云盘 CLI Python

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Cloud189

Sqlite Utils
Python CLI utility and library for manipulating SQLite databases
Stars: ✭ 368 (-1.6%)
Mutual labels:  cli
Httplab
The interactive web server
Stars: ✭ 3,752 (+903.21%)
Mutual labels:  cli
Confy
🛋 Zero-boilerplate configuration management in Rust
Stars: ✭ 379 (+1.34%)
Mutual labels:  cli
Replace In File
A simple utility to quickly replace contents in one or more files
Stars: ✭ 369 (-1.34%)
Mutual labels:  cli
Go Github Selfupdate
Binary self-update mechanism for Go commands using GitHub
Stars: ✭ 370 (-1.07%)
Mutual labels:  cli
Npx card
use npx anmol to connect with me
Stars: ✭ 377 (+0.8%)
Mutual labels:  cli
Js Fire
A javascript clone of google/python-fire 🔥
Stars: ✭ 370 (-1.07%)
Mutual labels:  cli
Python Fire
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
Stars: ✭ 20,499 (+5381.02%)
Mutual labels:  cli
Gitlab Time Tracker
🦊🕘 A command line interface for GitLab's time tracking feature.
Stars: ✭ 371 (-0.8%)
Mutual labels:  cli
Md To Pdf
Hackable CLI tool for converting Markdown files to PDF using Node.js and headless Chrome.
Stars: ✭ 374 (+0%)
Mutual labels:  cli
Pixo
Convert SVG icons into React components
Stars: ✭ 371 (-0.8%)
Mutual labels:  cli
Kondo
Save disk space by cleaning non-essential files from software projects.
Stars: ✭ 373 (-0.27%)
Mutual labels:  cli
Abc
Power of appbase.io via CLI, with nifty imports from your favorite data sources
Stars: ✭ 375 (+0.27%)
Mutual labels:  cli
Pick
create curses based interactive selection list in the terminal
Stars: ✭ 370 (-1.07%)
Mutual labels:  cli
Visidata
A terminal spreadsheet multitool for discovering and arranging data
Stars: ✭ 4,606 (+1131.55%)
Mutual labels:  cli
Jql
A JSON Query Language CLI tool
Stars: ✭ 368 (-1.6%)
Mutual labels:  cli
Superplate
Performance-oriented frontend application creator with popular tools.
Stars: ✭ 368 (-1.6%)
Mutual labels:  cli
Lazygit
simple terminal UI for git commands
Stars: ✭ 24,910 (+6560.43%)
Mutual labels:  cli
Ava
Node.js test runner that lets you develop with confidence 🚀
Stars: ✭ 19,458 (+5102.67%)
Mutual labels:  cli
Mongo Seeding
The ultimate solution for populating your MongoDB database.
Stars: ✭ 375 (+0.27%)
Mutual labels:  cli

- cloud189-cli -
#    /$$$$$$  /$$                           /$$   /$$    /$$$$$$   /$$$$$$ 
#   /$$__  $$| $$                          | $$ /$$$$   /$$__  $$ /$$__  $$
#  | $$  \__/| $$  /$$$$$$  /$$   /$$  /$$$$$$$|_  $$  | $$  \ $$| $$  \ $$
#  | $$      | $$ /$$__  $$| $$  | $$ /$$__  $$  | $$  |  $$$$$$/|  $$$$$$$
#  | $$      | $$| $$  \ $$| $$  | $$| $$  | $$  | $$   >$$__  $$ \____  $$
#  | $$    $$| $$| $$  | $$| $$  | $$| $$  | $$  | $$  | $$  \ $$ /$$  \ $$
#  |  $$$$$$/| $$|  $$$$$$/|  $$$$$$/|  $$$$$$$ /$$$$$$|  $$$$$$/|  $$$$$$/
#   \______/ |__/ \______/  \______/  \_______/|______/ \______/  \______/ 
#                                                                          
--------------------------------------------------------------------------

准备

  1. Python 版本 >= 3.8

  2. 安装依赖

    pip install -r requirements.txt
    

注意 pyreadline 是专门为 Windows 设计的,*nix 中 python 标准库中一般默认包含 readline 模块,没有请看这里

  1. 配置 运行 python main.py, 输入用户名与密码,
    账号为自己的天翼云盘手机号,密码不会有回显,
    也可以 直接两次回车后,输入 clogin 按提示输入 cookie 登录。
    所有信息加密 保存至 .config 文件。

功能

命令 描述
help 查看帮助文档
login 用户名+密码 登录/添加用户
clogin cookie 登录/添加用户
refresh 刷新当前目录
setpath 修改下载路径(默认 ./downloads)
update 检测软件更新
who/quota 查看账户信息、空间大小
clear 清屏
cdrec 进入回收站
[cdrec] ls 显示回收站目录
[cdrec] rec + 文件名 恢复文件
[cdrec] clean 清空回收站
[cdrec] cd .. 退出回收站
su + [-l/用户名] 列出用户/切换用户
ls + [-l] [文件夹] 列出文件与目录
cd + 文件夹名 切换工作目录
upload + 文件(夹)路径 上传文件(夹)
down + 文件名/分享链接 下载文件/提取分享链接下载直链
mkdir + 文件夹名 创建文件夹
rm + 文件/文件夹 删除文件(夹)
share + 文件/文件夹 分享文件(夹)
shared + [2] 已经分享文件(夹)信息
jobs + [-f] [任务id] 查看后台上传下载任务
rename + 文件(夹)名 [新名] 重命名
mv + 文件名 移动文件
sign + [-a/--all] 签到抽奖
bye/exit 退出

详细请移步 Wiki.

ll = ls -l 表示列出详细列表,ls 只显示文件(夹)名,都可以接一个一级子文件夹作为参数。
downuploadrm 支持多个多个操作文件作为参数,如果文件名中有空格引号,使用 ''"" 包裹文件名,或则在空格引号前使用转义符 \
jobs -fupload -fdown -f表示实时查看任务状态,类似于 Linux 中的 tail -f,按任意键 + 回车 退出。
使用账号密码登录时,上传文件时会进行文件秒传检测,目前使用 cookie 登录无法秒传。
下载支持断点续传。
注意:从 v0.0.4 起,.config 文件与以前版本不兼容!

使用

  1. 不加参数则进入交互模式
# 提示符为 >
python3 main.py
> cd '文件夹'
...
> ls
...
> bye
  1. 带上命令与参数进入单任务模式
python3 main.py upload '文件路径'
# 或者
./main.py upload '文件路径'

依赖

如果在 Linux 运行出现

import readline
ValueError: _type_ 'v' not supported

需要安装依赖,然后重新编译 Python
Ubuntu

sudo apt-get install libreadline-dev

CentOS

yum install readline-devel

License

GPL-3.0

致谢

LanZouCloud-CMD
Dawnnnnnn/Cloud189

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].