{"id":19872121,"url":"https://github.com/alexflipnote/json_html","last_synced_at":"2025-03-01T00:51:04.511Z","repository":{"id":183695465,"uuid":"670602302","full_name":"AlexFlipnote/json_html","owner":"AlexFlipnote","description":"Python code that translates JSON template to HTML","archived":false,"fork":false,"pushed_at":"2023-07-25T13:55:02.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T16:38:25.718Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlexFlipnote.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-25T12:20:53.000Z","updated_at":"2023-11-01T14:30:53.000Z","dependencies_parsed_at":"2023-07-25T15:31:49.998Z","dependency_job_id":null,"html_url":"https://github.com/AlexFlipnote/json_html","commit_stats":null,"previous_names":["alexflipnote/json_html.py"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexFlipnote%2Fjson_html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexFlipnote%2Fjson_html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexFlipnote%2Fjson_html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexFlipnote%2Fjson_html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexFlipnote","download_url":"https://codeload.github.com/AlexFlipnote/json_html/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241297305,"owners_count":19940214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T16:14:34.077Z","updated_at":"2025-03-01T00:51:04.487Z","avatar_url":"https://github.com/AlexFlipnote.png","language":"Python","readme":"# json_html.py\nPython code that translates JSON template to HTML\n\n## Requirements\n- Python \u003e=3.10\n\n## Install\nSimply use the command `pip install json-html` to install the package.\n\n## Usage (Python)\n```py\nimport json\nfrom json_html import JSONHTML\n\nwith open(\"./FILENAME.json\", \"r\", encoding=\"utf-8\") as f:\n    data = json.load(f)\n\nhtml = JSONHTML(data)\nhtml.to_file(\"./FILENAME.html\")\n```\n\n## Usage (Command)\n```\nusage: [-h] [-o OUTPUT] [-v] [filename]\n\nPython code that translates JSON template to HTML\n\npositional arguments:\n  filename              JSON template file\n\noptions:\n  -h, --help                  show this help message and exit\n  -o OUTPUT, --output OUTPUT  Output filename\n  -v, --version               Show the version number and exit\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexflipnote%2Fjson_html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexflipnote%2Fjson_html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexflipnote%2Fjson_html/lists"}