{"id":19096337,"url":"https://github.com/mujahidk/python-diagrams","last_synced_at":"2025-04-30T14:12:00.291Z","repository":{"id":94604821,"uuid":"259432802","full_name":"mujahidk/python-diagrams","owner":"mujahidk","description":"Diagrams as code using Python and Diagrams","archived":false,"fork":false,"pushed_at":"2024-04-15T03:26:53.000Z","size":49,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-19T03:35:35.185Z","etag":null,"topics":["diagrams","docker","graphviz","python"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/mjdk/diagrams","language":"Dockerfile","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/mujahidk.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}},"created_at":"2020-04-27T19:34:58.000Z","updated_at":"2024-05-02T23:23:36.000Z","dependencies_parsed_at":"2023-03-14T20:15:39.446Z","dependency_job_id":null,"html_url":"https://github.com/mujahidk/python-diagrams","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mujahidk%2Fpython-diagrams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mujahidk%2Fpython-diagrams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mujahidk%2Fpython-diagrams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mujahidk%2Fpython-diagrams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mujahidk","download_url":"https://codeload.github.com/mujahidk/python-diagrams/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251717864,"owners_count":21632371,"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":["diagrams","docker","graphviz","python"],"created_at":"2024-11-09T03:36:28.206Z","updated_at":"2025-04-30T14:12:00.246Z","avatar_url":"https://github.com/mujahidk.png","language":"Dockerfile","readme":"# python-diagrams\n\nDiagrams as code using Python and Diagrams\n\n## Docker image\n\n- Update apt\n- Install graphviz - Diagrams requirement\n- Install diagrams\n\n## Create diagram using container\n\n### Sample script\n\n\u003e **hello-world.py**\n\n```python\nfrom diagrams import Diagram\nfrom diagrams.aws.compute import EC2\nfrom diagrams.aws.database import RDS\nfrom diagrams.aws.network import ELB\n\nwith Diagram(\"Hello World\", show=False):\n    ELB(\"Load Balancer\") \u003e\u003e EC2(\"Message Server\") \u003e\u003e RDS(\"Message Store\")\n```\n\n### Run script using container\n\n```bash\ndocker run -it --rm -v \"$PWD\":/diagrams/scripts/ -w /diagrams/scripts/ mjdk/diagrams hello-world.py\n```\n\n### View generated diagram in the scripts directory\n\n![Hello, World](https://raw.githubusercontent.com/mujahidk/python-diagrams/master/scripts/hello_world.png)\n\n## Read more\n\n- [Diagrams](https://diagrams.mingrammer.com/)\n- [Diagrams Python - GitHub](https://github.com/mingrammer/diagrams)\n\n## License\n\n[MIT](https://github.com/mujahidk/python-diagrams/blob/master/LICENSE)\n \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmujahidk%2Fpython-diagrams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmujahidk%2Fpython-diagrams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmujahidk%2Fpython-diagrams/lists"}