{
 "kind": "tool",
 "slug": "shellingham",
 "path": "tools/shellingham/",
 "name": "shellingham",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Utilities",
   "tools/utilities/"
  ]
 ],
 "lead": "Detect the surrounding shell environment in Python for CLI applications.",
 "chips": [
  {
   "label": "Utilities",
   "path": "tools/utilities/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install shellingham"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/sarugaku/shellingham"
  },
  {
   "label": "Website",
   "href": "https://github.com/sarugaku/shellingham"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "ISC",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/sarugaku/shellingham"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Mar 13, 2026",
   "note": "Latest GitHub release Oct 24, 2023. ",
   "src": "https://github.com/sarugaku/shellingham"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "28 projects",
   "status": "info",
   "sub": "#52 of 408 in its category",
   "note": "Dependency in 28 public GitHub projects set up for AI coding agents that we scanned (0.4%).",
   "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 shellingham does",
   "parts": [
    {
     "t": "prose",
     "text": "Detect the surrounding shell environment in Python for CLI applications."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "shellingham popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "62",
       "of": "/ 100",
       "l": "Gid Score, #865 overall"
      },
      {
       "n": "76.7M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "321",
       "l": "GitHub stars"
      },
      {
       "n": "28",
       "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 shellingham is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "shellingham is a dependency in 28 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.7% of the 1,623 Python ones), #52 of 408 in utilities.",
      "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 531; those are left out of every share on this page.",
      "The most used alternative in our scan is distro (35 projects).",
      "Projects that use it most often also use Typer (100.0%), Pydantic (96.4%), Uvicorn (89.3%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "17 projects, 0.6%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "13 projects, 0.4%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "12 projects, 0.5%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "Typer",
       "path": "tools/typer/"
      },
      {
       "l": "In 96.4% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 89.3% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 89.3% of its projects",
       "v": "Rich",
       "path": "tools/rich/"
      },
      {
       "l": "In 85.7% of its projects",
       "v": "AnyIO",
       "path": "tools/anyio/"
      },
      {
       "l": "In 85.7% of its projects",
       "v": "Click",
       "path": "tools/click-py/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about shellingham",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Utilities",
       "path": "tools/utilities/",
       "items": [
        {
         "text": "clsx",
         "path": "tools/clsx/"
        },
        {
         "text": "date-fns",
         "path": "tools/date-fns/"
        },
        {
         "text": "PyYAML",
         "path": "tools/pyyaml/"
        },
        {
         "text": "uuid",
         "path": "tools/uuid/"
        },
        {
         "text": "yaml",
         "path": "tools/yaml/"
        },
        {
         "text": "js-yaml",
         "path": "tools/js-yaml/"
        },
        {
         "text": "glob",
         "path": "tools/glob/"
        },
        {
         "text": "Lodash",
         "path": "tools/lodash/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "shellingham",
       "me": true,
       "facts": [
        "ISC",
        "Gid 62",
        "76.7M/wk"
       ]
      },
      {
       "name": "distro",
       "why": "Python library providing OS platform and Linux distribution information detection.",
       "path": "tools/distro/",
       "facts": [
        "Apache-2.0",
        "Gid 64",
        "81.5M/wk"
       ]
      }
     ],
     "more": "Compare shellingham with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install shellingham"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for shellingham yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi shellingham"
  ],
  [
   "Category",
   "Utilities"
  ],
  [
   "License",
   "ISC"
  ],
  [
   "Gid Score",
   "62.0"
  ],
  [
   "Rank in category",
   "#52 of 408"
  ],
  [
   "GitHub",
   "sarugaku/shellingham"
  ],
  [
   "Last change",
   "Mar 13, 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/sarugaku.png"
}