{
 "kind": "tool",
 "slug": "isort",
 "path": "tools/isort/",
 "name": "isort",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Linting and formatting",
   "tools/lint-format/"
  ]
 ],
 "lead": "Automatically sorts and organizes Python imports for consistent code style.",
 "chips": [
  {
   "label": "Linting and formatting",
   "path": "tools/lint-format/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install isort"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/PyCQA/isort"
  },
  {
   "label": "Website",
   "href": "https://isort.readthedocs.io/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": "https://github.com/PyCQA/isort"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 16, 2026",
   "note": "Latest GitHub release Sep 28, 2026. ",
   "src": "https://github.com/PyCQA/isort"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "33 projects",
   "status": "info",
   "sub": "#21 of 83 in its category",
   "note": "Dependency in 33 public GitHub projects set up for AI coding agents that we scanned (0.5%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "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 isort does",
   "parts": [
    {
     "t": "prose",
     "text": "Automatically sorts and organizes Python imports for consistent code style."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "isort popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "67",
       "of": "/ 100",
       "l": "Gid Score, #574 overall"
      },
      {
       "n": "21.6M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "6,965",
       "l": "GitHub stars"
      },
      {
       "n": "33",
       "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 isort is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "isort is a dependency in 33 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.0% of the 1,623 Python ones), #21 of 83 in linting and formatting.",
      "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 229; those are left out of every share on this page.",
      "The most used alternative in our scan is Black (78 projects).",
      "Projects that use it most often also use Black (90.9%), pytest (90.9%), python-dotenv (66.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "19 projects, 0.6%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "12 projects, 0.4%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "11 projects, 0.5%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 90.9% of its projects",
       "v": "Black",
       "path": "tools/black/"
      },
      {
       "l": "In 90.9% of its projects",
       "v": "pytest",
       "path": "tools/pytest/"
      },
      {
       "l": "In 66.7% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 60.6% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 60.6% of its projects",
       "v": "mypy",
       "path": "tools/mypy/"
      },
      {
       "l": "In 57.6% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 57.6% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 54.5% of its projects",
       "v": "flake8",
       "path": "tools/flake8/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about isort",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/timothycrosley",
        "Tidelift: https://tidelift.com/funding/github/pypi/isort",
        "1 GitHub sponsors"
       ]
      },
      {
       "title": "More in Linting and formatting",
       "path": "tools/lint-format/",
       "items": [
        {
         "text": "ESLint",
         "path": "tools/eslint/"
        },
        {
         "text": "Prettier",
         "path": "tools/prettier/"
        },
        {
         "text": "Biome",
         "path": "tools/biomejs/"
        },
        {
         "text": "oxlint",
         "path": "tools/oxlint/"
        },
        {
         "text": "oxfmt",
         "path": "tools/oxfmt/"
        },
        {
         "text": "Knip",
         "path": "tools/knip/"
        },
        {
         "text": "stylelint",
         "path": "tools/stylelint/"
        },
        {
         "text": "ESLint Import Resolver TypeScript",
         "path": "tools/eslint-import-resolver-typescript/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "isort",
       "me": true,
       "facts": [
        "MIT",
        "Gid 67",
        "21.6M/wk"
       ]
      },
      {
       "name": "Black",
       "why": "Uncompromising Python code formatter enforcing consistent style automatically.",
       "path": "tools/black/",
       "facts": [
        "MIT",
        "Gid 76",
        "25.7M/wk"
       ]
      },
      {
       "name": "Ruff",
       "why": "Extremely fast Python linter and code formatter written in Rust for modern projects.",
       "path": "tools/ruff/",
       "facts": [
        "MIT",
        "Gid 80",
        "108M/wk"
       ]
      }
     ],
     "more": "Compare isort with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install isort"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for isort yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi isort"
  ],
  [
   "Category",
   "Linting and formatting"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "66.6"
  ],
  [
   "Rank in category",
   "#21 of 83"
  ],
  [
   "GitHub",
   "PyCQA/isort"
  ],
  [
   "Last change",
   "Nov 16, 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/pycqa.png"
}