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
forceoption)
🛠 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tzBJC-0.2.1.post0.tar.gz.
File metadata
- Download URL: tzBJC-0.2.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee3d40c070fe637b97cc0d5a85d03e51d0f29212b6acf17ecbf2a8134c6888a9
|
|
| MD5 |
c63411b48b4ff0dfed4a114e2707cac6
|
|
| BLAKE2b-256 |
95022a725e17cd94d731aa36669fbadb0592f6c7212eb352bdf712a82d79d717
|
File details
Details for the file tzBJC-0.2.1.post0-py3-none-any.whl.
File metadata
- Download URL: tzBJC-0.2.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
039e7c0449d62675e3d59bce6eaf78252d3bafd6b0967bae6a29a0641e667df5
|
|
| MD5 |
7918c98110d10ca963c1e8e9d7c64150
|
|
| BLAKE2b-256 |
d726d98df0a15bd8aebf6d5865f085a9a82da5914f9ea80e00fa10c6732b5634
|