CASHFORGE PORTFOLIO · DATA UTILITIES

CSV ↔ JSON, with predictable edges.

A small Python 3.10+ utility for converting tabular data in both directions. It preserves headers, emits valid JSON, quotes CSV fields safely, and treats missing keys as empty cells instead of silently dropping data.

DELIVERABLE

Two focused commands

Readable CLI entry points, a short README, packaging metadata, and tests for round trips, quoting, and uneven object keys.

python csv_to_json.py input.csv output.json
python json_to_csv.py input.json output.csv
QUALITY CHECKS

Designed for handoff

UTF-8 input, newline-safe CSV handling, deterministic column ordering, and explicit errors for malformed top-level JSON.

Python 3.10+stdlib onlypytest-readyround-trip safe
PUBLIC SAMPLE

Small enough to inspect in seconds

These examples are intentionally compact so a reviewer can verify the conversion contract before requesting a larger dataset.

JSON INPUT
[
  {"name":"Ada","score":98},
  {"name":"Lin","score":91}
]
CSV OUTPUT
name,score
Ada,98
Lin,91
BOUNDED SCOPE

No credentials required

The utility runs locally or in a buyer-controlled workspace. It does not request passwords, social accounts, private keys, or external network access.

input → validate → convert → test
            ↘ explicit error
output → inspectable file + README