{"id":24405202,"url":"https://github.com/camaris2/streamlit_sigmajs_component","last_synced_at":"2025-07-12T02:09:57.206Z","repository":{"id":272527460,"uuid":"916895161","full_name":"camaris2/streamlit_sigmajs_component","owner":"camaris2","description":"A streamlit component to visualize network graph data using Sigma.js.","archived":false,"fork":false,"pushed_at":"2025-06-15T22:25:19.000Z","size":768,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T22:39:30.847Z","etag":null,"topics":["python3","streamlit","vue3"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/camaris2.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,"zenodo":null}},"created_at":"2025-01-15T00:40:07.000Z","updated_at":"2025-06-15T22:25:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"2173218f-4f66-43a7-b7b6-e7196086a3f0","html_url":"https://github.com/camaris2/streamlit_sigmajs_component","commit_stats":null,"previous_names":["camaris2/streamlit_sigmajs_component"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/camaris2/streamlit_sigmajs_component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camaris2%2Fstreamlit_sigmajs_component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camaris2%2Fstreamlit_sigmajs_component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camaris2%2Fstreamlit_sigmajs_component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camaris2%2Fstreamlit_sigmajs_component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/camaris2","download_url":"https://codeload.github.com/camaris2/streamlit_sigmajs_component/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camaris2%2Fstreamlit_sigmajs_component/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264923616,"owners_count":23683775,"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":["python3","streamlit","vue3"],"created_at":"2025-01-20T04:23:16.222Z","updated_at":"2025-07-12T02:09:57.182Z","avatar_url":"https://github.com/camaris2.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Streamlit Sigma.js Component\n\nA streamlit component to visualize network graph data.\n\nCombines Python, Streamlit, Vue3 and Sigma.js.\n\n## Key Features\n\n- Visualize network data\n- Interact with the graph\n- Display additional nodes \u0026 edges attributes\n\n(screenshot)\n\n# Installation\n\n## pip installation\n\npip install streamlit-sigmajs-component\n\n## manual installation from source\n\nCreate and activate a python virtual environment (venv, conda, ...)\n\nClone this repository\n\n```bash\ngit clone https://github.com/camaris2/streamlit_sigmajs_component.git\n```\n\nNavigate to root directory\n\n```bash\ncd streamlit_sigmajs_component\n```\n\nInstall the package in editable mode:\n\n```bash\npip install -e .\n```\n\n# Using the component\n\nIn your streamlit app:\n- import the module: \n\n\u003e from vsigma_component import vsigma_component\n\n- call the component\n\n\u003e graph_state = vsigma_component(my_nodes, my_edges, my_settings, key=\"vsigma\")\n\n- (optional) use the data returned via the graph state object (e.g. selected node or edge, ...) \n\n## Run Example App\n\n- create the environment\n    - pip install virtualenv (if you don't already have virtualenv installed)\n    - virtualenv venv to create your new environment (called 'venv' here)\n    - source venv/bin/activate to enter the virtual environment (unix)\n    - venv/bin/activate to enter the virtual environment (windows)\n\npip install -r requirements.txt to install the requirements in the current environment\n- run the streamlit example app:\n\n```bash\ncd streamlit_sigmajs_component/vsigma_component\nstreamlit run example.py\n```\n\n# Development\n\n- Ensure you have Python 3.7+, Node.js, and npm installed.\n\n## Clone project\n\n- Clone this repository : git clone https://github.com/camaris2/streamlit_sigmajs_component.git\n- Navigate to root directory\n\n## Python Setup\n\nCreate and activate a virtual environment, then install the package in editable mode:\n\n```bash\npython3 -m venv venv # On Windows use python -m venv venv\nsource ./venv/bin/activate # On Windows use `.\\venv\\Scripts\\activate`\npip install -e .\n```\n\n## Node Setup\n\nNavigate to the frontend directory and install the necessary npm packages:\n\n```bash\ncd vsigma_component/vue_sigma\nnpm install\n```\n\n## Running the App (in development mode)\n\nChange PRODUCTION flag in vsigma_component/__init__.py to False\n\n- In one terminal start the frontend dev server\n\n```bash\ncd vsigma_component/vue_sigma\nnpm run dev\n```\n\n- In another terminal run the streamlit server\n\n```bash\nsource ./venv/bin/activate  # Unix\n.\\venv\\Scripts\\activate  # Windows\ncd vsigma_component\nstreamlit run example.py\n```\n\n# Contributing\n\nContributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.\n\n# License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n# Acknowledgments\n\n- [Sigma.js](https://www.sigmajs.org/)\n- [Streamlit](https://www.streamlit.io/)\n- [Vue3](https://vuejs.org/)\n- [Python](https://www.python.org/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamaris2%2Fstreamlit_sigmajs_component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcamaris2%2Fstreamlit_sigmajs_component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamaris2%2Fstreamlit_sigmajs_component/lists"}