{
  "id": "task_libraries:async/python",
  "path": "/exapedia/python-async-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python async libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python async libraries run many I/O-bound tasks concurrently in one thread by switching between them while each waits on the network or disk. An event loop schedules each coroutine or green thread and resumes it when its I/O completes. These libraries let web servers, crawlers, and AI agents handle thousands of open connections at once."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python async libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#anyio",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F132"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F6"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#uvloop",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F147"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tornado",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F164"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#trio",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F181"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F32"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#gevent",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F196"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F56"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#twisted",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F211"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#aiomultiprocess",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F228"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#eventlet",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F245"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "pypi"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#anyio",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads among the registry packages in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F2"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Scoped task nurseries",
            "Greenlet task scheduling",
            "Managed process workers"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#anyio",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F132"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#uvloop",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F147"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tornado",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F164"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#trio",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F181"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#gevent",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F196"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#twisted",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F211"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#aiomultiprocess",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F228"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#eventlet",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F245"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "anyio",
          "name": [
            {
              "t": "fact",
              "fact": "F132"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/agronholm/anyio"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/anyio"
            },
            {
              "label": "Docs",
              "href": "https://anyio.readthedocs.io/en/stable/basics.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F6"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://anyio.readthedocs.io/en/stable/basics.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F132"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/encode/httpcore",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F145"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "async def start_tls(\n    self,\n    ssl_context: ssl.SSLContext,\n    server_hostname: str | None = None,\n    timeout: float | None = None,\n) -> AsyncNetworkStream:\n    exc_map = {\n        TimeoutError: ConnectTimeout,\n        anyio.BrokenResourceError: ConnectError,\n        anyio.EndOfStream: ConnectError,\n        ssl.SSLError: ConnectError,\n    }\n    with map_exceptions(exc_map):\n        try:\n            with anyio.fail_after(timeout):\n                ssl_stream = await anyio.streams.tls.TLSStream.wrap(\n                    self._stream,\n                    ssl_context=ssl_context,\n                    hostname=server_hostname,\n                    standard_compatible=False,\n                    server_side=False,\n                )\n        except Exception as exc:  # pragma: nocover\n            await self.aclose()\n            raise exc\n    return AnyIOStream(ssl_stream)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/encode/httpcore/blob/10a658221deb38a4c5b16db55ab554b0bf731707/httpcore/_backends/anyio.py#L55-L80",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F144"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20applications%20using%20anyio%20for%20concurrent%20I/O%2C%20transport%20deadlines%20and%20asynchronous%20startup&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F132"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import anyio\n\nasync def main():\n    await anyio.sleep(0)\n\nanyio.run(main)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://anyio.readthedocs.io/en/stable/basics.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "tasks.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F137"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "uvloop",
          "name": [
            {
              "t": "fact",
              "fact": "F147"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/MagicStack/uvloop"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/uvloop"
            },
            {
              "label": "Docs",
              "href": "https://api.github.com/repos/MagicStack/uvloop/readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F154"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/MagicStack/uvloop/readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F147"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/streamlit/streamlit",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F162"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _run_server_loop(main: Coroutine[Any, Any, None]) -> None:\n    \"\"\"Run ``main`` on a new event loop, using uvloop when available.\n\n    - uvloop provides ``new_event_loop``: run on ``asyncio.Runner`` so we\n      avoid the deprecated event-loop policy APIs.\n    - uvloop is missing or too old: call ``uvloop.install()`` when it exists,\n      then ``asyncio.run()``.\n    - Creating the uvloop loop fails: skip ``install()`` and use the stdlib\n      loop.\n    \"\"\"\n    loop_factory = _get_uvloop_loop_factory()\n    if loop_factory is None:\n        _try_install_uvloop()\n    else:\n        try:\n            # Create the loop before Runner.run so a factory failure can\n            # fall back without wrapping the server coroutine itself.\n            loop = loop_factory()\n        except Exception:\n            # Don't call install() here: that would retry the same uvloop\n            # implementation that just failed to create a loop.\n            _LOGGER.warning(\n                \"Failed to create uvloop event loop. Falling back to default loop.\",\n                exc_info=True,\n            )\n        else:\n            _LOGGER.debug(\"Starting new uvloop event loop for server\")\n            with asyncio.Runner(loop_factory=lambda: loop) as runner:\n                runner.run(main)\n            return\n\n    _LOGGER.debug(\"Starting new event loop for server\")\n    asyncio.run(main)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/streamlit/streamlit/blob/87ebf36e34594a2deac689dcf37ddf84189d8e4d/lib/streamlit/web/bootstrap.py#L125-L157",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F161"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=uvloop%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F147"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import asyncio\nimport uvloop\n\nasync def main():\n    await asyncio.sleep(0)\n\nuvloop.run(main())\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/MagicStack/uvloop/readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.rst"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F152"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "tornado",
          "name": [
            {
              "t": "fact",
              "fact": "F164"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/tornadoweb/tornado"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/tornado"
            },
            {
              "label": "Docs",
              "href": "https://www.tornadoweb.org/en/stable/guide/coroutines.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F171"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.tornadoweb.org/en/stable/guide/coroutines.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F164"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/jupyter-server/jupyter_server",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F179"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def send_ping(self):\n    \"\"\"send a ping to keep the websocket alive\"\"\"\n    if self.ws_connection is None and self.ping_callback is not None:\n        self.ping_callback.stop()\n        return\n\n    if self.ws_connection.client_terminated:\n        self.close()\n        return\n\n    # check for timeout on pong.  Make sure that we really have sent a recent ping in\n    # case the machine with both server and client has been suspended since the last ping.\n    now = ioloop.IOLoop.current().time()\n    since_last_pong = 1e3 * (now - self.last_pong)\n    since_last_ping = 1e3 * (now - self.last_ping)\n    if since_last_ping < 2 * self.ping_interval and since_last_pong > self.ping_timeout:\n        self.log.warning(\"WebSocket ping timeout after %i ms.\", since_last_pong)\n        self.close()\n        return\n\n    self.ping(b\"\")\n    self.last_ping = now\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/jupyter-server/jupyter_server/blob/c4c5a51d2cf77d31a266376582ee05c4d661ad4b/jupyter_server/base/websocket.py#L161-L182",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F178"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=tornado%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F164"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from tornado.ioloop import IOLoop\nfrom tornado import gen\n\nasync def main():\n    await gen.sleep(0)\n\nIOLoop.current().run_sync(main)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://www.tornadoweb.org/en/stable/guide/coroutines.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "coroutines.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F169"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "trio",
          "name": [
            {
              "t": "fact",
              "fact": "F181"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/python-trio/trio"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/trio"
            },
            {
              "label": "Docs",
              "href": "https://trio.readthedocs.io/en/stable/reference-core.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F38"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F32"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://trio.readthedocs.io/en/stable/reference-core.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F181"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/encode/httpcore",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F194"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "async def start_tls(\n    self,\n    ssl_context: ssl.SSLContext,\n    server_hostname: str | None = None,\n    timeout: float | None = None,\n) -> AsyncNetworkStream:\n    timeout_or_inf = float(\"inf\") if timeout is None else timeout\n    exc_map: ExceptionMapping = {\n        trio.TooSlowError: ConnectTimeout,\n        trio.BrokenResourceError: ConnectError,\n    }\n    ssl_stream = trio.SSLStream(\n        self._stream,\n        ssl_context=ssl_context,\n        server_hostname=server_hostname,\n        https_compatible=True,\n        server_side=False,\n    )\n    with map_exceptions(exc_map):\n        try:\n            with trio.fail_after(timeout_or_inf):\n                await ssl_stream.do_handshake()\n        except Exception as exc:  # pragma: nocover\n            await self.aclose()\n            raise exc\n    return TrioStream(ssl_stream)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/encode/httpcore/blob/10a658221deb38a4c5b16db55ab554b0bf731707/httpcore/_backends/trio.py#L54-L79",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F193"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20applications%20using%20trio%20for%20concurrent%20I/O%2C%20transport%20deadlines%20and%20asynchronous%20startup&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F181"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import trio\n\nasync def main():\n    await trio.sleep(0)\n\ntrio.run(main)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://trio.readthedocs.io/en/stable/reference-core.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "tasks-intro.py"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F186"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "gevent",
          "name": [
            {
              "t": "fact",
              "fact": "F196"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/gevent/gevent"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/gevent"
            },
            {
              "label": "Docs",
              "href": "https://www.gevent.org/api/gevent.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F59"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F56"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.gevent.org/api/gevent.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F196"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F60"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F61"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F62"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/spyoungtech/grequests",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F209"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def map(requests, stream=False, size=None, exception_handler=None, gtimeout=None):\n    \"\"\"Concurrently converts a list of Requests to Responses.\n\n    :param requests: a collection of Request objects.\n    :param stream: If True, the content will not be downloaded immediately.\n    :param size: Specifies the number of requests to make at a time. If None, no throttling occurs.\n    :param exception_handler: Callback function, called when exception occured. Params: Request, Exception\n    :param gtimeout: Gevent joinall timeout in seconds. (Note: unrelated to requests timeout)\n    \"\"\"\n\n    requests = list(requests)\n\n    pool = Pool(size) if size else None\n    jobs = [send(r, pool, stream=stream) for r in requests]\n    gevent.joinall(jobs, timeout=gtimeout)\n\n    ret = []\n\n    for request in requests:\n        if request.response is not None:\n            ret.append(request.response)\n        elif exception_handler and hasattr(request, 'exception'):\n            ret.append(exception_handler(request, request.exception))\n        elif exception_handler and not hasattr(request, 'exception'):\n            ret.append(exception_handler(request, None))\n        else:\n            ret.append(None)\n\n    return ret",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/spyoungtech/grequests/blob/60f70e99e942a2df378b4e4f6202dcf862754c2d/grequests.py#L111-L139",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F208"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20applications%20using%20gevent%20for%20concurrent%20I/O%2C%20transport%20deadlines%20and%20asynchronous%20startup&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F196"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import gevent\n\njob = gevent.spawn(gevent.sleep, 0)\njob.join()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://www.gevent.org/api/gevent.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "intro.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F201"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "twisted",
          "name": [
            {
              "t": "fact",
              "fact": "F211"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/twisted/twisted"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/twisted"
            },
            {
              "label": "Docs",
              "href": "https://docs.twisted.org/en/stable/core/howto/defer-intro.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F218"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.twisted.org/en/stable/core/howto/defer-intro.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F211"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/scrapy/scrapy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F226"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def start(self) -> None:\n    if self._running >= self._count:\n        return\n    self._running += 1\n    self._coop.coiterate(self._work).addBoth(self._task_done)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/scrapy/scrapy/blob/86e136b9f3a0fb07f96eec0952d6efe028d281d4/scrapy/utils/defer.py#L219-L223",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F225"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=twisted%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F211"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from twisted.internet.task import react\nfrom twisted.internet.defer import succeed\n\nreact(lambda reactor: succeed(None))\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://docs.twisted.org/en/stable/api/twisted.internet.task.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "twisted.internet.task.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F216"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "aiomultiprocess",
          "name": [
            {
              "t": "fact",
              "fact": "F228"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/omnilib/aiomultiprocess"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/aiomultiprocess"
            },
            {
              "label": "Docs",
              "href": "https://aiomultiprocess.omnilib.dev/en/latest/guide.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F235"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://aiomultiprocess.omnilib.dev/en/latest/guide.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F228"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/bridgecrewio/checkov",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F243"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "async def _report_results_to_bridgecrew_async(\n    scan_results: Iterable[dict[str, Any]],\n    bc_integration: BcPlatformIntegration,\n    bc_api_key: str,\n) -> Sequence[int]:\n    package_scanning_int = PackageScanningIntegration()\n    args = [(result, bc_integration, bc_api_key, Path(result[\"repository\"])) for result in scan_results]\n\n    if os.getenv(\"PYCHARM_HOSTED\") == \"1\":\n        # PYCHARM_HOSTED env variable equals 1 when running via Pycharm.\n        # it avoids us from crashing, which happens when using multiprocessing via Pycharm's debug-mode\n        logging.warning(\"reporting the results in sequence for avoiding crashing when running via Pycharm\")\n        exit_codes = []\n        for curr_arg in args:\n            exit_codes.append(await package_scanning_int.report_results_async(*curr_arg))\n    else:\n        async with Pool() as pool:\n            exit_codes = await pool.starmap(package_scanning_int.report_results_async, args)\n\n    return exit_codes",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/bridgecrewio/checkov/blob/286946086f105c8edee1d9968823671da17b7242/checkov/common/bridgecrew/vulnerability_scanning/report.py#L18-L37",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F242"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=aiomultiprocess%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F228"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import asyncio\nfrom aiomultiprocess import Worker\n\nasync def identity(value):\n    return value\n\nasync def main():\n    return await Worker(target=identity, args=(1,))\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://aiomultiprocess.omnilib.dev/en/latest/guide.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "guide.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F233"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "eventlet",
          "name": [
            {
              "t": "fact",
              "fact": "F245"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/eventlet/eventlet"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/eventlet"
            },
            {
              "label": "Docs",
              "href": "https://eventlet.readthedocs.io/en/latest/basic_usage.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F252"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F248"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://eventlet.readthedocs.io/en/latest/basic_usage.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F245"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F260"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F261"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/openstack/swift",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F260"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def spawn_n(self, *args, **kwargs):\n    super(RestrictedGreenPool, self).spawn_n(*args, **kwargs)\n    if self._rgp_do_wait:\n        self.waitall()",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/openstack/swift/blob/d33a7c0348075357a8878334a6be0bba6baffa50/swift/common/wsgi.py#L234-L237",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F259"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=eventlet%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F245"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import eventlet\n\njob = eventlet.spawn(eventlet.sleep, 0)\njob.wait()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://eventlet.readthedocs.io/en/latest/basic_usage.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "basic_usage.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F250"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python async library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#anyio",
          "label": [
            {
              "t": "text",
              "text": "AnyIO"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits libraries that must run on both asyncio and Trio. "
        },
        {
          "t": "link",
          "href": "#uvloop",
          "label": [
            {
              "t": "text",
              "text": "uvloop"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits asyncio servers that want a faster event loop. "
        },
        {
          "t": "link",
          "href": "#gevent",
          "label": [
            {
              "t": "text",
              "text": "gevent"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits older synchronous code that needs concurrency without async syntax."
        }
      ]
    },
    {
      "q": "What is asyncio?",
      "a": [
        {
          "t": "text",
          "text": "asyncio is the standard library framework for async and await code in Python. It provides the event loop, tasks, and streams that "
        },
        {
          "t": "link",
          "href": "#anyio",
          "label": [
            {
              "t": "text",
              "text": "AnyIO"
            }
          ]
        },
        {
          "t": "text",
          "text": " and "
        },
        {
          "t": "link",
          "href": "#uvloop",
          "label": [
            {
              "t": "text",
              "text": "uvloop"
            }
          ]
        },
        {
          "t": "text",
          "text": " build on."
        }
      ]
    },
    {
      "q": "What is AnyIO?",
      "a": [
        {
          "t": "link",
          "href": "#anyio",
          "label": [
            {
              "t": "text",
              "text": "AnyIO"
            }
          ]
        },
        {
          "t": "text",
          "text": " provides structured concurrency and async I/O APIs that run on top of asyncio or Trio. Its task groups cancel sibling tasks together when one task fails."
        }
      ]
    },
    {
      "q": "What is uvloop?",
      "a": [
        {
          "t": "link",
          "href": "#uvloop",
          "label": [
            {
              "t": "text",
              "text": "uvloop"
            }
          ]
        },
        {
          "t": "text",
          "text": " replaces the default asyncio event loop with one built on libuv. Servers install it with a single call at startup."
        }
      ]
    },
    {
      "q": "What is gevent?",
      "a": [
        {
          "t": "link",
          "href": "#gevent",
          "label": [
            {
              "t": "text",
              "text": "gevent"
            }
          ]
        },
        {
          "t": "text",
          "text": " runs cooperative networking on greenlets behind a synchronous-style API. Monkey-patching makes standard library sockets yield to other greenlets."
        }
      ]
    },
    {
      "q": "Asyncio vs threading: what is the difference?",
      "a": [
        {
          "t": "text",
          "text": "asyncio runs coroutines on one thread and switches tasks only at each await. Threading runs functions on operating system threads that the scheduler can switch at any point."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, anyio",
      "display": "AnyIO",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, anyio",
      "display": "1.0B",
      "asOf": "2026-11-16"
    },
    "F3": {
      "label": "License, anyio",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, anyio",
      "display": "4.16.0, Nov 2026",
      "asOf": "2026-11-01"
    },
    "F5": {
      "label": "Package release date, anyio",
      "display": "Nov 2026",
      "asOf": "2026-11-01"
    },
    "F6": {
      "label": "Repository stars, anyio",
      "display": "2.6K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Native async/await, anyio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Structured task groups, anyio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Cancellation scopes, anyio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "TCP networking, anyio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, anyio",
      "display": "pip install anyio",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, anyio",
      "display": "Provides structured concurrency and asynchronous I/O APIs over asyncio or Trio.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, anyio",
      "display": "Supports asyncio and Trio backends",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, anyio",
      "display": "Use the same AnyIO APIs on asyncio or Trio.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, anyio",
      "display": "Contains child-task lifetimes",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, anyio",
      "display": "Task-group exit waits for children; an error cancels the remaining tasks.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, anyio",
      "display": "Native dependencies constrain the backend",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, anyio",
      "display": "Use asyncio-native dependencies only with the asyncio backend.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, anyio",
      "display": "Cancelled scopes keep raising cancellation",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, anyio",
      "display": "Shield asynchronous cleanup when it must run inside a cancelled scope.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, anyio",
      "display": "from anyio import create_task_group, run, sleep\n\nasync def sometask(num: int) -> None:\n    print(\"Task\", num, \"running\")\n    await sleep(1)\n    print(\"Task\", num, \"finished\")\n\nasync def main() -> None:\n    async with create_task_group() as tg:\n        for num in range(5):\n            tg.start_soon(sometask, num)\n\n    print(\"All tasks finished!\")\n\nrun(main)\n\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function, anyio",
      "display": "async def connect_tcp(\n    self,\n    host: str,\n    port: int,\n    timeout: float | None = None,\n    local_address: str | None = None,\n    socket_options: typing.Iterable[SOCKET_OPTION] | None = None,\n) -> AsyncNetworkStream:  # pragma: nocover\n    if socket_options is None:\n        socket_options = []\n    exc_map = {\n        TimeoutError: ConnectTimeout,\n        OSError: ConnectError,\n        anyio.BrokenResourceError: ConnectError,\n    }\n    with map_exceptions(exc_map):\n        with anyio.fail_after(timeout):\n            stream: anyio.abc.ByteStream = await anyio.connect_tcp(\n                remote_host=host,\n                remote_port=port,\n                local_host=local_address,\n            )\n            # By default TCP sockets opened in `asyncio` include TCP_NODELAY.\n            for option in socket_options:\n                stream._raw_socket.setsockopt(*option)  # type: ignore[attr-defined] # pragma: no cover\n    return AnyIOStream(stream)\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function reference, anyio",
      "display": "anyio.py · connect_tcp()",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project repository, anyio",
      "display": "encode/httpcore",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project stars, encode/httpcore",
      "display": "551",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project push date, encode/httpcore",
      "display": "Jan 2026",
      "asOf": "2026-01-08"
    },
    "F27": {
      "label": "Library name, trio",
      "display": "Trio",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Monthly downloads, trio",
      "display": "41.1M",
      "asOf": "2026-11-16"
    },
    "F29": {
      "label": "License, trio",
      "display": "MIT OR Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Package release, trio",
      "display": "0.35.0, Oct 2026",
      "asOf": "2026-10-31"
    },
    "F31": {
      "label": "Package release date, trio",
      "display": "Oct 2026",
      "asOf": "2026-10-31"
    },
    "F32": {
      "label": "Repository stars, trio",
      "display": "7.4K",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Native async/await, trio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Structured task groups, trio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Cancellation scopes, trio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "TCP networking, trio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Install, trio",
      "display": "pip install trio",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "What it does, trio",
      "display": "Provides native async/await I/O with nurseries and cancellation scopes.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, trio",
      "display": "Nurseries contain child-task lifetimes",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, trio",
      "display": "Nursery exit waits for every child task to finish.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths lead, trio",
      "display": "Groups deadlines and cancellation",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths, trio",
      "display": "Use cancel scopes to apply deadlines or cancellation to enclosed operations.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, trio",
      "display": "Cancellation waits for checkpoints",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, trio",
      "display": "Add checkpoints to CPU-bound loops that must respond to cancellation.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "Quickstart, trio",
      "display": "# tasks-intro.py\n\nimport trio\n\n\nasync def child1():\n    print(\"  child1: started! sleeping now...\")\n    await trio.sleep(1)\n    print(\"  child1: exiting!\")\n\n\nasync def child2():\n    print(\"  child2: started! sleeping now...\")\n    await trio.sleep(1)\n    print(\"  child2: exiting!\")\n\n\nasync def parent():\n    print(\"parent: started!\")\n    async with trio.open_nursery() as nursery:\n        print(\"parent: spawning child1...\")\n        nursery.start_soon(child1)\n\n        print(\"parent: spawning child2...\")\n        nursery.start_soon(child2)\n\n        print(\"parent: waiting for children to finish...\")\n        # -- we exit the nursery block here --\n    print(\"parent: all done!\")\n\n\ntrio.run(parent)\n",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Project function, trio",
      "display": "async def connect_tcp(\n    self,\n    host: str,\n    port: int,\n    timeout: float | None = None,\n    local_address: str | None = None,\n    socket_options: typing.Iterable[SOCKET_OPTION] | None = None,\n) -> AsyncNetworkStream:\n    # By default for TCP sockets, trio enables TCP_NODELAY.\n    # https://trio.readthedocs.io/en/stable/reference-io.html#trio.SocketStream\n    if socket_options is None:\n        socket_options = []  # pragma: no cover\n    timeout_or_inf = float(\"inf\") if timeout is None else timeout\n    exc_map: ExceptionMapping = {\n        trio.TooSlowError: ConnectTimeout,\n        trio.BrokenResourceError: ConnectError,\n        OSError: ConnectError,\n    }\n    with map_exceptions(exc_map):\n        with trio.fail_after(timeout_or_inf):\n            stream: trio.abc.Stream = await trio.open_tcp_stream(\n                host=host, port=port, local_address=local_address\n            )\n            for option in socket_options:\n                stream.setsockopt(*option)  # type: ignore[attr-defined] # pragma: no cover\n    return TrioStream(stream)\n",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project function reference, trio",
      "display": "trio.py · connect_tcp()",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project repository, trio",
      "display": "encode/httpcore",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project stars, encode/httpcore",
      "display": "551",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project push date, encode/httpcore",
      "display": "Jan 2026",
      "asOf": "2026-01-08"
    },
    "F51": {
      "label": "Library name, gevent",
      "display": "gevent",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Monthly downloads, gevent",
      "display": "27.6M",
      "asOf": "2026-11-16"
    },
    "F53": {
      "label": "License, gevent",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Package release, gevent",
      "display": "26.9.0, Sep 2026",
      "asOf": "2026-09-16"
    },
    "F55": {
      "label": "Package release date, gevent",
      "display": "Sep 2026",
      "asOf": "2026-09-16"
    },
    "F56": {
      "label": "Repository stars, gevent",
      "display": "6.4K",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "TCP networking, gevent",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Install, gevent",
      "display": "pip install gevent",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "What it does, gevent",
      "display": "Runs cooperative networking through greenlets and a synchronous-style API.",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "strengths lead, gevent",
      "display": "Runs blocking-style cooperative network code",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "strengths, gevent",
      "display": "Use synchronous-style networking APIs while greenlets yield during cooperative I/O.",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "strengths lead, gevent",
      "display": "Limits concurrent work with pools",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "strengths, gevent",
      "display": "Use Pool to limit how many greenlets run at once.",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "limitations lead, gevent",
      "display": "Cooperation requires yielding control",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "limitations, gevent",
      "display": "Yield during CPU-heavy work and use cooperative I/O functions.",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "limitations lead, gevent",
      "display": "Monkey-patching must happen early",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "limitations, gevent",
      "display": "Patch before imports capture the original blocking implementations.",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "Quickstart, gevent",
      "display": "import gevent\nfrom gevent import socket\nurls = ['www.google.com', 'www.example.com', 'www.python.org']\njobs = [gevent.spawn(socket.gethostbyname, url) for url in urls]\n_ = gevent.joinall(jobs, timeout=2)\n[job.value for job in jobs]\n",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "Project function, gevent",
      "display": "def map(requests, stream=False, size=None, exception_handler=None, gtimeout=None):\n    \"\"\"Concurrently converts a list of Requests to Responses.\n\n    :param requests: a collection of Request objects.\n    :param stream: If True, the content will not be downloaded immediately.\n    :param size: Specifies the number of requests to make at a time. If None, no throttling occurs.\n    :param exception_handler: Callback function, called when exception occured. Params: Request, Exception\n    :param gtimeout: Gevent joinall timeout in seconds. (Note: unrelated to requests timeout)\n    \"\"\"\n\n    requests = list(requests)\n\n    pool = Pool(size) if size else None\n    jobs = [send(r, pool, stream=stream) for r in requests]\n    gevent.joinall(jobs, timeout=gtimeout)\n\n    ret = []\n\n    for request in requests:\n        if request.response is not None:\n            ret.append(request.response)\n        elif exception_handler and hasattr(request, 'exception'):\n            ret.append(exception_handler(request, request.exception))\n        elif exception_handler and not hasattr(request, 'exception'):\n            ret.append(exception_handler(request, None))\n        else:\n            ret.append(None)\n\n    return ret\n",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "Project function reference, gevent",
      "display": "grequests.py · map()",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Project repository, gevent",
      "display": "spyoungtech/grequests",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Project stars, spyoungtech/grequests",
      "display": "4.6K",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project push date, spyoungtech/grequests",
      "display": "Aug 2024",
      "asOf": "2024-08-08"
    },
    "F74": {
      "label": "Library name, asyncio",
      "display": "asyncio",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Monthly downloads, asyncio",
      "display": "Standard library",
      "asOf": "2026-11-16"
    },
    "F76": {
      "label": "License, asyncio",
      "display": "PSF License Version 2",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Package release, asyncio",
      "display": "With Python",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Undated package release, asyncio",
      "display": "With Python",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Repository context, asyncio",
      "display": "Part of Python",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Native async/await, asyncio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Structured task groups, asyncio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "TCP networking, asyncio",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Install, asyncio",
      "display": "python -c \"import asyncio\"",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "What it does, asyncio",
      "display": "Provides Python’s bundled async/await framework for concurrent tasks and asynchronous I/O.",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "strengths lead, asyncio",
      "display": "Ships with Python",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "strengths, asyncio",
      "display": "Use the standard-library concurrency framework without installing another package.",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths lead, asyncio",
      "display": "Contains child tasks in groups",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths, asyncio",
      "display": "Wait for every child task when its TaskGroup exits.",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "limitations lead, asyncio",
      "display": "Blocking I/O stops the loop",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "limitations, asyncio",
      "display": "Offload blocking I/O with to_thread instead of calling it directly.",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations lead, asyncio",
      "display": "Task groups rely on cancellation",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "limitations, asyncio",
      "display": "Propagate CancelledError after cleanup when using task groups or timeouts.",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "Quickstart, asyncio",
      "display": "import asyncio\n\nasync def nested():\n    return 42\n\nasync def main():\n    # Schedule nested() to run soon concurrently\n    # with \"main()\".\n    task = asyncio.create_task(nested())\n\n    # \"task\" can now be used to cancel \"nested()\", or\n    # can simply be awaited to wait until it is complete:\n    await task\n\nasyncio.run(main())\n\n",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Project function, asyncio",
      "display": "async def startup(self) -> None:\n    self.logger.info(\"Waiting for application startup.\")\n\n    loop = asyncio.get_event_loop()\n    main_lifespan_task = loop.create_task(self.main())  # noqa: F841\n    # Keep a hard reference to prevent garbage collection\n    # See https://github.com/Kludex/uvicorn/pull/972\n    startup_event: LifespanStartupEvent = {\"type\": \"lifespan.startup\"}\n    await self.receive_queue.put(startup_event)\n    await self.startup_event.wait()\n\n    if self.startup_failed or (self.error_occurred and self.config.lifespan == \"on\"):\n        self.logger.error(\"Application startup failed. Exiting.\")\n        self.should_exit = True\n    else:\n        self.logger.info(\"Application startup complete.\")\n",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Project function reference, asyncio",
      "display": "on.py · startup()",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Project repository, asyncio",
      "display": "Kludex/uvicorn",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Project stars, Kludex/uvicorn",
      "display": "11.1K",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Project push date, Kludex/uvicorn",
      "display": "Nov 2026",
      "asOf": "2026-11-01"
    },
    "F99": {
      "label": "Developer need",
      "display": "Bundled async/await applications",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Why choose asyncio",
      "display": "Python’s standard-library concurrency framework",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Developer need in introduction",
      "display": "bundled async/await applications",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "When to consider anyio",
      "display": "one API should support asyncio and Trio backends",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need",
      "display": "Portable structured concurrency",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Why choose anyio",
      "display": "the same AnyIO APIs on asyncio or Trio",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need in introduction",
      "display": "portable structured concurrency",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "When to consider trio",
      "display": "a native Trio nursery model is preferred",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need",
      "display": "Bounded native async task lifetimes",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Why choose trio",
      "display": "nurseries that wait for child tasks",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Developer need in introduction",
      "display": "bounded native async task lifetimes",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need",
      "display": "Cooperative synchronous-style networking",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Why choose gevent",
      "display": "greenlets yielding during network I/O",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Developer need in introduction",
      "display": "cooperative synchronous-style networking",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "When to consider anyio",
      "display": "structured async task lifetimes fit a new implementation",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "Page introduction",
      "display": "Python async libraries let developers coordinate asynchronous I/O and concurrent tasks.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Which Python async library should I choose?",
      "display": "asyncio is Python’s standard-library async/await framework.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Which Python async library should I choose?",
      "display": "AnyIO runs on asyncio or Trio.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Which Python async library should I choose?",
      "display": "Trio nurseries wait for their children to exit.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Which Python async library should I choose?",
      "display": "gevent provides synchronous-style networking through greenlets.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Does asyncio need a PyPI installation?",
      "display": "asyncio belongs to the Python standard library, which is distributed with Python.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Does calling an async function immediately schedule it?",
      "display": "Calling an asyncio coroutine only creates a coroutine object; await it or schedule it as a task.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Can blocking I/O run directly inside an asyncio coroutine?",
      "display": "Direct blocking calls stop the event loop for their duration; to_thread runs blocking I/O in another thread.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Why does cancellation need to propagate after cleanup?",
      "display": "TaskGroup and timeout use cancellation internally and can misbehave when CancelledError is swallowed.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Does AnyIO make every dependency portable across backends?",
      "display": "Native async libraries must match the backend being run.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: How does AnyIO cancellation differ from an asyncio task cancel?",
      "display": "AnyIO uses level cancellation: a cancelled scope raises cancellation again at yield points.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: How can asynchronous cleanup finish inside an AnyIO cancelled scope?",
      "display": "Open a cancel scope with shield enabled for cleanup that must await.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Should an AnyIO fail_after scope be cancelled directly?",
      "display": "Avoid directly cancelling fail_after scopes; a delayed exit can otherwise raise an erroneous TimeoutError.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: When does Trio respond to cancellation?",
      "display": "Trio checks for cancellation at checkpoints.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: When does Trio respond to cancellation?",
      "display": "Use an explicit checkpoint when CPU-bound code does not naturally reach enough of them.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: How can gevent limit concurrent greenlets?",
      "display": "Pool size limits the number of active greenlets.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "FAQ: When should gevent monkey-patching happen?",
      "display": "Patch early in the main thread while the program is single-threaded.",
      "asOf": "2026-11-17"
    },
    "F131": {
      "label": "FAQ: When should gevent monkey-patching happen?",
      "display": "Late patching can leave some modules using blocking sockets.",
      "asOf": "2026-11-17"
    },
    "F132": {
      "label": "Library name, anyio",
      "display": "AnyIO",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Monthly downloads, anyio",
      "display": "1.1B",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "License, anyio",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Package release, anyio",
      "display": "4.16.0",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Package release date, anyio",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Install, anyio",
      "display": "python -m pip install anyio==4.16.0",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Quickstart, anyio",
      "display": "import anyio\n\nasync def main():\n    await anyio.sleep(0)\n\nanyio.run(main)\n",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Scoped task nurseries, anyio",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Greenlet task scheduling, anyio",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Managed process workers, anyio",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Runtime and integration model, anyio",
      "display": "Backend-neutral asyncio/Trio APIs with lexical task groups, cancellation scopes, networking, and managed Python process workers.",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Project function, anyio",
      "display": "async def start_tls(\n    self,\n    ssl_context: ssl.SSLContext,\n    server_hostname: str | None = None,\n    timeout: float | None = None,\n) -> AsyncNetworkStream:\n    exc_map = {\n        TimeoutError: ConnectTimeout,\n        anyio.BrokenResourceError: ConnectError,\n        anyio.EndOfStream: ConnectError,\n        ssl.SSLError: ConnectError,\n    }\n    with map_exceptions(exc_map):\n        try:\n            with anyio.fail_after(timeout):\n                ssl_stream = await anyio.streams.tls.TLSStream.wrap(\n                    self._stream,\n                    ssl_context=ssl_context,\n                    hostname=server_hostname,\n                    standard_compatible=False,\n                    server_side=False,\n                )\n        except Exception as exc:  # pragma: nocover\n            await self.aclose()\n            raise exc\n    return AnyIOStream(ssl_stream)",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Project source file, anyio",
      "display": "httpcore/_backends/anyio.py",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Project full_name, anyio",
      "display": "encode/httpcore",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Project stargazers_count, anyio",
      "display": "551",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Library name, uvloop",
      "display": "uvloop",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Monthly downloads, uvloop",
      "display": "296.6M",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "License, uvloop",
      "display": "MIT OR Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Package release, uvloop",
      "display": "0.23.0",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Package release date, uvloop",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Install, uvloop",
      "display": "python -m pip install uvloop==0.23.0",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Quickstart, uvloop",
      "display": "import asyncio\nimport uvloop\n\nasync def main():\n    await asyncio.sleep(0)\n\nuvloop.run(main())\n",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Official description, uvloop",
      "display": "Replaces the asyncio event loop with one built on libuv.",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Quickstart source file, uvloop",
      "display": "README.rst",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Scoped task nurseries, uvloop",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Greenlet task scheduling, uvloop",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Managed process workers, uvloop",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Runtime and integration model, uvloop",
      "display": "libuv-based asyncio event-loop implementation. Keeps asyncio coroutine/application APIs; structured groups and user-supplied executors belong to the asyncio host API.",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Project function, uvloop",
      "display": "def _run_server_loop(main: Coroutine[Any, Any, None]) -> None:\n    \"\"\"Run ``main`` on a new event loop, using uvloop when available.\n\n    - uvloop provides ``new_event_loop``: run on ``asyncio.Runner`` so we\n      avoid the deprecated event-loop policy APIs.\n    - uvloop is missing or too old: call ``uvloop.install()`` when it exists,\n      then ``asyncio.run()``.\n    - Creating the uvloop loop fails: skip ``install()`` and use the stdlib\n      loop.\n    \"\"\"\n    loop_factory = _get_uvloop_loop_factory()\n    if loop_factory is None:\n        _try_install_uvloop()\n    else:\n        try:\n            # Create the loop before Runner.run so a factory failure can\n            # fall back without wrapping the server coroutine itself.\n            loop = loop_factory()\n        except Exception:\n            # Don't call install() here: that would retry the same uvloop\n            # implementation that just failed to create a loop.\n            _LOGGER.warning(\n                \"Failed to create uvloop event loop. Falling back to default loop.\",\n                exc_info=True,\n            )\n        else:\n            _LOGGER.debug(\"Starting new uvloop event loop for server\")\n            with asyncio.Runner(loop_factory=lambda: loop) as runner:\n                runner.run(main)\n            return\n\n    _LOGGER.debug(\"Starting new event loop for server\")\n    asyncio.run(main)",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Project source file, uvloop",
      "display": "lib/streamlit/web/bootstrap.py",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Project full_name, uvloop",
      "display": "streamlit/streamlit",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Project stargazers_count, uvloop",
      "display": "46.4K",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Library name, tornado",
      "display": "Tornado",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Monthly downloads, tornado",
      "display": "123.2M",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "License, tornado",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Package release, tornado",
      "display": "6.6.1",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Package release date, tornado",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Install, tornado",
      "display": "python -m pip install tornado==6.6.1",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Quickstart, tornado",
      "display": "from tornado.ioloop import IOLoop\nfrom tornado import gen\n\nasync def main():\n    await gen.sleep(0)\n\nIOLoop.current().run_sync(main)\n",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Official description, tornado",
      "display": "Provides a web framework and asynchronous networking library.",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Quickstart source file, tornado",
      "display": "guide/coroutines.html",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Scoped task nurseries, tornado",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Greenlet task scheduling, tornado",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Managed process workers, tornado",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Runtime and integration model, tornado",
      "display": "Async web/networking framework with an asyncio-backed IOLoop, Futures, and coroutine support; existing Tornado handlers/protocols can share that loop.",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Project function, tornado",
      "display": "def send_ping(self):\n    \"\"\"send a ping to keep the websocket alive\"\"\"\n    if self.ws_connection is None and self.ping_callback is not None:\n        self.ping_callback.stop()\n        return\n\n    if self.ws_connection.client_terminated:\n        self.close()\n        return\n\n    # check for timeout on pong.  Make sure that we really have sent a recent ping in\n    # case the machine with both server and client has been suspended since the last ping.\n    now = ioloop.IOLoop.current().time()\n    since_last_pong = 1e3 * (now - self.last_pong)\n    since_last_ping = 1e3 * (now - self.last_ping)\n    if since_last_ping < 2 * self.ping_interval and since_last_pong > self.ping_timeout:\n        self.log.warning(\"WebSocket ping timeout after %i ms.\", since_last_pong)\n        self.close()\n        return\n\n    self.ping(b\"\")\n    self.last_ping = now\n",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Project source file, tornado",
      "display": "jupyter_server/base/websocket.py",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Project full_name, tornado",
      "display": "jupyter-server/jupyter_server",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Project stargazers_count, tornado",
      "display": "573",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Library name, trio",
      "display": "Trio",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Monthly downloads, trio",
      "display": "42.5M",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "License, trio",
      "display": "MIT OR Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Package release, trio",
      "display": "0.35.0",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Package release date, trio",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Install, trio",
      "display": "python -m pip install trio==0.35.0",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Quickstart, trio",
      "display": "import trio\n\nasync def main():\n    await trio.sleep(0)\n\ntrio.run(main)\n",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Scoped task nurseries, trio",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Greenlet task scheduling, trio",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Managed process workers, trio",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Runtime and integration model, trio",
      "display": "Native structured-concurrency runtime with nursery lifetimes and cancellation scopes; it is a different runtime from asyncio.",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Project function, trio",
      "display": "async def start_tls(\n    self,\n    ssl_context: ssl.SSLContext,\n    server_hostname: str | None = None,\n    timeout: float | None = None,\n) -> AsyncNetworkStream:\n    timeout_or_inf = float(\"inf\") if timeout is None else timeout\n    exc_map: ExceptionMapping = {\n        trio.TooSlowError: ConnectTimeout,\n        trio.BrokenResourceError: ConnectError,\n    }\n    ssl_stream = trio.SSLStream(\n        self._stream,\n        ssl_context=ssl_context,\n        server_hostname=server_hostname,\n        https_compatible=True,\n        server_side=False,\n    )\n    with map_exceptions(exc_map):\n        try:\n            with trio.fail_after(timeout_or_inf):\n                await ssl_stream.do_handshake()\n        except Exception as exc:  # pragma: nocover\n            await self.aclose()\n            raise exc\n    return TrioStream(ssl_stream)",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Project source file, trio",
      "display": "httpcore/_backends/trio.py",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Project full_name, trio",
      "display": "encode/httpcore",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Project stargazers_count, trio",
      "display": "551",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Library name, gevent",
      "display": "gevent",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Monthly downloads, gevent",
      "display": "29.1M",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "License, gevent",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Package release, gevent",
      "display": "26.9.0",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Package release date, gevent",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Install, gevent",
      "display": "python -m pip install gevent==26.9.0",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Quickstart, gevent",
      "display": "import gevent\n\njob = gevent.spawn(gevent.sleep, 0)\njob.join()\n",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Scoped task nurseries, gevent",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Greenlet task scheduling, gevent",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Managed process workers, gevent",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Runtime and integration model, gevent",
      "display": "Cooperative greenlet scheduling for synchronous-style application code, with native pools and joining. Compatibility of blocking I/O is a separate host setup concern.",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Project function, gevent",
      "display": "def map(requests, stream=False, size=None, exception_handler=None, gtimeout=None):\n    \"\"\"Concurrently converts a list of Requests to Responses.\n\n    :param requests: a collection of Request objects.\n    :param stream: If True, the content will not be downloaded immediately.\n    :param size: Specifies the number of requests to make at a time. If None, no throttling occurs.\n    :param exception_handler: Callback function, called when exception occured. Params: Request, Exception\n    :param gtimeout: Gevent joinall timeout in seconds. (Note: unrelated to requests timeout)\n    \"\"\"\n\n    requests = list(requests)\n\n    pool = Pool(size) if size else None\n    jobs = [send(r, pool, stream=stream) for r in requests]\n    gevent.joinall(jobs, timeout=gtimeout)\n\n    ret = []\n\n    for request in requests:\n        if request.response is not None:\n            ret.append(request.response)\n        elif exception_handler and hasattr(request, 'exception'):\n            ret.append(exception_handler(request, request.exception))\n        elif exception_handler and not hasattr(request, 'exception'):\n            ret.append(exception_handler(request, None))\n        else:\n            ret.append(None)\n\n    return ret",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Project source file, gevent",
      "display": "grequests.py",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Project full_name, gevent",
      "display": "spyoungtech/grequests",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Project stargazers_count, gevent",
      "display": "4.6K",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Library name, twisted",
      "display": "Twisted",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Monthly downloads, twisted",
      "display": "15.4M",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "License, twisted",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Package release, twisted",
      "display": "26.10.0",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Package release date, twisted",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Install, twisted",
      "display": "python -m pip install twisted==26.10.0",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Quickstart, twisted",
      "display": "from twisted.internet.task import react\nfrom twisted.internet.defer import succeed\n\nreact(lambda reactor: succeed(None))\n",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Official description, twisted",
      "display": "Provides an asynchronous networking framework.",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Quickstart source file, twisted",
      "display": "twisted.internet.task.html",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Scoped task nurseries, twisted",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Greenlet task scheduling, twisted",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Managed process workers, twisted",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Runtime and integration model, twisted",
      "display": "Event-driven networking and protocol framework with Deferred callbacks, cooperative scheduling, and coroutine interoperability; retains its reactor lifecycle.",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Project function, twisted",
      "display": "def start(self) -> None:\n    if self._running >= self._count:\n        return\n    self._running += 1\n    self._coop.coiterate(self._work).addBoth(self._task_done)",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Project source file, twisted",
      "display": "scrapy/utils/defer.py",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Project full_name, twisted",
      "display": "scrapy/scrapy",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Project stargazers_count, twisted",
      "display": "65.5K",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Library name, aiomultiprocess",
      "display": "aiomultiprocess",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Monthly downloads, aiomultiprocess",
      "display": "5.1M",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "License, aiomultiprocess",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Package release, aiomultiprocess",
      "display": "0.9.1",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Package release date, aiomultiprocess",
      "display": "Apr 2024",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Install, aiomultiprocess",
      "display": "python -m pip install aiomultiprocess==0.9.1",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Quickstart, aiomultiprocess",
      "display": "import asyncio\nfrom aiomultiprocess import Worker\n\nasync def identity(value):\n    return value\n\nasync def main():\n    return await Worker(target=identity, args=(1,))\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Official description, aiomultiprocess",
      "display": "Provides an asyncio version of the standard multiprocessing module.",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Quickstart source file, aiomultiprocess",
      "display": "guide.html",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Scoped task nurseries, aiomultiprocess",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Greenlet task scheduling, aiomultiprocess",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Managed process workers, aiomultiprocess",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Runtime and integration model, aiomultiprocess",
      "display": "Runs async coroutine jobs across managed child processes, with per-process asyncio loops. Spawn/import/pickling constraints and process overhead apply.",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Project function, aiomultiprocess",
      "display": "async def _report_results_to_bridgecrew_async(\n    scan_results: Iterable[dict[str, Any]],\n    bc_integration: BcPlatformIntegration,\n    bc_api_key: str,\n) -> Sequence[int]:\n    package_scanning_int = PackageScanningIntegration()\n    args = [(result, bc_integration, bc_api_key, Path(result[\"repository\"])) for result in scan_results]\n\n    if os.getenv(\"PYCHARM_HOSTED\") == \"1\":\n        # PYCHARM_HOSTED env variable equals 1 when running via Pycharm.\n        # it avoids us from crashing, which happens when using multiprocessing via Pycharm's debug-mode\n        logging.warning(\"reporting the results in sequence for avoiding crashing when running via Pycharm\")\n        exit_codes = []\n        for curr_arg in args:\n            exit_codes.append(await package_scanning_int.report_results_async(*curr_arg))\n    else:\n        async with Pool() as pool:\n            exit_codes = await pool.starmap(package_scanning_int.report_results_async, args)\n\n    return exit_codes",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Project source file, aiomultiprocess",
      "display": "checkov/common/bridgecrew/vulnerability_scanning/report.py",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Project full_name, aiomultiprocess",
      "display": "bridgecrewio/checkov",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Project stargazers_count, aiomultiprocess",
      "display": "9.2K",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Library name, eventlet",
      "display": "Eventlet",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Monthly downloads, eventlet",
      "display": "2.1M",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "License, eventlet",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Package release, eventlet",
      "display": "0.41.3",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Package release date, eventlet",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Install, eventlet",
      "display": "python -m pip install eventlet==0.41.3",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Quickstart, eventlet",
      "display": "import eventlet\n\njob = eventlet.spawn(eventlet.sleep, 0)\njob.wait()\n",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Official description, eventlet",
      "display": "Provides a concurrent networking library.",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Quickstart source file, eventlet",
      "display": "basic_usage.html",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Scoped task nurseries, eventlet",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Greenlet task scheduling, eventlet",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Managed process workers, eventlet",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Runtime and integration model, eventlet",
      "display": "Existing cooperative-greenlet application support and migration to asyncio. Its publisher heavily discourages new applications and limits maintenance to stability, bug fixes, and migration.",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "Project function, eventlet",
      "display": "def spawn_n(self, *args, **kwargs):\n    super(RestrictedGreenPool, self).spawn_n(*args, **kwargs)\n    if self._rgp_do_wait:\n        self.waitall()",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Project source file, eventlet",
      "display": "swift/common/wsgi.py",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Project full_name, eventlet",
      "display": "openstack/swift",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Project stargazers_count, eventlet",
      "display": "2.8K",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best Python async libraries asyncio AnyIO Trio gevent code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
