使用说明
https://hcrobots.feishu.cn/docx/doxcnCw5mIUCbo1CGDgt8j026Je
generate or update requirements.txt
pip install pipreqs
pipreqs . --force
示例脚本
sort 电压电流图
python3 main.py chart --prd_type=sort --time_range=5 --robot_id=G27A25S --log_root_dir=/Users/shixukai/Repositories/log-analysis/test/test_data/sort --timestamp="2022-08-24 15:56:00"
pick 电压电流图
python3 main.py chart --prd_type=pick --time_range=1 --robot_id=474E50 --log_root_dir=/Users/shixukai/Repositories/log-analysis/test/test_data/pick --timestamp="2022-09-03 14:23:59" --plot_show
python3 main.py chart --prd_type=pick --time_range=1 --robot_id=474E50 --log_root_dir=/Users/shixukai/Repositories/log-analysis/test/test_data/pick --timestamp="2022-09-03 14:23:59" --plot_show
日志打包
python3 main.py pack --time_range=1 --log_root_dir=/Users/shixukai/Repositories/log-analysis/test/test_data/pick --timestamp="2022-09-03 14:23:59"
pyinstaller 打包命令
pyinstaller -F -n hc-log-tool --path . main.py
build for and upload pypi
python3 -m pip install --upgrade build
python3 -m pip install --upgrade twine
python3 -m build
python3 -m twine upload dist/hc_log_tools-1.* --skip-existing
Release files for hc-log-filter 1.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hc_log_filter-1.2.7.tar.gz | 13.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hc_log_filter-1.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.7 kB
Release files / hc_log_filter-1.2.7.tar.gz
| Download URL | hc_log_filter-1.2.7.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a68eb47d8c17ff4cdd5d753119d106438396dc863d9a7a557a22dca0e80a614e
|
|
BLAKE2b-256 checksum How to use checksums |
7bb967afeb9a1649aa509716a1f01afd1407dab9afc6f1921f7e773b4370767f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.19
|
Release files / hc_log_filter-1.2.7-py3-none-any.whl
| Download URL | hc_log_filter-1.2.7-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a595fe5986a630ac6759ffc314bd5e8fbfd1d543a7967ae80f0ad5f3376c208
|
|
BLAKE2b-256 checksum How to use checksums |
680fbe6563b9763120efe5a6e4121f3fe304f374a52417bef0286de1eb426bb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.19
|