{
 "kind": "tool",
 "slug": "rsa",
 "path": "tools/rsa/",
 "name": "rsa",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Auth and security libraries",
   "tools/auth-security/"
  ]
 ],
 "lead": "Pure Python RSA encryption and decryption implementation for secure communication.",
 "chips": [
  {
   "label": "Auth and security libraries",
   "path": "tools/auth-security/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install rsa"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/sybrenstuvel/python-rsa"
  },
  {
   "label": "Website",
   "href": "https://stuvel.eu/rsa"
  }
 ],
 "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/sybrenstuvel/python-rsa"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "No longer maintained",
   "status": "no",
   "sub": "Repository archived",
   "note": "",
   "src": "https://github.com/sybrenstuvel/python-rsa"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "10 projects",
   "status": "info",
   "sub": "#52 of 141 in its category",
   "note": "Dependency in 10 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 rsa does",
   "parts": [
    {
     "t": "prose",
     "text": "Pure Python RSA encryption and decryption implementation for secure communication."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "rsa popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "62",
       "of": "/ 100",
       "l": "Gid Score, #910 overall"
      },
      {
       "n": "44.3M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "487",
       "l": "GitHub stars"
      },
      {
       "n": "10",
       "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 rsa is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "rsa is a dependency in 10 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 684 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is cryptography (148 projects).",
      "Projects that use it most often also use pyasn1 (99.3%), Requests (98.8%), packaging (95.6%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "5 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 99.3% of its projects",
       "v": "pyasn1",
       "path": "tools/pyasn1/"
      },
      {
       "l": "In 98.8% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 95.6% of its projects",
       "v": "packaging",
       "path": "tools/packaging/"
      },
      {
       "l": "In 95.3% of its projects",
       "v": "google-auth",
       "path": "tools/google-auth/"
      },
      {
       "l": "In 94.3% of its projects",
       "v": "python-dateutil",
       "path": "tools/python-dateutil/"
      },
      {
       "l": "In 94.2% of its projects",
       "v": "urllib3",
       "path": "tools/urllib3/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about rsa",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "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": "PyJWT",
         "path": "tools/pyjwt/"
        },
        {
         "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": "rsa",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 62",
        "44.3M/wk"
       ]
      },
      {
       "name": "cryptography",
       "why": "Python library providing cryptographic recipes and primitives for secure applications.",
       "path": "tools/cryptography/",
       "facts": [
        "Apache-2.0 OR BSD-3-Clause",
        "Gid 77",
        "316M/wk"
       ]
      },
      {
       "name": "python-jose",
       "why": "JOSE (JSON Object Signing and Encryption) implementation for Python.",
       "path": "tools/python-jose/",
       "facts": [
        "MIT",
        "Gid 58",
        "7.1M/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": "oauthlib",
       "why": "Comprehensive OAuth request-signing implementation for Python, handling authentication flows securely.",
       "path": "tools/oauthlib/",
       "facts": [
        "BSD-3-Clause",
        "Gid 69",
        "62.8M/wk"
       ]
      }
     ],
     "more": "Compare rsa with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install rsa"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for rsa yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi rsa"
  ],
  [
   "Category",
   "Auth and security libraries"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "61.6"
  ],
  [
   "Rank in category",
   "#52 of 141"
  ],
  [
   "GitHub",
   "sybrenstuvel/python-rsa"
  ],
  [
   "Last change",
   "Apr 16, 2025"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/sybrenstuvel.png"
}