{"id":21181593,"url":"https://github.com/pxr687/show_in_browser","last_synced_at":"2026-04-27T17:31:19.680Z","repository":{"id":208871296,"uuid":"722684680","full_name":"pxr687/show_in_browser","owner":"pxr687","description":"A simple python package to display pandas dataframes and matplotlib/plotly graphs in a browser. It is intended to be run from the command line, for better visualisation of dataframes than viewing within the terminal, and as a single interface for showing plots in a browser.","archived":false,"fork":false,"pushed_at":"2024-02-29T18:39:45.000Z","size":1354,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-25T11:56:09.149Z","etag":null,"topics":["matplotlib","pandas","pandas-dataframe","plot","plotly","plotting","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/show-in-browser/","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/pxr687.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-23T17:35:44.000Z","updated_at":"2023-12-03T21:05:07.000Z","dependencies_parsed_at":"2024-11-20T22:33:32.876Z","dependency_job_id":null,"html_url":"https://github.com/pxr687/show_in_browser","commit_stats":{"total_commits":68,"total_committers":2,"mean_commits":34.0,"dds":0.3088235294117647,"last_synced_commit":"a6262907290980ea1edaeb11204e38b016ab3890"},"previous_names":["pxr687/df_in_browser","pxr687/show_in_browser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pxr687/show_in_browser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pxr687%2Fshow_in_browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pxr687%2Fshow_in_browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pxr687%2Fshow_in_browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pxr687%2Fshow_in_browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pxr687","download_url":"https://codeload.github.com/pxr687/show_in_browser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pxr687%2Fshow_in_browser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32348017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T17:12:42.749Z","status":"ssl_error","status_checked_at":"2026-04-27T17:12:41.658Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["matplotlib","pandas","pandas-dataframe","plot","plotly","plotting","python"],"created_at":"2024-11-20T17:51:26.814Z","updated_at":"2026-04-27T17:31:19.665Z","avatar_url":"https://github.com/pxr687.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# show_in_browser\n\n[![Downloads](https://static.pepy.tech/badge/show_in_browser)](https://pepy.tech/project/show_in_browser)\n\nA simple python package to display pandas dataframes and matplotlib/plotly graphs\nin a browser. This package is intended to be used from the command line, for better\nvisualisation of dataframes than viewing within the terminal. (E.g. to allow viewing of \nthe entire dataframe, scrolling etc). In addition, plots appear sequentially as \nseparate browser tabs, so they can be viewed in a deliberate sequence.\n\nTo install use: `pip install show-in-browser`\n\nThe following code shows some example uses (in an ipython session):\n\n```\n# import the show_in_browser functions as on the line below:\n# (alternatively you can use `import show_in_browser as sib` and then access the functions\n# with `sib.show_df()` etc.)\nfrom show_in_browser import show_df, show_plt_plot, show_px_plot \n\n# other imports for the demo script\nimport pandas as pd\nimport numpy as np\nimport matplotlib.pyplot as plt\nimport plotly.express as px\n\n# ==============================================================================\n# SHOW DATAFRAMES IN THE BROWSER\n# this section shows how to use the `show_df()` function to display a dataframe\n# in the browser\n\n# create dataframe\ndf = pd.DataFrame({'score_1': np.random.normal(100, 10, 100),\n                'score_2': np.random.normal(1000, 2, 100),\n                'score_3': np.random.normal(10, 2, 100)})\n\n# show a DataFrame in a browser\nshow_df(df, name='Complete DataFrame') # name is optional\n\n# show a Series derived from the DataFrame in a browser\nshow_df(df['score_1'], name='A Single Column') # name is optional\n\n# ==============================================================================\n# SHOW MATPLOTLIB PLOTS IN THE BROWSER\n# this section shows how to use the `show_plt_plot()` function to display a\n# matplotlib plots in the browser\n\n# 2D matplotlib plot\nplt.figure()\nplt.scatter(df['score_1'], df['score_2'])\nshow_plt_plot(name='Matplotlib Scatterplot') # name is optional\n\n# 3D matplotlib plot\nfig = plt.figure()\nax = fig.add_subplot(111, projection='3d')\nax.scatter(df['score_1'], df['score_2'], df['score_3'])\nshow_plt_plot(name='Matplotlib 3D Scatterplot') # name is optional\n\n# ==============================================================================\n# SHOW PLOTLY PLOTS IN THE BROWSER\n# this section shows how to use the `show_px_plot()` function to display a\n# matplotlib plots in the browser\n\n# 2D plotly plot\nfig = px.scatter(df, x='score_1', y='score_2')\nshow_px_plot(fig, name='Plotly Scatterplot') # name is optional\n\n# 3D plotly plot\nfig = px.scatter_3d(df, x='score_1', y='score_2', z='score_3')\nshow_px_plot(fig, name='Plotly 3D Scatterplot') # name is optional\n```\nThis code will give you output of the following form, in your default browser. \nEach dataframe or plot that you have selected will show in separate tabs\nin your default browser. The dataframes and plots will appear in the order in which you ran the commands:\n\n![](https://github.com/pxr687/show_in_browser/raw/main/images/example_tab1.png)\n\n![](https://github.com/pxr687/show_in_browser/raw/main/images/example_tab2.png)\n\n![](https://github.com/pxr687/show_in_browser/raw/main/images/example_tab3.png)\n\n![](https://github.com/pxr687/show_in_browser/raw/main/images/example_tab4.png)\n\n![](https://github.com/pxr687/show_in_browser/raw/main/images/example_tab5.png)\n\n![](https://github.com/pxr687/show_in_browser/raw/main/images/example_tab6.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpxr687%2Fshow_in_browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpxr687%2Fshow_in_browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpxr687%2Fshow_in_browser/lists"}