idcode
idcode 是一个使用 Python 编写的命令行工具,用于交互式检测并解码编码文本。它支持命令行输入和文件输入,可以自动检测编码类型和尝试解码,并提供了一个交互式界面来逐步解码编码文本。
支持的编码格式
idcode 支持多种编码格式,包括:
- Base85/Base64/Base32
- Base94/Base92/Base91/Ascii85/AdobeAscii85/Z85/Base58/Base45/Base36/Base8
- Binary 编码
- ASCII 编码
- Hex 编码
- URL 编码
- HTML 实体编码
- Quoted-printable 编码
- 核心价值观编码
安装
从 PyPi 安装:
pip install idcode
用法
idcode 支持交互式输入、命令行输入和文件输入来获取编码文本。
交互式输入
当不给出任何命令行参数时,程序会在运行后提示你给出目标文本:
idcode
命令行输入
要使用命令行输入方式来解码编码文本,你可以运行以下命令:
idcode -t "编码文本"
其中,-t 参数用于指定要解码的文本。
文件输入
要使用文件输入方式来解码编码文本,你可以运行以下命令:
idcode -f "文件路径"
其中,-f 参数用于指定包含编码文本的文件路径。
贡献
如果你发现了 bug,或者有改进建议,请随时创建 issue 或者 pull request。我们欢迎任何形式的贡献。
许可证
idcode 使用 MIT 许可证。请参阅 LICENSE 文件了解更多详情。
Release files for idcode 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| idcode-0.2.0.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| idcode-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / idcode-0.2.0.tar.gz
| Download URL | idcode-0.2.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
906dfc47be1c0f07eaa321eaa1aba6325bf2b404813dcf8ca37aca08f8f7e8ff
|
|
BLAKE2b-256 checksum How to use checksums |
82432a95c786a5538e552b5a404089f75f2539897a3be22b63305a07272a55ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.8 Windows/10
|
Release files / idcode-0.2.0-py3-none-any.whl
| Download URL | idcode-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d2648f6ecb09114a8e5504e0e5a820ebe845a59b31d51b4dd9b27eae2fdc141
|
|
BLAKE2b-256 checksum How to use checksums |
aec3f4c31ebfbab83e33c2be4b6c8c325fb3eb1d0b43795ffdc22f222cb17ac3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.8 Windows/10
|