{"id":22870198,"url":"https://github.com/dadav/flask-visjs","last_synced_at":"2026-04-29T17:37:51.252Z","repository":{"id":41892320,"uuid":"484746448","full_name":"dadav/Flask-VisJS","owner":"dadav","description":"https://flask-visjs.readthedocs.io/en/latest/","archived":false,"fork":false,"pushed_at":"2023-02-16T05:50:17.000Z","size":340,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-07T21:03:36.051Z","etag":null,"topics":["flask","hacktoberfest","visjs"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dadav.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":"2022-04-23T12:51:59.000Z","updated_at":"2023-08-13T09:16:19.000Z","dependencies_parsed_at":"2025-02-06T16:50:10.853Z","dependency_job_id":"f817a01a-a3d9-4551-bc2f-9cc43579b4dd","html_url":"https://github.com/dadav/Flask-VisJS","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2FFlask-VisJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2FFlask-VisJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2FFlask-VisJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2FFlask-VisJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dadav","download_url":"https://codeload.github.com/dadav/Flask-VisJS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246460230,"owners_count":20781066,"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":["flask","hacktoberfest","visjs"],"created_at":"2024-12-13T13:14:06.714Z","updated_at":"2026-04-29T17:37:51.224Z","avatar_url":"https://github.com/dadav.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask-VisJS\n\n![PyPI - License](https://img.shields.io/pypi/l/Flask-VisJS)\n[![Current version on PyPI](https://img.shields.io/pypi/v/Flask-VisJS)](https://pypi.org/project/Flask-VisJS/)\n[![Lint/Build](https://github.com/dadav/Flask-VisJS/actions/workflows/build.yaml/badge.svg)](https://github.com/dadav/Flask-VisJS/actions/)\n[![Coverege](https://codecov.io/gh/dadav/Flask-VisJS/branch/main/graph/badge.svg?token=XAM1MHF3NC)](https://codecov.io/gh/dadav/Flask-VisJS)\n\n![Homedir](./img/visjs.png)\n\nFlask-VisJS is a simple wrapper for the famous visjs java library. It helps you to integrate\nthe library into your flask app.\n\n## Installation\n\n```bash\npip install Flask-VisJS\n```\n\n## Configuration\n\nPlease use [https://flask-visjs.readthedocs.io/en/latest/](https://flask-visjs.readthedocs.io/en/latest/)\n\nWork in progress...\n\n## Example\n\n```python\nfrom flask import Flask, render_template_string\nfrom flask_visjs import VisJS4, Network\n\napp = Flask(__name__)\nVisJS4().init_app(app)\n\n@app.route('/')\ndef index():\n    net = Network(\"500px\", \"500px\")\n    net.add_node(0, label=\"Node 0\")\n    net.add_node(1, label=\"Node 1\")\n    net.add_edge(0, 1)\n    return render_template_string(\"\"\"\n\u003chtml\u003e\n    \u003chead\u003e\n      {{ net.inject_css() }}\n    \u003c/head\u003e\n    \u003cbody\u003e\n      {{ net.inject_js() }}\n      {{ net.inject_graph() }}\n    \u003c/body\u003e\n\u003c/html\u003e\n\"\"\", net=net)\n```\n\n[Go to the example folder](./examples/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadav%2Fflask-visjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdadav%2Fflask-visjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadav%2Fflask-visjs/lists"}