Skip to main content

Convert binary files to signed JSON and back, with zstd compression.

Project description

tzBJC - TaggedZ's Binary to JSON Converter

tzBJC is a utility for encoding and decoding binary files to signed JSON format with Zstandard compression. It provides both a command-line interface (CLI) and a graphical user interface (GUI) built with PySide6.


✨ Features

  • 🔐 Encodes binary files into signed JSON format
  • 🧩 Uses Zstandard compression with Base64 URL-safe encoding
  • 📦 CLI and GUI support
  • ✅ Stream-based processing for large files
  • 📋 Clipboard-friendly JSON output (via GUI)
  • 🧪 Thorough test coverage with Pytest and Pytest-Qt

📦 Installation

pip install tzBJC

Or from source:

git clone https://github.com/taggedzi/tzBJC.git
cd tzBJC
pip install .

🖥️ Command Line Usage

See CLI help:

tzBJC-cli --help

Encode example:

tzBJC-cli encode -i input.bin -o output.json

Decode example:

tzBJC-cli decode -i output.json -o restored.bin

🪟 GUI Usage

tzBJC-gui

Drag-and-drop or select binary or JSON files to convert between formats. The GUI supports:

  • File output
  • Clipboard-friendly output
  • Overwrite protection (with force option)

🛠 Developer Instructions

Set up a local development environment:

git clone https://github.com/taggedzi/tzBJC.git
cd tzBJC
python -m venv .venv
source .venv/bin/activate  # on Windows: .venv\Scripts\activate
pip install -e .[dev]

Run tests with coverage:

pytest --cov=src

Build the package:

python -m build

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


🌐 Links

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

tzBJC-0.2.2.post0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

tzBJC-0.2.2.post0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file tzBJC-0.2.2.post0.tar.gz.

File metadata

  • Download URL: tzBJC-0.2.2.post0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for tzBJC-0.2.2.post0.tar.gz
Algorithm Hash digest
SHA256 82830badf4a5914feb2d6ab6a7087718ba5fe47125da5a62a45e37b3e3f9f5f7
MD5 c61ec612f1252dbe7de5edb75bdc9efb
BLAKE2b-256 0f6ca2a754cace212f065cd87208c606fcad1a8c6a9e762c15d23c7b91b25cb3

See more details on using hashes here.

File details

Details for the file tzBJC-0.2.2.post0-py3-none-any.whl.

File metadata

  • Download URL: tzBJC-0.2.2.post0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for tzBJC-0.2.2.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 07d5bdcf8e2c51b7286981bbe570f3047a947f29afbc869c1c1d5445ef62c8fb
MD5 595d1cb1d2b336fbb881d7a4529ee452
BLAKE2b-256 a621bbb691506b80ec6679f9f7a1ce847e00f811fee7d5fddcc5b6e682fffe6d

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