Skip to main content

交互式检测并解码编码文本。

Project description

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 文件了解更多详情。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

idcode-0.2.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

idcode-0.2.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file idcode-0.2.0.tar.gz.

File metadata

  • Download URL: idcode-0.2.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Windows/10

File hashes

Hashes for idcode-0.2.0.tar.gz
Algorithm Hash digest
SHA256 906dfc47be1c0f07eaa321eaa1aba6325bf2b404813dcf8ca37aca08f8f7e8ff
MD5 4053920d8a7a055b0168941d2cb19600
BLAKE2b-256 82432a95c786a5538e552b5a404089f75f2539897a3be22b63305a07272a55ea

See more details on using hashes here.

File details

Details for the file idcode-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: idcode-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Windows/10

File hashes

Hashes for idcode-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d2648f6ecb09114a8e5504e0e5a820ebe845a59b31d51b4dd9b27eae2fdc141
MD5 fd060270b1ec1bd220d65d8ca54a42dd
BLAKE2b-256 aec3f4c31ebfbab83e33c2be4b6c8c325fb3eb1d0b43795ffdc22f222cb17ac3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page