fei crypto command utils
Project description
项目
安装
- pipx install fei-crypto
- pipx upgrade fei-crypto
命令行
- say -t 'hello world' # 打印内容
- os # operating system # 打印操作系统
- dt # 打印datetime
- ts # 打印timestamp
- ms # 打印milliseconds
- nano # 打印nanoseconds
- e # 打印环境变量 示例:
e 'PATH'
- env_name:环境变量名
- --help:帮助
- uuid # 打印uuid
- btc-eth # 从币安获取比特币和以太坊的价格 支持socks5代理设置,设置环境变量->HTTP_PROXY=socks5h://127.0.0.1:7890
- rmw # 简单的去水印 示例:
rmw './1.png'
- file_path:例如
./1.png
- --colors:取色对比次数,默认值
5
- --help:帮助文档
- file_path:例如
- tg-login # telegram bot或user获取sessionString
- captcha # 阿里云验证码识别 示例:
captcha 'file_abs_path' 'aliyun_ocr_appcode'
- file_abs_path:图片绝对路径
- aliyun_ocr_appcode: 阿里云appcode 购买地址
- --pri_id:文字类型(dn:纯数字,ne:英文数字,de:纯英文)
- 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:帮助文档
- 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
Release history Release notifications | RSS feed
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)
Built Distribution
fei_crypto-0.1.3-py3-none-any.whl
(14.9 kB
view hashes)
Close
Hashes for fei_crypto-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddb182f9625ea7d6e01fb4c8f2e03b9d6b33c8869fd24b933587ce626329cb3e |
|
MD5 | 668816e672244385c7e80105fa416a6d |
|
BLAKE2b-256 | 029a0a91b04c18bb2db05d7d4f581f3ce5591112c0ad39dc650828f741dca39a |