{
 "kind": "tool",
 "slug": "wsproto",
 "path": "tools/wsproto/",
 "name": "wsproto",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "HTTP clients and networking",
   "tools/http-clients/"
  ]
 ],
 "lead": "Pure Python WebSocket protocol implementation.",
 "chips": [
  {
   "label": "HTTP clients and networking",
   "path": "tools/http-clients/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install wsproto"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/python-hyper/wsproto"
  },
  {
   "label": "Website",
   "href": "https://github.com/python-hyper/wsproto/"
  }
 ],
 "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/python-hyper/wsproto"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change May 23, 2026",
   "note": "",
   "src": "https://github.com/python-hyper/wsproto"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "2 projects",
   "status": "info",
   "sub": "#76 of 126 in its category",
   "note": "Dependency in 2 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "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 wsproto does",
   "parts": [
    {
     "t": "prose",
     "text": "Pure Python WebSocket protocol implementation."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "wsproto popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "54",
       "of": "/ 100",
       "l": "Gid Score, #1481 overall"
      },
      {
       "n": "17.2M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "303",
       "l": "GitHub stars"
      },
      {
       "n": "2",
       "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 wsproto is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "wsproto is a dependency in 2 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 174 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is aiohttp (125 projects).",
      "Projects that use it most often also use Requests (94.8%), Pydantic (94.3%), charset-normalizer (93.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 94.8% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 94.3% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 93.7% of its projects",
       "v": "charset-normalizer",
       "path": "tools/charset-normalizer/"
      },
      {
       "l": "In 93.7% of its projects",
       "v": "Click",
       "path": "tools/click-py/"
      },
      {
       "l": "In 93.7% of its projects",
       "v": "urllib3",
       "path": "tools/urllib3/"
      },
      {
       "l": "In 91.4% of its projects",
       "v": "tqdm",
       "path": "tools/tqdm/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about wsproto",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in HTTP clients and networking",
       "path": "tools/http-clients/",
       "items": [
        {
         "text": "Axios",
         "path": "tools/axios/"
        },
        {
         "text": "Requests",
         "path": "tools/requests-py/"
        },
        {
         "text": "httpx",
         "path": "tools/httpx/"
        },
        {
         "text": "ws",
         "path": "tools/ws/"
        },
        {
         "text": "postgres",
         "path": "tools/postgres/"
        },
        {
         "text": "redis (Python)",
         "path": "tools/redis-pypi/"
        },
        {
         "text": "undici",
         "path": "tools/undici/"
        },
        {
         "text": "node-fetch",
         "path": "tools/node-fetch/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "wsproto",
       "me": true,
       "facts": [
        "MIT",
        "Gid 54",
        "17.2M/wk"
       ]
      },
      {
       "name": "aiohttp",
       "why": "Async HTTP client/server framework for Python with WebSocket support.",
       "path": "tools/aiohttp/",
       "facts": [
        "Apache-2.0 AND MIT",
        "Gid 81",
        "134M/wk"
       ]
      },
      {
       "name": "websockets",
       "why": "WebSocket implementation for Python with RFC 6455 and 7692 compliance.",
       "path": "tools/websockets/",
       "facts": [
        "BSD-3-Clause",
        "Gid 76",
        "131M/wk"
       ]
      },
      {
       "name": "websocket-client",
       "why": "WebSocket client library for Python with low-level API options.",
       "path": "tools/websocket-client/",
       "facts": [
        "Apache-2.0",
        "Gid 69",
        "41.6M/wk"
       ]
      }
     ],
     "more": "Compare wsproto with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install wsproto"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for wsproto yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi wsproto"
  ],
  [
   "Category",
   "HTTP clients and networking"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "54.5"
  ],
  [
   "Rank in category",
   "#76 of 126"
  ],
  [
   "GitHub",
   "python-hyper/wsproto"
  ],
  [
   "Last change",
   "May 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/python-hyper.png"
}