Skip to main content

fei crypto command utils

Project description

项目

安装

  1. pipx install fei-crypto
  2. pipx upgrade fei-crypto

命令行

  1. say -t 'hello world' # 打印内容
  2. os # operating system # 打印操作系统
  3. dt # 打印datetime
  4. ts # 打印timestamp
  5. ms # 打印milliseconds
  6. nano # 打印nanoseconds
  7. e # 打印环境变量 示例:e 'PATH'
    • env_name:环境变量名
    • --help:帮助
  8. uuid # 打印uuid
  9. btc-eth # 从币安获取比特币和以太坊的价格 支持socks5代理设置,设置环境变量->HTTP_PROXY=socks5h://127.0.0.1:7890
  10. rmw # 简单的去水印 示例:rmw './1.png'
    • file_path:例如./1.png
    • --colors:取色对比次数,默认值5
    • --help:帮助文档
  11. tg-login # telegram bot或user获取sessionString
  12. captcha # 阿里云验证码识别 示例:captcha 'file_abs_path' 'aliyun_ocr_appcode'
    • file_abs_path:图片绝对路径
    • aliyun_ocr_appcode: 阿里云appcode 购买地址
    • --pri_id:文字类型(dn:纯数字,ne:英文数字,de:纯英文)
  13. t2m # text to media 简单的文字转视频,示例:t2m 'BTC-USDT' --out-filename btc --style 1 --preview
    • text:文本内容,文字长度最好不要超过15个字符
    • --out_filename:输出文件名,输出目录为当前目录下的media文件夹,默认值t2m
    • --quality:生成媒体质量,默认low_quality,还可设置为medium_quality|high_quality
    • --out_format:输出格式png,gif,mp4,webm,mov. 默认gif
    • --style:动画样式,默认值0
    • --preview:是否生成后立即预览
    • --help:帮助文档
  14. dc-send # 使用discord webhook发送消息 示例:dc-send 'https://discord.com/api/webhooks/{}' --text 'hello' --file-paths 'e:/btc.mp4,e:/pepe.mp4'
    • webhook_url:webhook url
    • --text:发送的文本
    • --file-paths:发送的文件路径,多个路径用逗号分隔
    • --proxy:使用代理,例如http://127.0.0.1:7890
    • --help:帮助文档

dev

poetry shell
poetry run python --version
poetry run os
poetry run dt
poetry run ts

publish

poetry build
poetry publish

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

fei_crypto-0.1.3.tar.gz (10.6 kB view hashes)

Uploaded Source

Built Distribution

fei_crypto-0.1.3-py3-none-any.whl (14.9 kB view hashes)

Uploaded Python 3

Supported by

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