A library to convert JSON or Python dicts into an HTML table. Current version 1.1.5. Low release cadence.
pip install json2tableVerified import paths — ran on the pinned version, not inferred.
Basic usage: convert a nested dict to an HTML table string.
Use an OrderedDict if key order matters, or check the generated HTML order.
Use the `max_level` parameter to limit depth or customize with `build_converter`.
Pass a dict: {'class': 'my-table'}.Use `from json2table import convert` then call `convert(data)`.
Check for local files named json2table.py and rename them. Use pip list to verify installed version.
Parse JSON string first: `import json; data = json.loads(json_string); convert(data)`.
No dependency data recorded yet.