{"id":13743265,"url":"https://github.com/hchasestevens/show_ast","last_synced_at":"2025-05-08T23:43:27.348Z","repository":{"id":57466960,"uuid":"67299188","full_name":"hchasestevens/show_ast","owner":"hchasestevens","description":"An IPython notebook plugin for visualizing ASTs.","archived":false,"fork":false,"pushed_at":"2025-01-05T13:53:48.000Z","size":231,"stargazers_count":102,"open_issues_count":0,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-08T23:43:21.039Z","etag":null,"topics":["ast","ipynb","ipython","ipython-notebook","visualization"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/hchasestevens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-03T16:06:53.000Z","updated_at":"2025-04-27T15:45:42.000Z","dependencies_parsed_at":"2022-09-10T03:43:05.404Z","dependency_job_id":null,"html_url":"https://github.com/hchasestevens/show_ast","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/hchasestevens%2Fshow_ast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hchasestevens%2Fshow_ast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hchasestevens%2Fshow_ast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hchasestevens%2Fshow_ast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hchasestevens","download_url":"https://codeload.github.com/hchasestevens/show_ast/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253166474,"owners_count":21864467,"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":["ast","ipynb","ipython","ipython-notebook","visualization"],"created_at":"2024-08-03T05:00:43.618Z","updated_at":"2025-05-08T23:43:27.330Z","avatar_url":"https://github.com/hchasestevens.png","language":"Jupyter Notebook","funding_links":["https://liberapay.com/hchasestevens/"],"categories":["Tools"],"sub_categories":[],"readme":"# showast\n[![PyPI version](https://badge.fury.io/py/showast.svg)](https://badge.fury.io/py/showast)\n[![Liberapay receiving](https://img.shields.io/liberapay/receives/hchasestevens.svg)](https://liberapay.com/hchasestevens/)\n\nAn IPython/Jupyter notebook plugin for visualizing abstract syntax trees.\n\nExample usage\n--------------\nExamples can be found in [this IPython notebook](https://github.com/hchasestevens/show_ast/blob/master/Example.ipynb).\n\n```python\nimport showast\n```\n\n```python\n%%showast\nprint 1 + 2\n```\n![print 1 + 2 AST](http://i.imgur.com/vK3XTkX.png)\n\n```python\nfrom showast import show_source\nimport antigravity\nshow_source(antigravity)\n```\n![antigravity module AST](http://i.imgur.com/NJY6xhw.png)\n\nInstallation\n-------------\n```\npip install showast\n```\n\nshowast has the following Python dependencies:\n```\nipython\ngraphviz\n```\n\nYou will also need to have [Graphviz](http://www.graphviz.org/download/) installed.\n\nUse of the alternative nltk-based rendering engine requires the following packages:\n```\nnltk\npillow\n```\nWhen using this option, you will additionally need to have [Ghostscript](http://ghostscript.com/download/gsdnld.html) installed.\n\nContacts\n--------\n\n* Name: [H. Chase Stevens](http://www.chasestevens.com)\n* Twitter: [@hchasestevens](https://twitter.com/hchasestevens)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhchasestevens%2Fshow_ast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhchasestevens%2Fshow_ast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhchasestevens%2Fshow_ast/lists"}