Skip to main content

A CLI tool for fcbyk

Reason this release was yanked:

Critical bugs: The lansend subcommand cannot upload large files, preview and download of files with Chinese filenames do not work, and GUI cannot run independently from the console on Windows 10.

Project description

image

PyPI Tests codecov License

子命令

  • lansend / ls:在指定端口开启 http服务器,用于局域网内共享文件
  • ai:在控制台与 ai 聊天 (需自行配置api-key
  • pick:随机抽取一个元素(可用于抽奖、随机选择等)
  • jiahao:黑客终端模拟器
  • popup:弹窗效果
  • slide:同一局域网内,手机控制电脑PTT翻页

安装

使用 pip 安装

pip install fcbyk-cli

GUI为可选依赖

pip install fcbyk-cli[gui]

从源码安装(可按需调整代码)

  • 前端构建
git clone https://github.com/fcbyk/fcbyk-cli.git
cd web-ui
npm install
npm run build:flatten
  • 后端安装
cd ..
cd fcbyk-cli
pip install -e .

查看帮助信息

fcbyk --help
fcbyk --version

系统要求

  • Python 3.6+
  • Windows

依赖项

核心依赖(install_requires)

  • click:命令行界面框架(针对 Python 版本做了兼容约束)
  • flask:Web 框架(部分功能用于提供本地/局域网服务)
  • flask-socketio / python-socketio:WebSocket 通信(用于局域网实时交互类功能)
  • pyperclip:剪贴板操作
  • requests:HTTP 请求库
  • colorama:终端颜色支持(Windows 下更友好)
  • pyautogui:自动化控制(如键鼠控制类功能)
  • psutil:系统信息与进程管理(不同 Python 版本有不同约束)
  • waitress:WSGI 服务器(部署/运行 Web 服务)

可选依赖(extras_require)

  • test:pytest、pytest-cov、beautifulsoup4
  • gui:PySide6(Python>=3.7)/ PyQt5(Python<3.7)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fcbyk_cli-0.2.0a4.tar.gz (187.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fcbyk_cli-0.2.0a4-py3-none-any.whl (183.0 kB view details)

Uploaded Python 3

File details

Details for the file fcbyk_cli-0.2.0a4.tar.gz.

File metadata

  • Download URL: fcbyk_cli-0.2.0a4.tar.gz
  • Upload date:
  • Size: 187.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for fcbyk_cli-0.2.0a4.tar.gz
Algorithm Hash digest
SHA256 7dbeb246526085b87183f4b91dfc488e0234256745d483cd04e57d7207746e78
MD5 cb7768d92a682abac98e0861b6074130
BLAKE2b-256 05fe9b0894fec15b804931f8ffddfee4ae84f4c0c300544d81645bcebb844bfd

See more details on using hashes here.

File details

Details for the file fcbyk_cli-0.2.0a4-py3-none-any.whl.

File metadata

  • Download URL: fcbyk_cli-0.2.0a4-py3-none-any.whl
  • Upload date:
  • Size: 183.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for fcbyk_cli-0.2.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 3a08ac308d51df635d163fb10067b48392115977440a0019276eaac108811c4a
MD5 1d9a9903a7eea444ece9b597d45d982f
BLAKE2b-256 5014691d87b127163e887b4ea4cea99c9eacfaa1cc3d9973a29bf3eaef2890fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page