change the MD5
有时候在使用某网盘的时候总会遇到文件无法上传或者是上传后无法分享的情况,所以抽了个时间写了个改变文件 MD5 值的小工具,目前只能算是基本能用吧,后续再继续完善。
安装
pip3 install ctmd5
使用
$ ctmd5 --help
Usage: ctmd5 [OPTIONS] FILE
A CLI tool used to change the MD5 of files
Options:
-s, --show show the md5 value. (When the file is large, it will take a long
time.)
--version Show the version and exit.
--help Show this message and exit.
示例
运行
$ ctmd5 -s The.Big.Bang.Theory.mp4
before md5: 23aefe6872325590956548dec285849f
The file[The.Big.Bang.Theory.mp4] md5 value has been changed.
after md5: 447e1bb20de228dcdead50db56415b7c
LICENSE
The MIT License @shkey
Release files for ctmd5 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ctmd5-0.1.2.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ctmd5-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / ctmd5-0.1.2.tar.gz
| Download URL | ctmd5-0.1.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c160fa6658251553537383744daccbdea02473eb3f57da49ef69230403a27312
|
|
BLAKE2b-256 checksum How to use checksums |
0cb74f5729c6a44dc6985c199541d4b3ceafba8f87e58b7163d700fba57a2044
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.8.0 CPython/3.10.6
|
Release files / ctmd5-0.1.2-py3-none-any.whl
| Download URL | ctmd5-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cafd0ee44955f85e596f8138f8a43def040d46de06a04a0b11176a02b2e38357
|
|
BLAKE2b-256 checksum How to use checksums |
8265c19e461b2317ec22f1db586c4bf095c395a4b51cdfa2b217356c78da4b8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.8.0 CPython/3.10.6
|