{"id":18360526,"url":"https://github.com/fboender/davis","last_synced_at":"2025-04-06T13:32:37.379Z","repository":{"id":62566939,"uuid":"84205373","full_name":"fboender/davis","owner":"fboender","description":"Python Data Visualizer","archived":false,"fork":false,"pushed_at":"2024-10-01T15:43:09.000Z","size":180,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-22T01:25:20.420Z","etag":null,"topics":["data-visualization","debug","debugger","debugging","python","tkinter","visualization"],"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/fboender.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":"2017-03-07T13:59:07.000Z","updated_at":"2024-10-01T15:43:12.000Z","dependencies_parsed_at":"2024-11-05T22:40:54.185Z","dependency_job_id":null,"html_url":"https://github.com/fboender/davis","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/fboender%2Fdavis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fboender%2Fdavis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fboender%2Fdavis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fboender%2Fdavis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fboender","download_url":"https://codeload.github.com/fboender/davis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247488795,"owners_count":20946998,"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":["data-visualization","debug","debugger","debugging","python","tkinter","visualization"],"created_at":"2024-11-05T22:28:41.983Z","updated_at":"2025-04-06T13:32:37.068Z","avatar_url":"https://github.com/fboender.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"(Py)Davis: Python Data Visualizer\n=================================\n\nDavis is a data visualizer for Python. The goal is to make something better\nand easier to use than `print()` and `pprint()` for inspecting data structures\nin Python.\n\nDavis can currently visualize Python data structures, pickled objects and JSON\nfrom running Python programs or from files. It shows values, doc strings and\nthe path to the item.\n\nHere's what it looks like:\n\n![](https://raw.githubusercontent.com/fboender/davis/master/contrib/scrsht_main.png)\n\n## Installation\n\nDavis requires Tkinter and Python v2.7 / v3.x.\n\nTo install Tkinter, see: http://tkinter.unpythonic.net/wiki/How_to_install_Tkinter\n\n### Ubuntu / Debian with python v2.7:\n\n    sudo apt-get install python-tk\n    sudo pip install davis\n\n### Ubuntu / Debian with python v3:\n\n    sudo apt-get install python3-tk\n    sudo pip install davis\n\n### System-wide commandline tool\n\nIf you want to use Davis as a system-wide commandline tool and not just as a\nPython lib, you can copy the `davis.py` file somewhere in your path. For\nexample:\n\n    $ wget https://raw.githubusercontent.com/fboender/davis/master/davis/davis.py\n    $ sudo mv davis.py /usr/local/bin/\n    $ sudo chmod 755 /usr/local/bin/davis.py\n\n## Usage\n\nAs a library for inspecting data in running Python programs:\n\n    my_data = {'alist': [{'pos': 0}, {'pos': 1}], 'adict': {'a': 'a string'}}\n\n    import davis\n    davis.vis(my_data)\n\nThis will pause the execution of your program at the call to `davis.vis()` and\npop-up a window that lets you inspect `my_data`.\n\nTo inspect all local variables in the current scope:\n\n    import davis\n    davis.vis(locals())\n\nYou can also invoke Davis from the command-line to load data from a file:\n\n    $ wget -O r_programming.json https://www.reddit.com/r/programming/.json\n    $ davis.py r_programming.json\n\n    $ davis.py user_sync.pickle\n\nOr from STDIN:\n\n    $ wget -O - https://www.reddit.com/r/programming/.json | davis.py\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffboender%2Fdavis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffboender%2Fdavis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffboender%2Fdavis/lists"}