{"id":2155857,"url":"https://github.com/lowRISC/hjson_to_gantt","last_synced_at":"2025-07-14T03:32:51.383Z","repository":{"id":38359360,"uuid":"70976461","full_name":"lowRISC/hjson_to_gantt","owner":"lowRISC","description":"A Python script to generate a Gantt chart from a (H)JSON input","archived":false,"fork":false,"pushed_at":"2016-10-15T10:50:03.000Z","size":44,"stargazers_count":33,"open_issues_count":2,"forks_count":10,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-06-19T11:49:31.664Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lowRISC.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}},"created_at":"2016-10-15T08:37:45.000Z","updated_at":"2025-06-08T04:15:34.000Z","dependencies_parsed_at":"2022-08-25T01:31:45.409Z","dependency_job_id":null,"html_url":"https://github.com/lowRISC/hjson_to_gantt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lowRISC/hjson_to_gantt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lowRISC%2Fhjson_to_gantt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lowRISC%2Fhjson_to_gantt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lowRISC%2Fhjson_to_gantt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lowRISC%2Fhjson_to_gantt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lowRISC","download_url":"https://codeload.github.com/lowRISC/hjson_to_gantt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lowRISC%2Fhjson_to_gantt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265237702,"owners_count":23732514,"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-01-22T03:38:08.687Z","updated_at":"2025-07-14T03:32:51.065Z","avatar_url":"https://github.com/lowRISC.png","language":"Python","readme":"# hjson_to_gantt\n## Introduction\n`hjson_to_gantt` is a simple script with a very simple aim: produce a Gantt \nchart based on [(H)JSON input](http://hjson.org/). It is built upon the excellent \n[python-gantt](http://xael.org/pages/python-gantt-en.html) library.\n\nSee the accompanying [blog \npost](http://www.lowrisc.org/blog/2016/10/generating-a-gantt-chart-from-hjson-input/)\nfor a little more motivation.\n\n## Dependencies\n`pip install gantt fuzzyfinder hjson`\n\n## Example\n\n    {\n      projects: [\n        {\n          name: Project Alpha\n          color: green\n        }\n      ]\n\n      tasks: [\n        {\n          name: Design widget\n          begin: 2016-10-14\n          duration: 7,\n          people: Farquaad\n          project: alpha\n        }\n        {\n          name: Set up widget production line\n          begin: 2016-10-19\n          duration: 6\n          people: Zack\n          project: alpha\n        }\n        {\n          name: Manufacture widgets\n          duration: 7\n          people: Carrie\n          deps: [\"design widget\", \"widget prod line\"]\n          project: alpha\n        }\n      ]\n\n      milestones: [\n        {\n          name: Widgets start shipping\n          start: 2016-10-30\n          deps: [\"mftr widgets\"]\n          project: alpha\n        }\n      ]\n    }\n\nYou'll note that for specifying dependencies and projects, the full name \ndoesn't need to be used. Thanks to [fuzzy \nmatching](https://github.com/amjith/fuzzyfinder), you can just specify e.g.\n\"mftr widgets\" and have it match \"Manufacture widgets\".\n\nTo try out the example:\n\n`./hjson_to_gantt --begin-date 2016-10-10 --end-date 2016-11-13 example.hjson --name example`\n\nThis will output `example_daily.svg` and `example_weekly.svg`.\n\nA PNG rendering of [`example_daily.svg`](example_daily.svg) is shown below (Github doesn't allow embedded SVG):\n\n![Example Gantt chart](example_daily.png?raw=true)\n\n## License\nThis script is released under the terms of the MIT license (see LICENSE).\nHowever, note that the python-gantt library this script uses is GPLv3+ meaning\nthe combination is effectively GPLv3+.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FlowRISC%2Fhjson_to_gantt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FlowRISC%2Fhjson_to_gantt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FlowRISC%2Fhjson_to_gantt/lists"}