{
 "kind": "tool",
 "slug": "oauthlib",
 "path": "tools/oauthlib/",
 "name": "oauthlib",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Auth and security libraries",
   "tools/auth-security/"
  ]
 ],
 "lead": "Comprehensive OAuth request-signing implementation for Python, handling authentication flows securely.",
 "chips": [
  {
   "label": "Auth and security libraries",
   "path": "tools/auth-security/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install oauthlib"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/oauthlib/oauthlib"
  },
  {
   "label": "Website",
   "href": "https://github.com/oauthlib/oauthlib"
  }
 ],
 "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 field.",
   "src": "https://github.com/oauthlib/oauthlib"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 19, 2026",
   "note": "Latest GitHub release Oct 31, 2026. ",
   "src": "https://github.com/oauthlib/oauthlib"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "13 projects",
   "status": "info",
   "sub": "#40 of 141 in its category",
   "note": "Dependency in 13 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "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 oauthlib does",
   "parts": [
    {
     "t": "prose",
     "text": "Comprehensive OAuth request-signing implementation for Python, handling authentication flows securely."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "oauthlib popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "69",
       "of": "/ 100",
       "l": "Gid Score, #432 overall"
      },
      {
       "n": "62.8M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "2,989",
       "l": "GitHub stars"
      },
      {
       "n": "13",
       "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 oauthlib is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "oauthlib is a dependency in 13 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 498 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is PyJWT (118 projects).",
      "Projects that use it most often also use NumPy (93.2%), Requests (93.2%), packaging (92.6%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "9 projects, 0.3%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "5 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 93.2% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 93.2% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 92.6% of its projects",
       "v": "packaging",
       "path": "tools/packaging/"
      },
      {
       "l": "In 92.0% of its projects",
       "v": "Protocol Buffers",
       "path": "tools/protobuf/"
      },
      {
       "l": "In 91.8% of its projects",
       "v": "attrs",
       "path": "tools/attrs/"
      },
      {
       "l": "In 91.4% of its projects",
       "v": "Click",
       "path": "tools/click-py/"
      },
      {
       "l": "In 89.8% of its projects",
       "v": "python-dateutil",
       "path": "tools/python-dateutil/"
      },
      {
       "l": "In 89.4% of its projects",
       "v": "requests-oauthlib",
       "path": "tools/requests-oauthlib/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about oauthlib",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/JonathanHuot",
        "Open Collective: https://opencollective.com/oauthlib",
        "1 GitHub sponsors"
       ]
      },
      {
       "title": "More in Auth and security libraries",
       "path": "tools/auth-security/",
       "items": [
        {
         "text": "bcryptjs",
         "path": "tools/bcryptjs/"
        },
        {
         "text": "NextAuth.js",
         "path": "tools/next-auth/"
        },
        {
         "text": "jsonwebtoken",
         "path": "tools/jsonwebtoken/"
        },
        {
         "text": "cryptography",
         "path": "tools/cryptography/"
        },
        {
         "text": "jose",
         "path": "tools/jose/"
        },
        {
         "text": "Better Auth",
         "path": "tools/better-auth/"
        },
        {
         "text": "DOMPurify",
         "path": "tools/dompurify/"
        },
        {
         "text": "Helmet",
         "path": "tools/helmet/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "oauthlib",
       "me": true,
       "facts": [
        "BSD-3-Clause",
        "Gid 69",
        "62.8M/wk"
       ]
      },
      {
       "name": "PyJWT",
       "why": "Python library for encoding and decoding JSON Web Tokens.",
       "path": "tools/pyjwt/",
       "facts": [
        "MIT",
        "Gid 74",
        "176M/wk"
       ]
      },
      {
       "name": "Authlib",
       "why": "Ultimate Python library for building OAuth and OpenID Connect servers and clients.",
       "path": "tools/authlib/",
       "facts": [
        "BSD",
        "Gid 70",
        "38.2M/wk"
       ]
      },
      {
       "name": "requests-oauthlib",
       "why": "OAuth authentication support for the Requests HTTP library.",
       "path": "tools/requests-oauthlib/",
       "facts": [
        "BSD",
        "Gid 66",
        "63.2M/wk"
       ]
      }
     ],
     "more": "Compare oauthlib with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install oauthlib"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for oauthlib yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi oauthlib"
  ],
  [
   "Category",
   "Auth and security libraries"
  ],
  [
   "License",
   "BSD-3-Clause"
  ],
  [
   "Gid Score",
   "69.1"
  ],
  [
   "Rank in category",
   "#40 of 141"
  ],
  [
   "GitHub",
   "oauthlib/oauthlib"
  ],
  [
   "Last change",
   "Nov 19, 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/oauthlib.png"
}