Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bunnysakura/hashcalculator
图形界面的文件哈希摘要计算工具。Graphical User Interface (GUI) File Hash Digest Calculation Tool.
https://github.com/bunnysakura/hashcalculator
calculator cpp gui hash md5 python sha1 sha256 sha512 wxwidgets
Last synced: 1 day ago
JSON representation
图形界面的文件哈希摘要计算工具。Graphical User Interface (GUI) File Hash Digest Calculation Tool.
- Host: GitHub
- URL: https://github.com/bunnysakura/hashcalculator
- Owner: BunnySakura
- Created: 2022-09-11T18:34:07.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-18T02:29:33.000Z (over 1 year ago)
- Last Synced: 2024-11-14T13:20:29.295Z (2 months ago)
- Topics: calculator, cpp, gui, hash, md5, python, sha1, sha256, sha512, wxwidgets
- Language: Python
- Homepage:
- Size: 114 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 哈希计算器
*粗略搜了下,GitHub似乎没有比较趁手的MD5以及SHA的图形化计算工具,顺手做了一个。*
## 1. 使用方法
![image](https://user-images.githubusercontent.com/48341563/189543307-8702fe2f-81bf-42f7-893e-41916ff37219.png)
如图,选择一个文件,选择摘要算法,点计算输出结果,会自动复制到剪贴板,有需要直接黏贴就行。
## 2. 环境配置
推荐使用PyCharm或者虚拟环境,隔离其他已安装的第三方库,避免打包体积过大。
仅依赖第三方库`PySide6`,安装如下:
```shell
pip install PySide6
```然后运行就可以看到窗口了。
## 3. 打包
- `pyinstaller`
- 安装:
```shell
pip install pyinstaller
```- 打包:
```shell
pyinstaller --clean -F main.py -w -i logo.ico -n HashCalculator
```- `nuitka`
- 安装:
```shell
pip install nuitka
pip install zstandard
```
- 打包:
```shell
python -m nuitka --standalone --show-memory --show-progress --follow-import-to=need --enable-plugin=pyside6 --output-dir=output --windows-disable-console --windows-icon-from-ico=logo.ico --lto=yes --onefile -o HashCalculator main.py
```