{"id":20027282,"url":"https://github.com/networkx/networkx-metis","last_synced_at":"2025-05-05T02:31:31.165Z","repository":{"id":32509190,"uuid":"36090198","full_name":"networkx/networkx-metis","owner":"networkx","description":"NetworkX Addon to allow graph partitioning with METIS","archived":true,"fork":false,"pushed_at":"2023-03-31T12:37:25.000Z","size":271,"stargazers_count":78,"open_issues_count":20,"forks_count":21,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-04-20T06:26:27.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/networkx.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},"funding":{"github":["networkx"],"open_collective":"networkx"}},"created_at":"2015-05-22T19:02:43.000Z","updated_at":"2025-01-09T03:35:17.000Z","dependencies_parsed_at":"2022-09-11T03:51:57.065Z","dependency_job_id":"b210bb36-f034-48d6-8636-2ee2ed226188","html_url":"https://github.com/networkx/networkx-metis","commit_stats":{"total_commits":71,"total_committers":7,"mean_commits":"10.142857142857142","dds":0.3661971830985915,"last_synced_commit":"26a51ddad5932d843655e5b7ba1225bcfe3b8882"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkx%2Fnetworkx-metis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkx%2Fnetworkx-metis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkx%2Fnetworkx-metis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkx%2Fnetworkx-metis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/networkx","download_url":"https://codeload.github.com/networkx/networkx-metis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251414313,"owners_count":21585624,"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-13T09:09:39.868Z","updated_at":"2025-05-05T02:31:31.121Z","avatar_url":"https://github.com/networkx.png","language":"C","funding_links":["https://github.com/sponsors/networkx","https://opencollective.com/networkx"],"categories":[],"sub_categories":[],"readme":"### NOTE: NetworkX-METIS isn't maintained actively, there won't be any new releases anytime soon. Please open an issue if you are interested in helping with maintaining this project.\n\n\n# NetworkX-METIS\n\n[![Build Status](https://travis-ci.org/networkx/networkx-metis.svg?branch=master)](https://travis-ci.org/networkx/networkx-metis)\n[![Code Health](https://landscape.io/github/networkx/networkx-metis/master/landscape.svg?style=flat)](https://landscape.io/github/networkx/networkx-metis/master)\n[![Documentation Status](https://readthedocs.org/projects/networkx-metis/badge/?version=latest)](https://networkx-metis.readthedocs.org/en/latest/)\n\n * [What is NetworkX-METIS?](#what-is-networkx-metis)\n * [Installation](#installation)\n * [Contribute](#contribute-to-networkx-metis)\n\n## What is NetworkX-METIS?\nNetworkX-METIS is a NetworkX addon that enables graph partitioning with METIS.\n\n[NetworkX](https://github.com/networkx/networkx) is a Python package for the creation,\nmanipulation and study of the structure, dynamics, and functions of complex networkx.\n[METIS](http://glaros.dtc.umn.edu/gkhome/metis/metis/overview) is a C library written for\npartitioning graphs, partitioning finite element meshes, and producing\nfill reducing orderings for sparse matrices. NetworkX-METIS uses Cython to wrap the\nMETIS library to make it available in Python.\n\nDocumentation of NetworkX-METIS is available at \n[http://networkx-metis.readthedocs.org/en/latest](http://networkx-metis.readthedocs.org/en/latest).\n\n## Installation\n### Linux/Mac\n#### Requirements\n```sh\npip install Cython\n```\n\n#### Installation from PyPI\n```sh\npip install networkx-metis\n```\n\n#### Installation from GitHub\n```sh\ngit clone https://github.com/networkx/networkx-metis.git\ncd networkx-metis\npython setup.py install\n```\n\n### Windows\nInstallation on Windows is largely the same as on Linux/Mac except that no \"platform compiler\" is\npre-installed. So, an extra `--compiler` flag may be necessary to specify a compiler. A simple guide\nfor installing and setting up the compiler is available [here](https://github.com/cython/cython/wiki/CythonExtensionsOnWindows).\n\nHere is an example:\n\n```sh\ngit clone https://github.com/networkx/networkx-metis.git\ncd networkx-metis\npython setup.py build --compiler=msvc\npython setup.py install\n```\n\nprovided that Cython and NetworkX have been installed as described in above sections.\n\nExample\n-\n```python\n\u003e\u003e\u003e import networkx as nx\n\u003e\u003e\u003e import nxmetis\n\u003e\u003e\u003e G = nx.complete_graph(10)\n\u003e\u003e\u003e nxmetis.partition(G, 2)\n(25, [[0, 1, 2, 3, 6], [4, 5, 7, 8, 9]])\n```\n\n## Contribute to NetworkX-METIS\nFor a summary of all the coding guidelines and development workflow, please refer to the\n[Developer Guide](https://networkx.readthedocs.org/en/latest/developer/index.html) of NetworkX.\n\n - [Report Bugs and Issues](https://github.com/networkx/networkx-metis/issues)\n - [Resolve Bugs and Issues](https://github.com/networkx/networkx-metis/issues?page=1\u0026state=open)\n - Write tutorials, examples and documentation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworkx%2Fnetworkx-metis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetworkx%2Fnetworkx-metis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworkx%2Fnetworkx-metis/lists"}