{
 "kind": "tool",
 "slug": "networkx",
 "path": "tools/networkx/",
 "name": "NetworkX",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "ML and data science",
   "tools/ml-data-science/"
  ]
 ],
 "lead": "Python package for creating, analyzing and manipulating complex networks and graphs.",
 "chips": [
  {
   "label": "ML and data science",
   "path": "tools/ml-data-science/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install networkx"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/networkx/networkx"
  },
  {
   "label": "Website",
   "href": "https://networkx.org/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "BSD-3-Clause",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": "https://github.com/networkx/networkx"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Sep 21, 2026. ",
   "src": "https://github.com/networkx/networkx"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "62 projects",
   "status": "info",
   "sub": "#9 of 293 in its category",
   "note": "Dependency in 62 public GitHub projects set up for AI coding agents that we scanned (1.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "2 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What NetworkX does",
   "parts": [
    {
     "t": "prose",
     "text": "Python package for creating, analyzing and manipulating complex networks and graphs."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "NetworkX popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "81",
       "of": "/ 100",
       "l": "Gid Score, #90 overall"
      },
      {
       "n": "69.6M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "17.4K",
       "l": "GitHub stars"
      },
      {
       "n": "62",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How NetworkX is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "NetworkX is a dependency in 62 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (3.8% of the 1,623 Python ones), #9 of 293 in ml and data science.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 1,069; those are left out of every share on this page.",
      "The most used alternative in our scan is NumPy (362 projects).",
      "Projects that use it most often also use NumPy (69.4%), Pydantic (56.5%), FastAPI (51.6%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "35 projects, 1.1%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "32 projects, 1.1%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "24 projects, 1.0%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 69.4% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 56.5% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 51.6% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 51.6% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 48.4% of its projects",
       "v": "Pillow",
       "path": "tools/pillow/"
      },
      {
       "l": "In 46.8% of its projects",
       "v": "pandas",
       "path": "tools/pandas/"
      },
      {
       "l": "In 45.2% of its projects",
       "v": "PyYAML",
       "path": "tools/pyyaml/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about NetworkX",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/networkx",
        "Open Collective: https://opencollective.com/networkx",
        "3 GitHub sponsors"
       ]
      },
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "networkx: Creates, analyzes, and visualizes complex networks and graphs in Python with NetworkX. Use when working with network/graph data structures,",
        "networkx: Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python. Use when working with network/graph da"
       ]
      },
      {
       "title": "More in ML and data science",
       "path": "tools/ml-data-science/",
       "items": [
        {
         "text": "pandas",
         "path": "tools/pandas/"
        },
        {
         "text": "scikit-learn",
         "path": "tools/scikit-learn/"
        },
        {
         "text": "Sentence Transformers",
         "path": "tools/sentence-transformers/"
        },
        {
         "text": "Hugging Face Transformers",
         "path": "tools/transformers/"
        },
        {
         "text": "Chroma (Python)",
         "path": "tools/chromadb-pypi/"
        },
        {
         "text": "PyArrow",
         "path": "tools/pyarrow/"
        },
        {
         "text": "joblib",
         "path": "tools/joblib/"
        },
        {
         "text": "IPykernel",
         "path": "tools/ipykernel/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "NetworkX",
       "me": true,
       "facts": [
        "BSD-3-Clause",
        "Gid 81",
        "69.6M/wk"
       ]
      },
      {
       "name": "NumPy",
       "why": "Fundamental Python library for numerical computing with arrays and matrices.",
       "path": "tools/numpy/",
       "facts": [
        "BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0",
        "Gid 86",
        "272M/wk"
       ]
      },
      {
       "name": "SciPy",
       "why": "Fundamental algorithms for scientific computing with optimized numerical routines.",
       "path": "tools/scipy/",
       "facts": [
        "BSD",
        "Gid 80",
        "102M/wk"
       ]
      },
      {
       "name": "PyTorch",
       "why": "Deep learning framework with tensors and dynamic neural networks with GPU support.",
       "path": "tools/torch/",
       "facts": [
        "Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND ISC AND MIT AND Zlib",
        "Gid 81",
        "12.5M/wk"
       ]
      }
     ],
     "more": "Compare NetworkX with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install networkx"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for NetworkX yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi networkx"
  ],
  [
   "Category",
   "ML and data science"
  ],
  [
   "License",
   "BSD-3-Clause"
  ],
  [
   "Gid Score",
   "80.6"
  ],
  [
   "Rank in category",
   "#9 of 293"
  ],
  [
   "GitHub",
   "networkx/networkx"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/networkx.png"
}