A fruit salad project
Project description
FruitSalad
A Python toolkit for working with .cucumber and .melon file formats, with VS Code extension support for syntax highlighting and file icons.
Features
- Cucumber format — Human-readable config files with BLAKE3 integrity verification
- Melon format — Binary serialization using TLV (Type-Length-Value) pattern with BLAKE3 checksums
- Conversion — Convert between
.cucumber,.melon,.json, and.yamlformats - VS Code extension — Syntax highlighting, snippets, and file icons for
.cucumberand.melonfiles
Installation
pip install FruitSalad
CLI Usage
# Convert between formats
fruitsalad convert input.cucumber output.json
# Install VS Code extension and configure file icons
fruitsalad vscode
# Convert specific formats
fruitsalad to-json input.cucumber
fruitsalad to-yaml input.cucumber
fruitsalad to-cucumber input.json
fruitsalad to-melon input.json
Python API
from FruitSalad import load, save, reseal, test_file
# Load a .cucumber file
data = load("config.cucumber")
print(data)
# Save data
save("output.cucumber", data)
# Re-seal after manual edits
reseal("config.cucumber")
# Generate a test file
test_file("test.cucumber")
License
MIT
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
fruitsalad-0.1.0.tar.gz
(18.0 kB
view details)
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 fruitsalad-0.1.0.tar.gz.
File metadata
- Download URL: fruitsalad-0.1.0.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a73771d2894bf885d8138827199d4c1bd2d1d03cf92ff80fc4a2cad1ca941bd
|
|
| MD5 |
549249688fc9b7129e965f6b544d000c
|
|
| BLAKE2b-256 |
44fc3d560bfa6f6f4a3cbe7f192202a7d61f893c21544312be098e29f966e55e
|
File details
Details for the file fruitsalad-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fruitsalad-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4487a8ba2359ea592acd139dc459866e4cb81b584e0d099ecaafe9cf3428b026
|
|
| MD5 |
0537c2ae91ef37a73a13ce9485c80514
|
|
| BLAKE2b-256 |
a8fa9d2e7215f23631199e2906c5d5dda9b8e787e0e60031ac68fa13795f87c6
|