METADATA 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. Metadata-Version: 2.4
  2. Name: networkx
  3. Version: 3.6.1
  4. Summary: Python package for creating and manipulating graphs and networks
  5. Author-email: Aric Hagberg <hagberg@lanl.gov>
  6. Maintainer-email: NetworkX Developers <networkx-discuss@googlegroups.com>
  7. License-Expression: BSD-3-Clause
  8. Project-URL: Homepage, https://networkx.org/
  9. Project-URL: Bug Tracker, https://github.com/networkx/networkx/issues
  10. Project-URL: Documentation, https://networkx.org/documentation/stable/
  11. Project-URL: Source Code, https://github.com/networkx/networkx
  12. Keywords: Networks,Graph Theory,Mathematics,network,graph,discrete mathematics,math
  13. Platform: Linux
  14. Platform: Mac OSX
  15. Platform: Windows
  16. Platform: Unix
  17. Classifier: Development Status :: 5 - Production/Stable
  18. Classifier: Intended Audience :: Developers
  19. Classifier: Intended Audience :: Science/Research
  20. Classifier: Operating System :: OS Independent
  21. Classifier: Programming Language :: Python :: 3
  22. Classifier: Programming Language :: Python :: 3.11
  23. Classifier: Programming Language :: Python :: 3.12
  24. Classifier: Programming Language :: Python :: 3.13
  25. Classifier: Programming Language :: Python :: 3.14
  26. Classifier: Programming Language :: Python :: 3 :: Only
  27. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  28. Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
  29. Classifier: Topic :: Scientific/Engineering :: Information Analysis
  30. Classifier: Topic :: Scientific/Engineering :: Mathematics
  31. Classifier: Topic :: Scientific/Engineering :: Physics
  32. Requires-Python: !=3.14.1,>=3.11
  33. Description-Content-Type: text/x-rst
  34. License-File: LICENSE.txt
  35. Provides-Extra: benchmarking
  36. Requires-Dist: asv; extra == "benchmarking"
  37. Requires-Dist: virtualenv; extra == "benchmarking"
  38. Provides-Extra: default
  39. Requires-Dist: numpy>=1.25; extra == "default"
  40. Requires-Dist: scipy>=1.11.2; extra == "default"
  41. Requires-Dist: matplotlib>=3.8; extra == "default"
  42. Requires-Dist: pandas>=2.0; extra == "default"
  43. Provides-Extra: developer
  44. Requires-Dist: pre-commit>=4.1; extra == "developer"
  45. Requires-Dist: mypy>=1.15; extra == "developer"
  46. Provides-Extra: doc
  47. Requires-Dist: sphinx>=8.0; extra == "doc"
  48. Requires-Dist: pydata-sphinx-theme>=0.16; extra == "doc"
  49. Requires-Dist: sphinx-gallery>=0.18; extra == "doc"
  50. Requires-Dist: numpydoc>=1.8.0; extra == "doc"
  51. Requires-Dist: pillow>=10; extra == "doc"
  52. Requires-Dist: texext>=0.6.7; extra == "doc"
  53. Requires-Dist: myst-nb>=1.1; extra == "doc"
  54. Requires-Dist: intersphinx-registry; extra == "doc"
  55. Provides-Extra: example
  56. Requires-Dist: osmnx>=2.0.0; extra == "example"
  57. Requires-Dist: momepy>=0.7.2; extra == "example"
  58. Requires-Dist: contextily>=1.6; extra == "example"
  59. Requires-Dist: seaborn>=0.13; extra == "example"
  60. Requires-Dist: cairocffi>=1.7; extra == "example"
  61. Requires-Dist: igraph>=0.11; extra == "example"
  62. Requires-Dist: scikit-learn>=1.5; extra == "example"
  63. Requires-Dist: iplotx>=0.9.0; extra == "example"
  64. Provides-Extra: extra
  65. Requires-Dist: lxml>=4.6; extra == "extra"
  66. Requires-Dist: pygraphviz>=1.14; extra == "extra"
  67. Requires-Dist: pydot>=3.0.1; extra == "extra"
  68. Requires-Dist: sympy>=1.10; extra == "extra"
  69. Provides-Extra: release
  70. Requires-Dist: build>=0.10; extra == "release"
  71. Requires-Dist: twine>=4.0; extra == "release"
  72. Requires-Dist: wheel>=0.40; extra == "release"
  73. Requires-Dist: changelist==0.5; extra == "release"
  74. Provides-Extra: test
  75. Requires-Dist: pytest>=7.2; extra == "test"
  76. Requires-Dist: pytest-cov>=4.0; extra == "test"
  77. Requires-Dist: pytest-xdist>=3.0; extra == "test"
  78. Provides-Extra: test-extras
  79. Requires-Dist: pytest-mpl; extra == "test-extras"
  80. Requires-Dist: pytest-randomly; extra == "test-extras"
  81. Dynamic: license-file
  82. NetworkX
  83. ========
  84. .. image::
  85. https://github.com/networkx/networkx/actions/workflows/test.yml/badge.svg?branch=main
  86. :target: https://github.com/networkx/networkx/actions/workflows/test.yml
  87. .. image::
  88. https://img.shields.io/pypi/v/networkx.svg?
  89. :target: https://pypi.python.org/pypi/networkx
  90. .. image::
  91. https://img.shields.io/pypi/l/networkx.svg?
  92. :target: https://github.com/networkx/networkx/blob/main/LICENSE.txt
  93. .. image::
  94. https://img.shields.io/pypi/pyversions/networkx.svg?
  95. :target: https://pypi.python.org/pypi/networkx
  96. .. image::
  97. https://img.shields.io/github/labels/networkx/networkx/good%20first%20issue?color=green&label=contribute
  98. :target: https://github.com/networkx/networkx/contribute
  99. .. image::
  100. https://insights.linuxfoundation.org/api/badge/health-score?project=networkx
  101. :target: https://insights.linuxfoundation.org/project/networkx
  102. NetworkX is a Python package for the creation, manipulation,
  103. and study of the structure, dynamics, and functions
  104. of complex networks.
  105. - **Website (including documentation):** https://networkx.org
  106. - **Mailing list:** https://groups.google.com/forum/#!forum/networkx-discuss
  107. - **Source:** https://github.com/networkx/networkx
  108. - **Bug reports:** https://github.com/networkx/networkx/issues
  109. - **Report a security vulnerability:** https://tidelift.com/security
  110. - **Tutorial:** https://networkx.org/documentation/latest/tutorial.html
  111. - **GitHub Discussions:** https://github.com/networkx/networkx/discussions
  112. - **Discord (Scientific Python) invite link:** https://discord.com/invite/vur45CbwMz
  113. - **NetworkX meetings calendar (open to all):** https://scientific-python.org/calendars/networkx.ics
  114. Simple example
  115. --------------
  116. Find the shortest path between two nodes in an undirected graph:
  117. .. code:: pycon
  118. >>> import networkx as nx
  119. >>> G = nx.Graph()
  120. >>> G.add_edge("A", "B", weight=4)
  121. >>> G.add_edge("B", "D", weight=2)
  122. >>> G.add_edge("A", "C", weight=3)
  123. >>> G.add_edge("C", "D", weight=4)
  124. >>> nx.shortest_path(G, "A", "D", weight="weight")
  125. ['A', 'B', 'D']
  126. Install
  127. -------
  128. Install the latest released version of NetworkX:
  129. .. code:: shell
  130. $ pip install networkx
  131. Install with all optional dependencies:
  132. .. code:: shell
  133. $ pip install networkx[default]
  134. For additional details,
  135. please see the `installation guide <https://networkx.org/documentation/stable/install.html>`_.
  136. Bugs
  137. ----
  138. Please report any bugs that you find `here <https://github.com/networkx/networkx/issues>`_.
  139. Or, even better, fork the repository on `GitHub <https://github.com/networkx/networkx>`_
  140. and create a pull request (PR). We welcome all changes, big or small, and we
  141. will help you make the PR if you are new to `git` (just ask on the issue and/or
  142. see the `contributor guide <https://networkx.org/documentation/latest/developer/contribute.html>`_).
  143. License
  144. -------
  145. Released under the `3-clause BSD license <https://github.com/networkx/networkx/blob/main/LICENSE.txt>`_::
  146. Copyright (c) 2004-2025, NetworkX Developers
  147. Aric Hagberg <hagberg@lanl.gov>
  148. Dan Schult <dschult@colgate.edu>
  149. Pieter Swart <swart@lanl.gov>