{"id":21324135,"url":"https://github.com/mcejp/matplotlib-streaming-example","last_synced_at":"2025-06-28T21:40:41.872Z","repository":{"id":132598691,"uuid":"365523368","full_name":"mcejp/Matplotlib-streaming-example","owner":"mcejp","description":"Matplotlib figure streaming to the browser via RabbitMQ \u0026 Flask","archived":false,"fork":false,"pushed_at":"2021-05-08T13:52:16.000Z","size":227,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T01:29:40.174Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcejp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-05-08T13:37:34.000Z","updated_at":"2021-05-08T13:54:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4765639-85a6-49ff-ab00-ae3ec00184b7","html_url":"https://github.com/mcejp/Matplotlib-streaming-example","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/mcejp%2FMatplotlib-streaming-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcejp%2FMatplotlib-streaming-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcejp%2FMatplotlib-streaming-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcejp%2FMatplotlib-streaming-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcejp","download_url":"https://codeload.github.com/mcejp/Matplotlib-streaming-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243802750,"owners_count":20350293,"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-11-21T20:28:48.164Z","updated_at":"2025-03-15T23:20:30.082Z","avatar_url":"https://github.com/mcejp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Matplotlib streaming via [RabbitMQ](https://www.rabbitmq.com/)\n\n![Screenshot](readme.gif)\n\nRun it like this:\n\n```shell\n# shell 1\ndocker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management\n# RabbitMQ admin interface will be available on http://localhost:15672/ (login: guest/guest)\n\n# shell 2\npython3 producer.py hello_world png\n\n# shell 3\nflask run\n```\n\nThen navigate to whatever URL is displayed by Flask.\n\nIn practice, Matplotlib seems to be able to keep up to about 10 FPS.\n\nAdapted from https://medium.datadriveninvestor.com/video-streaming-using-flask-and-opencv-c464bf8473d6\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcejp%2Fmatplotlib-streaming-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcejp%2Fmatplotlib-streaming-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcejp%2Fmatplotlib-streaming-example/lists"}