Skip to main content

A Base64-like encoder/decoder using 256 Japanese characters (Hiragana, Katakana, Kanji).

Project description

Miyabi256 (みやび二五六)

Miyabi256 は、バイナリデータをひらがな、カタカナ、および一部の漢字を含む256種類の日本語文字を使用してエンコード/デコードするPythonライブラリです。従来のBase64と同様に、画像やその他のバイナリデータを日本の美しい文字の羅列で表現できます。

特徴

  • 256文字の文字セット: 1バイトを1文字に直接マッピングするため、Base64 (約75%) よりも効率的なエンコードが可能です。
  • 直感的なエンコード: エンコード結果が日本語文字で構成されるため、日本語話者にとっては視覚的な親しみやすさがあります。
  • ファイルI/O対応: 画像ファイルなどのバイナリデータを直接エンコード/デコードできます。
  • テキスト変換: 特定のエンコーディング (UTF-8など) を指定してテキストデータを変換できます。
  • 複数行出力: 長いエンコード結果を整形して出力する機能。

インストール

pip を使用してインストールできます。

pip install miyabi256

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

miyabi256-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

miyabi256-0.1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file miyabi256-0.1.0.tar.gz.

File metadata

  • Download URL: miyabi256-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for miyabi256-0.1.0.tar.gz
Algorithm Hash digest
SHA256 09bf06507dc198f4e68e5a9ab73b6a5193513f2a167b52f3601babd07e5b7aaa
MD5 2a76f559602c8a35e60a52228c2fa89c
BLAKE2b-256 590743d5d0a43d80234f81160c49083e3469cb2210fb914ad8a211979cc5d07a

See more details on using hashes here.

File details

Details for the file miyabi256-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: miyabi256-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for miyabi256-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb5a069ae7d74866b4a06f824aea693ee499815b8055ce70e27f3c030f4a9f2d
MD5 50623dcb63985668152acfef034cf7e2
BLAKE2b-256 853a32c591635577b28f2ded79eba209a6c02ed35791df5edbe3b16e70bf4cc2

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