{
 "kind": "tool",
 "slug": "bcrypt-pypi",
 "path": "tools/bcrypt-pypi/",
 "name": "bcrypt (Python)",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Auth and security libraries",
   "tools/auth-security/"
  ]
 ],
 "lead": "Modern password hashing library with secure bcrypt algorithm implementation.",
 "chips": [
  {
   "label": "Auth and security libraries",
   "path": "tools/auth-security/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install bcrypt"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/pyca/bcrypt"
  },
  {
   "label": "Website",
   "href": "https://github.com/pyca/bcrypt/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/pyca/bcrypt"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "",
   "src": "https://github.com/pyca/bcrypt"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "55 projects",
   "status": "info",
   "sub": "#14 of 141 in its category",
   "note": "Dependency in 55 public GitHub projects set up for AI coding agents that we scanned (0.9%).",
   "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 bcrypt (Python) does",
   "parts": [
    {
     "t": "prose",
     "text": "Modern password hashing library with secure bcrypt algorithm implementation."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "bcrypt (Python) popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "66",
       "of": "/ 100",
       "l": "Gid Score, #640 overall"
      },
      {
       "n": "41M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "1,509",
       "l": "GitHub stars"
      },
      {
       "n": "55",
       "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 bcrypt (Python) is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "bcrypt (Python) is a dependency in 55 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (3.4% of the 1,623 Python ones), #14 of 141 in auth and security libraries.",
      "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 509; those are left out of every share on this page.",
      "The most used alternative in our scan is PyJWT (118 projects).",
      "Projects that use it most often also use Uvicorn (90.9%), FastAPI (89.1%), Pydantic (80.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "36 projects, 1.1%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "24 projects, 1.0%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "23 projects, 0.8%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "5 projects, 1.5%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 90.9% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 89.1% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 80.0% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 74.5% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 65.5% of its projects",
       "v": "SQLAlchemy",
       "path": "tools/sqlalchemy/"
      },
      {
       "l": "In 61.8% of its projects",
       "v": "python-multipart",
       "path": "tools/python-multipart/"
      },
      {
       "l": "In 52.7% of its projects",
       "v": "pytest",
       "path": "tools/pytest/"
      },
      {
       "l": "In 50.9% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about bcrypt (Python)",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Head to head",
       "items": [
        {
         "text": "passlib vs bcrypt (Python)",
         "note": "used together in 23 projects",
         "path": "tools/compare/passlib-vs-bcrypt-python/"
        }
       ]
      },
      {
       "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": "bcrypt (Python)",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 66",
        "41M/wk"
       ]
      },
      {
       "name": "PyJWT",
       "why": "Python library for encoding and decoding JSON Web Tokens.",
       "path": "tools/pyjwt/",
       "facts": [
        "MIT",
        "Gid 74",
        "176M/wk"
       ]
      },
      {
       "name": "passlib",
       "why": "Comprehensive password hashing framework supporting 30+ algorithms and schemes.",
       "path": "tools/passlib/",
       "facts": [
        "BSD",
        "Gid 64",
        "7.9M/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"
       ]
      }
     ],
     "more": "Compare bcrypt (Python) with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install bcrypt"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for bcrypt (Python) yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi bcrypt"
  ],
  [
   "Category",
   "Auth and security libraries"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "65.6"
  ],
  [
   "Rank in category",
   "#14 of 141"
  ],
  [
   "GitHub",
   "pyca/bcrypt"
  ],
  [
   "Last change",
   "Nov 23, 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/pyca.png"
}